DirextX in C#

I can’t remember why I thought I’d try my hand at DirectX programming, but this weekend I tried giving it a shot. I used the managed code version of DirectX 9 in C#. There’s a nice tutorial that I used to get a feel for DirectX, and just followed along (making a few changes here and there).

When I started, I thought that I might be able to make a basic game by the end of the day. Well, maybe if I had a really basic game idea I could, but I can’t think of anything that would be simple enough. I basically know how to draw triangles into the world (you make 3D surfaces by connecting lots of triangles), positions a camera, and move the two around. I’d think that to build any kind of real 3D game, I’d have to spend some serious time building up a nice set of libraries. I need some way to easily define 3D objects, add textures to them. I’d also want to have some sort of physics system, and code to detect collisions.

The few hours I spent working with 3D programming have given me a lot more respect for 3D game designers, especially the people that build the game engine itself. From now on, I’ll limit myself to modding existing games. Lame, right? Sorry to disappoint you, but there are too many other things I’d rather be doing with my time.

Leave a Reply