Hey everyone, I was hoping you all could help me.
I've been trying to find a good book to teach game programming, specifically 2D games. I've been looking through books and the closest one I found was Beginning Game Programming by Jonathan Harbour. The only thing about this book is I haven't had a source code compile without some kind of error. Even copy and paste doesn't take the errors out, and they are such complicated errors that it's beyond what I can do right now.
All the other books seem to focus on 3D gaming. I'm hoping you guys have some good resources on learning 2D game programming. I have a basic understanding of C++, but i'm no expert. If anyone can point me in the direction of a good book or two for 2D game programming, that would be greatly appreciated! I think I might continue reading Game Coding Complete, but I think that also is mostly 3D.
Need help finding books
Even copy and paste doesn't take the errors out, and they are such complicated errors that it's beyond what I can do right now.
Then game programming is likely beyond what you can do right now. It's important to get a good foundation in programming before specializing towards games.
It's not that it's like, syntax error. Well, it is. But not standard C++. It's usually Windows programming errors, and DirectX errors, as the book uses DIrectX as well. I think it usually has to do with being outdated. I believe he uses VS2005 in the book, and i'm using 2010. And he uses DirectX 9 but I had downloaded DirectX 10. I know how to solve most problems in code, but those errors were just too deep, going into Windows.h and other header files.
My guess is you were not correctly referring to the correct include directories. VS2005/DX9->VS2010/DX10 is not really an overwhelming transition.
That aside, my general intro Graphics Book suggestion is Computer Graphics: Principles and Practice in C, though you might find it too advanced depending on your level of math knowledge. Game development "books" that are not relatively specific domains are generally .. not really worth buying, because they would either be HUGE 1000000 page books to cover everything you need to know OR they glaze over all sorts of important subjects.
That aside, my general intro Graphics Book suggestion is Computer Graphics: Principles and Practice in C, though you might find it too advanced depending on your level of math knowledge. Game development "books" that are not relatively specific domains are generally .. not really worth buying, because they would either be HUGE 1000000 page books to cover everything you need to know OR they glaze over all sorts of important subjects.
I found Game Programming All In One, i'm giving that a shot now. Other than that, what resources are worth using to learn game programming? I'll probably look for tutorials on whatever library i use, which will probably be DirectX. Any resources that can teach me some game programming and/or DirectX tutorials would be awesome
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement