• The courses above are up to 95% off - only $19 using voucher code UDEMARCH. Limited time offer.

SFML Projects

The SFML library is designed for developing 2d games (and other media) using the C++ programming language. If you want to develop games where you have full control over coding your game engine but don't want to have to re-write your own fundamentals, like Sprites, viewports, multiplayer, spatialized sound, and more, SFML could be for you. If you have the ambition to develop 2D games for any of the desktop platforms, perhaps for Steam, try these beginner SFML game projects.
If you are totally new to game development, then use these beginner C++ tutorials in conjunction with these projects.
  • simple-c-plus-plus-game-engine-tutorial

Building a simple game engine in C++

In this tutorial project, we will build a fully working and functional but simple C++ game engine. All that the game engine will do is allow the player to control one object moving left and right on a background, however, once you have completed the project you will be able […]

  • simple_pong_game_made_with_sfml

Coding a simple Pong game with SFML

In this first playable game project we will build a very simple Pong clone. If you don’t know what Pong is then you are much younger than me and you should take a look at its appearance and history before continuing. We will use everything we learnt about C++ Functions […]

  • sfml_moving_bouncing_shapes_demo

Conditions and branching demo: Bouncing shapes

In this mini-project we will get to use C++ condition checking with some statements. Like the last project we will draw some shapes (slightly different this time) and move them. This time however instead of letting them disappear off of the screen we will detect when they are leaving […]

  • sfml_variables_demo

Game variables demo: moving circles

In this mini-project we will get to experiment with how we can use C++ variables in our games. We will play around with some  variables and see how they can be used with the SFML class to put circles on the screen. We will then see how we can […]