Learn SFML

Learn how to use the Simple and Fast Multimedia Library (SFML)

Code Repository

Get Started

Introduction

Start here

Graphics Window

Learn about the SFML Render Window

OpenGL Window

Learn about the SFML Window

SFML Modules

Understand the SFML Modules

Books : SFML Game Development

A great book to learn SFML

Game Loop

Learn how to create a Game Loop

Engine and Scene

Create a simple Engine and Scene Classes

SFML Events & Inputs

Events and Global Inputs

Learn how SFML handle inputs

Window Events

Learn how to handle window events

Keyboard Events

Learn how to handle keyboard events

Mouse Events

Learn how to handle mouse events

Joystick Events

Learn how to handle Joystick events

Global Inputs

Keyboard, Mouse and Joystick

Engine Improved : Inputs Callbacks and More

Simplify inputs handling in our Game Scene

Game : Moving Circle

Let's create a moving circle

SFML Graphics Basics

Simple Shapes

Learn how to create and draw simple shapes

Sprite and Texture

Learn how to use beautiful Images

Text and Font

Learn how to create and draw texts

Transformation

Learn how to move, rotate and scale objects

View and Camera

Learn how to move the camera

Improving our Engine: The Camera Class

Simplify inputs handling in our Game Scene

Improving our Engine: Resource Loader

Simplify how we load game resources

SFML Sounds & Music

Play Sounds

Learn how to load and play sounds

Play Music

Learn how to load and play music

3D Sounds & Music

Learn how to position your sounds and music in 3D

Record Audio

Learn how to record your voice

SFML Graphics Advanced

Vertex Array

Learn how to create you own shapes

Multiple View/Camera

Learn how to create split screens and mini maps

Render on Texture

Learn how to render on a texture

Simple Shader

Learn how to use shaders

The Book of Shaders

Great resource to learn shaders

MultiPass Shader

Learn how to apply multiple shaders at once

Build an Aircraft Game

— Coming Soon —

SFML Libraries

— Coming Soon —

What's Next ?