DirectX and 2D Games?
I was just about to start writing some DirectDraw 2D games when DX8 was released. To my surprise though, the new version had no DD, as we all know. What I''m now wondering, should I use DD to make my games, or learn this new Direct3D texture method? I am eager to begin coding but I am puzzled as to what method I should use to start making simple games. Any help?
I suggest DirectDraw7. It''s a little less abstract, and what you learn tends to be handy when you step up to DX8/OGL/Bob''s 3D API.
It is actually very easy to do 2D graphics in DX8. You just need some good functions to call. If you want things like lighting, you have to use a view matrix, and that complicated things. I used to have an example coded without the matrixes to do 2D, but I think I lost it. But if you want to see 2D with a matrix, so you can do effects, check out my engine at www.ews.uiuc.edu/~jrbennet/ The only thing is, it is written in VB. The DX calls are almost exactly the same, so if you want to see how you would use Direct Graphics for 2D, go check.
I actually found it to be easy to do 2D in Direct Graphics, but thats only my opinion.
dragon_claw@usa.net
I actually found it to be easy to do 2D in Direct Graphics, but thats only my opinion.
dragon_claw@usa.net
Thanks for all the replies guys. Well, at this point I am still undecided. The replies are split between DX7 and DX8. Well, anyone want to post a tiebreaker?
Im still using DirectX 6
Well actually I just installed DX8 and am going to start some D3D programming.
---------------
Ratfest.org
Well actually I just installed DX8 and am going to start some D3D programming.
---------------
Ratfest.org
Both? That''s what I do, use DD for drawing tiles and sprites, and D3D for effects (lighting, fading, etc.). If you''re not concerned with doing anything too fancy, I''d just stick with DirectDraw.
"We are the music makers, and we are the dreamers of the dreams."
- Willy Wonka
"We are the music makers, and we are the dreamers of the dreams."
- Willy Wonka
if you already know c++ or c (learn c++ it helps) learn windows programming if you havent, then learn dx7. buy windows game programming guru to learn how to make little 2d games and get info on subjects such as ai, paralax scrolling, and other interesting things. dx8 i havent tried but ive heard screwy things about usind ddraw with it. good luck
quote from tryforfulluse(me<>): if you dont like programming dont program
quote from tryforfulluse(me<>): if you dont like programming dont program
I guess I''ll stick to DX7 DD for the time being, until I can get my grubby little fingers into 3D. BTW, does anyone know where I can find the DX7 SDK? I have the DX8 SDK, and that just won''t do.
Thanks for all the help!
Thanks for all the help!
the dx8 sdk has the dx7 (and all the others) libraries with it.
"We are the music makers, and we are the dreamers of the dreams."
- Willy Wonka
"We are the music makers, and we are the dreamers of the dreams."
- Willy Wonka
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement