Tutorials for SFML 2.6
These are the tutorials for SFML 2.6. Check out the latest tutorials.
If you're new to SFML, start with the getting started tutorial for your platform, then work through the window and graphics tutorials in order. Each module first lists the tutorials you'll need for most projects, followed by the ones that go further. Tutorials and sections that cover more complex topics are marked as advanced, so you can decide whether to read them now or come back later.
Getting started
- SFML with the CMake Project Template
- SFML and Visual Studio
- SFML and Code::Blocks (MinGW)
- SFML and Linux
- SFML and Xcode (macOS)
- Compiling SFML with CMake
System module
Going further:
Window module
Going further:
Graphics module
- Drawing 2D stuff
- Sprites and textures
- Shapes
- Text and fonts
- Position, rotation, scale: transforming entities
- Controlling the 2D camera with views
Going further:
Audio module
Going further: