Warning: this page refers to an old version of SFML. Click here to switch to the latest version.
Tutorials for SFML 2.6
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
Window module
- Opening and managing an SFML window
- Events explained
- Keyboard, mouse and joysticks
- Using OpenGL in a SFML window
Graphics module
- Drawing 2D stuff
- Sprites and textures
- Text and fonts
- Shapes
- Designing your own entities with vertex arrays
- Position, rotation, scale: transforming entities
- Adding special effects with shaders
- Controlling the 2D camera with views