Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Daddy_Walrus

DirectX and 2D Games?

This topic is 6374 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!