Jump to content
  • Advertisement
Sign in to follow this  
Hauk

Where to go from here: Console to 2D

This topic is 4773 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

Hey all, I just finished 'Beginning C++ Game Programming' (thought it was great), but now i want to move on to making 2D games with OpenGL or DirectX (preferable DX), so i was looking for recommendations for a book that would be a good follow-up to take me through the process of making a 2D game, and also teaching me the concepts involved. Thanks for the help! Hauk

Share this post


Link to post
Share on other sites
Advertisement
I would definitely second Teach Yourself Game Programming with DirectX. It's a very clear book that gently introduces you to doing 2D with DX.

Share this post


Link to post
Share on other sites
Quote:
Original post by aaroncox1234
I would definitely second Teach Yourself Game Programming with DirectX. It's a very clear book that gently introduces you to doing 2D with DX.

This is true, but I think it uses an outdated version of DX. If you want to stay up to date, get Beginning Game Programming by John S. Harbour (it's made by Course PTR). It uses DX 9.0b, and it even teaches some 3D stuff, but the version of Dev-Cpp it comes with is incompatible with DX, go figure, make sure you get the latest version here, or just get MSVC like the book tells you to :).

Share this post


Link to post
Share on other sites
Don't be afraid to learn using an old version of DirectX. Especially if you want to start off with 2D stuff. What you're looking to learn is programming concepts and not just a particular API. While it's nice to learn an API the reality is that the API will continue to change so you'll always be relearning parts. The concepts on the other hand should stay fairly static.

Also keep in mind in the casual game space, where a lot of 2D game still live, the lower you can go on the system requirements side the more customers you can target. So if you can get your game running with DX7 on an old Pentium 2 then you're laughing.

Share this post


Link to post
Share on other sites
Quote:
Original post by Stompy9999
If you want to do 2D with DirectX, I second what programwizard said. However, if your interested in something easier, you can also check out SDL or Allegro.

I would also suggest using SDL or Allegro for the start. It takes away some of the bad things but still teaches something about graphics. You can make very cool stuff (at least 2D) with it and afterwards you can use your gained wisdom when switching to OpenGL or DirectX. It is not completely different so it's not wasted time to learn it. It just takes away 90% of the frustration if you don't know much at the beginning. It's like crawling in childhood (console), then you get a bike with stabilizer wheels (SDL/Allegro) and then you ride a bike without help (OpenGL/DirectX). Riding the bike with the support wheels still teaches you a lot but prevents you from falling on your head too often which prevents you from putting the bike into a corner and never use it again because it hurt you more than it brought you :P

Share this post


Link to post
Share on other sites
Hmm, okay, I'll have a look at some of that stuff, and report back here. That Beginning Game Programming sounds like what i'm looking for! I'll definitley check out the rest.

Thanks guys!

Hauk

Share this post


Link to post
Share on other sites
I´m in the same position of Hauk.

I was thinkink about doing my tetris clone. So should I start with one of the books recommended above and develop the game with DirectX, SDL or Allegro?

Cheers

Share this post


Link to post
Share on other sites
I would just google for allegro and some tutorials related. It has great doc's as well. I started on it and I believe its a great introduction to using libraries in general and is plenty capable to make some great 2d games in. It even supports opengl through some addons if you get to that point later on.

SDL is equally suited and should certainly be looked at, you may like its style better. Either way just google for SDL or Allegro, or if you use dev-cpp just use the packge manager and get both. Then look up some tutorials Im sure there are very many.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!