SDL Tutorials
There are a number of SDL tutorials available from different sources.
Contents
- Multi-Subject
-
Video
- OpenGL
- Haptic
- Input
- Threads
- SDL 1.2
Multi-Subject
SDLTutorials.com
- Wow! A whole website about SDL tutorials, including SDL basics, events, animation, entities, maps and other topics
Video
Streaming textures with SDL 2.0
- A quick guide to streaming textures.
Using GLSL with SDL
- A tutorial on enabling and using GLSL extensions with SDL.
Check out hg.libsdl.org/SDL/file/default/test/testshader.c also.
OpenGL
OpenGL 3 Samples Pack
- Using SDL 2.0 beta with OpenGL 3
OpenGL 3.2 and SDL
- Creating a Cross Platform OpenGL 3.2 Context in SDL
OpenGL ES for iPhone : A Simple Tutorial
- A brief introduction to OpenGL ES
Haptic
The SDL 2.0 Haptic Interface
- Covers the basics of how to create and playback simple force feedback effects with SDL.
Input
Text Input
- Using SDL for text inputs with specific consideration for international users.
Threads
Condition variables in SDL
- A good discussion of condition variables, in computer science rather than gaming context. Some mention of mutex and semaphore use.
SDL 1.2
SDL 1.2 Tutorials