Wiki Page Content

Differences between revisions 11 and 47 (spanning 36 versions)
Revision 11 as of 2010-06-22 04:51:09
Size: 3388
Editor: SheenaSmith
Comment: add tutorial link
Revision 47 as of 2020-12-27 21:00:31
Size: 4038
Editor: Sam Lantinga
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
== SDL 1.3 ==
[list 1.3 tutorials here]
== Multi-Subject ==
Line 9: Line 8:
== SDL 1.2 ==
Line 11: Line 9:
  . Wow! A whole website about SDL tutorials, including SDL basics, events, animation, entities, maps and other topics   . A whole website about SDL tutorials, including SDL basics, events, animation, entities, maps and other topics
Line 13: Line 11:
 * [[http://www.brighthub.com/hubfolio/matthew-casperson/blog/archive/2009/07/02/sdl-competition-here-i-come.aspx|Matthew Casperson's SDL Tutorials]]
  . SDL tutorials on a variety of topics for shoot 'em up games
 * [[https://www.parallelrealities.co.uk/tutorials/|SDL2 Game Tutorials]]
  . Tutorials on building 3 complete games using SDL 2.0
Line 16: Line 14:
 * [[http://gpwiki.org/index.php/Category:All_SDL_articles|The Game Programming Wiki: SDL Tutorials]]
  . A large number of SDL tutorials covering a variety of different topics
 * [[https://www.reddit.com/r/learnprogramming/comments/2ebfn1/copenglsdl_game_engine_tutorials_for_an_absolute/|C++/OpenGL/SDL Game Engine Tutorials]]
  . SDL game engine tutorials for absolute beginners, written by the lead developer of [[https://www.seedofandromeda.com/|Seed of Andromeda]]
Line 19: Line 17:
 * [[http://lazyfoo.net/SDL_tutorials/index.php|Beginning Game Programming]]
  . Tutorials (currently 36!) are written using C++ as the programming language and SDL as the API.
 * [[https://www.youtube.com/playlist?list=PLHJE4y54mpC5_eEz9gCqIkNpU-n_2eyNt|SDL Made Easy]]
  . A collection of video tutorials on various SDL topics
Line 22: Line 20:
 * [[http://www.gamedev.net/reference/articles/article2249.asp|Direct3D 9.0 with SDL]]
  . Using SDL with Direct3D for graphics
 * [[http://lazyfoo.net/tutorials/SDL/index.php|Beginning Game Programming v2.0]]
  . A collection of detailed tutorials for game programming using SDL 2.0 with C++
Line 25: Line 23:
 * [[http://www.meandmark.com/sdlopenglpart1.html|SDL and OpenGL]]
  . Using SDL and OpenGL on Mac OS X
 * [[http://twinklebear.github.io/pages/sdl2/|TwinklebearDev]]
  . Tutorials covering a wide variety of introductory topics with SDL 2.0
Line 28: Line 26:
 * [[http://lazyfoo.net/SDL_tutorials/index.php|Beginning Game Programming]]
  . A series of tutorials on game concepts geared for SDL developers
 * [[https://www.youtube.com/watch?v=ETvApbD5xRo&list=PLNOBk_id22bw6LXhrGfhVwqQIa-M2MsLa|Remaking Cavestory in C++]]
  . Video tutorial series on recreating Cave Story using SDL
Line 31: Line 29:
 * [[http://osdl.sourceforge.net/main/documentation/rendering/SDL-audio.html|SDL Corner - Audio with SDL]]
  . Lots of advanced information on using SDL's audio support
 * [[https://web.archive.org/web/20180117074719/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]] (Archived)
  . An example of a project upgrade from SDL 1.2 to SDL 2.0
Line 34: Line 32:
 * [[http://osdl.sourceforge.net/main/documentation/rendering/SDL-openGL.html|SDL Corner - Using OpenGL with SDL]]
  . Lots of advanced information on using SDL with OpenGL
== Setup ==
 * [[https://www.youtube.com/watch?v=wWGtuc5uqF4]]
  . A video tutorial showing how to setup SDL 2.0 with codeblocks mingw32 compiler
Line 37: Line 36:
 * [[http://sol.gfxile.net/gp/|Sol's Graphics for Beginners]]
  . Setting up SDL with Visual C++ 6.0, basic graphics programming
 * [[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
Line 40: Line 39:
 * [[http://pgdc.purdue.org/sdltutorial/sdl_setup.html|SDL Setup Guide 1.1]]
  . Setting up an SDL project with Visual Studio .NET
== Android ==
Line 43: Line 41:
 * [[http://de.wikibooks.org/wiki/SDL|Tutorial / Einsteigerkurs in das Programmieren mit der SDL in C]]
  . The basics of using various features of SDL, in German
 * [[http://www.dinomage.com/2013/01/howto-sdl-on-android/]]
  . An example of setting up SDL on Android
Line 46: Line 44:
 * [[http://pygame.org/docs/tut/MoveIt.html|Help! How Do I Move An Image?]]
  . Using Pygame to move images around in a simple game
 * [[https://web.archive.org/web/20180127022200/http://blog.stuff-o-matic.com/post/2013/10/20/ASGP-s-Android-Port-Part-IV%3A-building-the-APK|Building an Android application using the SDL]] (Archived)
  . An example of building an Android application using the SDL
Line 49: Line 47:
 * [[http://www.pro-linux.de/work/sdl/|SDL - Grundlagen und Grafik]]
  . A German tutorial on SDL basics and graphics
== Video ==
Line 52: Line 49:
 * [[http://dungeonmaker.sourceforge.net/manual/tutorial1_1.html|How I Rendered the Dungeons on SDL]]
  . Exploring the code used to render 2D mazes in DungeonMaker
 * [[http://slouken.blogspot.com/2011/02/streaming-textures-with-sdl-13.html|Streaming textures with SDL 2.0]]
  . A quick guide to streaming textures
Line 55: Line 52:
 * [[http://cone3d.gamedev.net/cgi-bin/index.pl?page=tutorials/ogladv/index|OpenGL Tutorials (by Marius)]]
  . Setting up SDL and OpenGL, Quake 2 models, OpenGL graphics topics
 * [[http://rainwarrior.ca/dragon/sdl_glsl.html|Using GLSL with SDL]]
  . A tutorial on enabling and using GLSL extensions with SDL
  . Check out http://hg.libsdl.org/SDL/file/default/test/testshader.c also
Line 58: Line 56:
 * [[http://cone3d.gamedev.net/cgi-bin/index.pl?page=tutorials/gfxsdl/index|GFX with SDL (by Marius)]]
  . A very nice set of tutorials covering using SDL with Dev-C++, 2D graphics and sound
=== OpenGL ===
 * [[http://www.g-truc.net/post-0204.html|OpenGL 3 Samples Pack]]
  . Using SDL 2.0 beta with OpenGL 3
Line 61: Line 60:
 * [[http://kekkai.org/roger/sdl/|Roger's SDL Tutorials]]
  . SDL_mixer, SDL_RWops
 * [[http://www.opengl.org/wiki/Tutorial1:_Creating_a_Cross_Platform_OpenGL_3.2_Context_in_SDL_(C_/_SDL)|OpenGL 3.2 and SDL]]
  . Using SDL 1.3 alpha with OpenGL 3.2 Context
Line 64: Line 63:
 * [[http://ansuz.sooke.bc.ca/software/sdl-condvars.php|Condition variables in SDL]]
  . A good discussion of condition variables, in computer science rather than gaming context. Some mention of mutex and semaphore use.
 * [[http://iphonesdkdev.blogspot.com/2009/04/opengl-es-for-iphone-simple-tutorial.html|OpenGL ES for iPhone : A Simple Tutorial]]
  . A brief introduction to OpenGL ES
Line 67: Line 66:
 * [[http://braindeadclown.com/GLUT_SDL_VS08.html|SDL in Visual Studio 2008]]
  . A very basic guide for setting up SDL for OpenGL development in Visual Studio 2008
== Haptic ==

 * [[https://web.archive.org/web/20130728040700/http://bobbens.dyndns.org/journal/2010/sdl_haptic]] (Archived)
  . Covers the basics of how to create and playback simple force feedback effects with SDL

== Input ==

 * [[Tutorials/TextInput|Text Input]]
  . Using SDL for text inputs with specific consideration for international users

== Threads ==

 * [[https://web.archive.org/web/20180625073639/http://ansuz.sooke.bc.ca/software/sdl-condvars.php|Condition variables in SDL]] (Archived)
  . A good discussion of condition variables (in computer science rather than gaming context), some mention of mutex and semaphore use

== libSDL2pp ==

 * [[https://github.com/libSDL2pp/libSDL2pp-tutorial]]
  . Tutorial for libSDL2pp, C++11 bindings/wrapper for SDL2

SDL Tutorials

There are a number of SDL tutorials available from different sources.

Multi-Subject

Setup

Android

Video

OpenGL

Haptic

Input

  • Text Input

    • Using SDL for text inputs with specific consideration for international users

Threads

  • Condition variables in SDL (Archived)

    • A good discussion of condition variables (in computer science rather than gaming context), some mention of mutex and semaphore use

libSDL2pp

None: Tutorials (last edited 2020-12-27 21:00:31 by Sam Lantinga)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit