SDL Tutorials
There are a number of SDL tutorials available from different sources.
Multi-Subject
- Tutorials covering a wide variety of introductory topics with SDL 2.0
- A whole website about SDL tutorials, including SDL basics, events, animation, entities, maps and other topics
Migrating a C++ game from SDL 1.2 to SDL 2.0
- An example of a project upgrade from SDL 1.2 to SDL 2.0
Beginning Game Programming v2.0
- A collection of detailed tutorials for game programming using SDL 2.0 with C++
Setup
https://www.youtube.com/watch?v=wWGtuc5uqF4
- A video tutorial showing how to setup SDL 2.0 with codeblocks mingw32 compiler
https://www.youtube.com/watch?v=UwpZOwT9nVc
A video tutorial showing how to setup SDL 2.0 with codeblocks mingw32 compiler with OpenGL 3.0+ & compiling GLEW libraries
Android
http://www.dinomage.com/2013/01/howto-sdl-on-android/
- An example of setting up SDL on Android
Building an Android application using the SDL
- An example of building an Android application using the SDL
Video
Streaming textures with SDL 2.0
- A quick guide to streaming textures
- A tutorial on enabling and using GLSL extensions with SDL
Check out http://hg.libsdl.org/SDL/file/default/test/testshader.c also
OpenGL
- Using SDL 2.0 beta with OpenGL 3
- Using SDL 1.3 alpha with OpenGL 3.2 Context
OpenGL ES for iPhone : A Simple Tutorial
- A brief introduction to OpenGL ES
Haptic
The SDL 2.0 Haptic Interface (Archive)
- Covers the basics of how to create and playback simple force feedback effects with SDL
Input
- Using SDL for text inputs with specific consideration for international users
Threads
- A good discussion of condition variables (in computer science rather than gaming context), some mention of mutex and semaphore use