Glusoft

SDL3 Tutorials

SDL3 (aka Simple DirectMedia Layer 3) is the latest major version (released January 2025 as v3.2.0) of the open-source, cross-platform multimedia development library SDL—succeeding SDL 2—and is designed for building games, emulators, multimedia apps, and more.

What’s new in SDL3?

Here are the key improvements introduced in SDL3:

Here you can find a collection of SDL3 tutorials ranging from beginning to expert level. SDL3 is nice, because it’s multiplatforms, and it can use DirectX or OpenGL, I mainly use it on Windows and Mac, but you also have an installation tutorial on linux. I tried to focus on original content you usually don’t found elsewhere. Most of my tutorial are code heavy, I tried to used an example to have something working at the end of the tutorial.

I will try to explain the new things in SDL3 compared to SDL2, what possible and what not.

Introduction and Setup

Input Handling

Rendering

Basic Rendering

Advanced Rendering

SDL3_gpu API

3D with OpenGL

2D Physics

Network

Audio and Media

System Integration