SDL2 Shooter 2 tutorial
SDL2 Widget tutorial
SDL2 Adventure tutorial
Orb source code
SDL1 Game Tutorials
Note: These tutorials are for SDL1 and as a result are pretty out of date. It is strongly recommended that you use the SDL2 tutorials found here.
The aim of these tutorials is to show budding programmers how they can turn their creative desires into fully fledged games. The tutorials found here will cover a variety of topics and run through basics, intermediate, advanced, and theory based topics. If you have suggestions for other topics, please leave them in the form below.
The basic series of tutorials will start with a simple introduction to SDL and show you some of the most important features of the API, such as opening windows, loading and displaying images, playing sound effects, and handling input. It will conclude by showing you how to put together a simple game.
1.01 - Opening a window
This series will demonstrate how to create a basic platform game, along with a map editor. It will show how to load data files, perform simple tasks like completing in objective before one can exit the level and introduce some basic enemies.