SDL Wiki

SDL Tutorials

The best place to find simple SDL3 tutorials at the moment is examples.libsdl.org, which offers small programs that each demonstrate one feature of the library. Most of the examples are 100-300 lines of C code. There are also simple-but-complete games and apps in the demo section, which are slightly larger (closer to 500 lines of C code), but more comprehensive.

The examples website runs each program directly in the web browser, and has a popup tab to show their source code, with all symbols linked to their wiki pages for easy research.

And, of course, all of the examples are included in SDL's source tree, in the "examples" directory, for you to tinker with and explore.

We cleaned this page out for SDL3, so if you come across good content on the Internet, please click the [edit] link at the bottom of the page and add it!

Videos


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.