|
Size: 3114
Comment: Added link to lazyfoo.net (requested in Feedback 2014-02-13, 2014-06-21 and 2014-09-24).
|
Size: 3118
Comment: Changed SDL 2 to SDL 2.0.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 14: | Line 14: |
| * [[http://blog.stuff-o-matic.com/post/2013/09/15/ASGP-s-Android-Port-Part-II%3A-from-SDL-1.2-to-SDL-2.|Migrating a C++ game from SDL 1.2 to SDL 2]] . An example of a project upgrade from SDL 1.2 to SDL 2 |
* [[http://blog.stuff-o-matic.com/post/2013/09/15/ASGP-s-Android-Port-Part-II%3A-from-SDL-1.2-to-SDL-2.|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 |
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
- 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 (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
