Home

Awesome

SFML-book

The code of the book I wrote "Sfml Blueprints" available here : https://www.packtpub.com/game-development/sfml-blueprints

Videos

chapter 3 : https://youtu.be/EpZT4FGFGu0

chapter 7 : https://www.youtube.com/watch?v=urs6nvBl6G8

chapter 8 : https://youtu.be/n8G1FpdjY1g

Requirements

Tested on

Installation

    git clone https://github.com/Krozark/SFML-book.git
    cd path/to/SFML-Book
    mkdir build
    cd build
    cmake-gui ..

Chapter 1: SFML Bases

<img src="https://raw.githubusercontent.com/Krozark/SFML-book/master/screen/Chapter1.png" alt="Chapter 1" height="250px">

Chapter 2: Create a player and game loop

<img src="https://raw.githubusercontent.com/Krozark/SFML-book/master/screen/Chapter2.png" alt="Chapter 2" height="250px">

Chapter 3: Create two games : Asteroid and Teris clone

<img src="https://raw.githubusercontent.com/Krozark/SFML-book/master/screen/Chapter3a.png" alt="Chapter 3" height="350px"> <img src="https://raw.githubusercontent.com/Krozark/SFML-book/master/screen/Chapter3b.png" alt="Chapter 3" height="350px">

Chapter 4: Play with physics

<img src="https://raw.githubusercontent.com/Krozark/SFML-book/master/screen/Chapter4.png" alt="Chapter 4" height="450px">

Chapter 5: Add a GUI

<img src="https://raw.githubusercontent.com/Krozark/SFML-book/master/screen/Chapter5a.png" alt="Chapter 5" height="250px"> <img src="https://raw.githubusercontent.com/Krozark/SFML-book/master/screen/Chapter5b.png" alt="Chapter 5" height="250px">

Chapter 6: Multithreading

no graphical changes

Chapter 7: Create a Hybrid RTS/tower defence from sratch

<img src="https://raw.githubusercontent.com/Krozark/SFML-book/master/screen/Chapter7.png" alt="Chapter 7" height="450px">

Chapter 8: Play with networking, and turn to a multiplayer our game

<img src="https://raw.githubusercontent.com/Krozark/SFML-book/master/screen/Chapter8a.png" alt="Chapter 8" height="350px"> <img src="https://raw.githubusercontent.com/Krozark/SFML-book/master/screen/Chapter8b-min.png" alt="Chapter 8" height="450px">