2D Game Programming Tutorials
These tutorials cover various topics of 2D game programming. They are broken into related sections, which are meant to be as independent of each other as possible. If you're looking for information that's in a later section, you don't need to read all of the previous sections first. Please feel free to scan through these tutorials and only read the ones that interest you. If a section requires previous knowledge, I'll assume that you've either read my previous tutorials or that you've gotten the information elsewhere.
Note that all of these tutorials use C++. Before reading them you should have read at least one C++ book and have completed a few text-based games. You should also know your IDE fairly well. In the SDL section, I'll show you how to set up Visual Studio .NET 2003 to use SDL. Otherwise, I assume that you have already completed at least a few projects on your own and that you know how to do simple things in your choosen IDE.
Section 1: Game Programming With SDL
Setting up Visual Studio .NET 2003 to use SDL (also available in pdf)
Displaying a Window with SDL (also available in pdf)
Drawing Sprites with SDL (also available in pdf)
Drawing Text with SDL (also available in pdf)
Drawing Shapes with SDL (also available in pdf)
Handling Keyboard Input with SDL (also available in pdf)
Getting the Time with SDL (also available in pdf)
Putting SDL Calls into Classes