Deprecation Notice:I've been updating the lessons now that SDL2 is officially released, please visit my new site on Github that has updated lessons and improved code.
Welcome!The goal of the following tutorials is to provide you with an introduction to SDL 2.0 and game design topics and concepts in C++. It is assumed throughout the tutorials that you have a reasonable amount of knowledge in C++ with an understanding of at a minimum arrays, vectors, control structures, functions and pointers.
If you find yourself having trouble understanding the code throughout the tutorials feel free to comment on the tutorial or grab one of the books from this excellent list on StackOverflow.
If you want to see the full source or download the assets for the tutorials you may download them from Github. But never copy!
The SDL 2.0 documentation is also available for reading on the online wiki.
Tutorial Index:Lesson 0: Setting up SDL
Lesson 1: Hello World!
Lesson 2: Don't Put Everything in Main
Lesson 3: SDL Extension Libraries
Lesson 4: Event Driven Programming
Lesson 5: Clipping Sprite Sheets
Lesson 6: True Type Fonts with SDL_ttf
Lesson 7: Taking Advantage of Classes
Lesson 8: Timers
I've been tied up with classes lately but hopefully I can get some time and put up some more "soon" heh.