C++ 2D Game Programming Reference Material

I'm looking to purchase a C++ book that extensively covers the 2D side of things when it comes to game programming (don't want to get into the 3d side of things just yet as it may be overwhelming).

I'm more than comfortable with the fundamentals of C++ and would like to begin working on advanced stuff so if anyone knows of any references for this type of material then please, post away. I'm looking to purchase a book (or two, if necessary) to get started (online references are fine, but I prefer reference material I can read at or away from my workspace).

Edit: Before I stick my foot in my mouth, if there's another language that is better suited for the role of 2d game programming, then let me know ^^
Last edited on
C++ is an excellent language for game programming.
What do you know?
If you want to make a game, you must know these things:
Inheritence and Polymorphism,
Rule of Three,
Function pointers and Callback functions,
The Standard Template Libraries and how to use them properly,
Cache
Last edited on
http://programmedlessons.org/VectorLessons/index.html This is a 3D vector math tutorial but you could use the knowledge just as much in 2D games. I think this is a great tutorial. It gives more understanding of a coordinate system and works good as a introduction to game physics.

You will need to know vectors (in most cases) for making a nice looking game. Then i would suggest using SDL library which later can be used with OpenGL.

Thecplusplusguy on youtube was my reference book for the graphics. He is keeping everything on a low level and is not doing unecessary advanced stuff when its not needed and hes doing some errors and bad code and he often shows how he find the errors and the bad code and how he fix them, what i mean is: He is not doing perfect all the time like other tutorials, and you learn more by seeing some common errors i think.
C++ is an excellent language for game programming.
What do you know?
If you want to make a game, you must know these things:
Inheritence and Polymorphism,
Rule of Three,
Function pointers and Callback functions,
The Standard Template Libraries and how to use them properly,
Cache


Somewhat familiar with all of those things except callback functions (haven't heard of that). I don't necessarily want to make a 2d game at this point in the learning process, but I'd like to be able to eventually.

http://programmedlessons.org/VectorLessons/index.html This is a 3D vector math tutorial but you could use the knowledge just as much in 2D games. I think this is a great tutorial. It gives more understanding of a coordinate system and works good as a introduction to game physics.

You will need to know vectors (in most cases) for making a nice looking game. Then i would suggest using SDL library which later can be used with OpenGL.

Thecplusplusguy on youtube was my reference book for the graphics. He is keeping everything on a low level and is not doing unecessary advanced stuff when its not needed and hes doing some errors and bad code and he often shows how he find the errors and the bad code and how he fix them, what i mean is: He is not doing perfect all the time like other tutorials, and you learn more by seeing some common errors i think.


I'll check that out, thanks.
Topic archived. No new replies allowed.