Skip to content

Clever-Boy/SFML-book

 
 

Repository files navigation

SFML-book

The code for the SFML book I write : "Sfml Blueprints" 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

Installation

  • Clone this repo
    git clone https://github.com/Krozark/SFML-book.git
  • Once it's done, use Cmake to build the project.
    cd path/to/SFML-Book
    mkdir build
    cd build
    cmake-gui ..
  • You will need to set the variable
  • GLEW_INCLUDE_DIR to path/to/SFML/extlibs/headers
  • GLEW_LIBRARY to path/to/SFML/extlibs/libs-[compiler]/x[32/64]/libglew32.a depending on your system
  • press "configure" and "generate"
  • your file is now generated in the path/to/SFML-Book/build/ directory. You can use it to build the entire book projects.
  • notice that for windows user, you will have to copy the dll of the externals libraries to your system path
  • the libraries are located into the path/to/SFML-Book/lib/ directory

Chapter 1: SFML Bases

Chapter 1

Chapter 2: Create a player and game loop

Chapter 2

Chapter 3: Create two games : Asteroid and Teris clone

Chapter 3

Chapter 3

Chapter 4: Play with physics

Chapter 4

Chapter 5: Add a GUI

Chapter 5

Chapter 5

Chapter 6: Multithreading

no graphical changes

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

Chapter 7

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

Chapter 8

Chapter 8

About

SFML Blueprint book, source code

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 57.7%
  • C++ 35.9%
  • Objective-C 3.9%
  • Smarty 1.5%
  • CMake 1.0%
  • Yacc 0.0%