SFML game coding projects for beginners.
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 to use the example game […]
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 and OOP to create a […]
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 the screen on any of […]
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 use what we learnt in […]
Building your first SFML game project
Now that we have a working development environment we can go ahead and configure a project and write some code that actually does something. For the sake of actually seeing SFML in action we will write some code but we will not learn about each and every line of it. Rather we will improve our […]
Setting up Visual Studio and SFML development environment
This is the very first project on the road to building games for desktop operating systems like Windows, Linux and Mac. In these really simple steps we will walk through the process of installing the software applications that we need to start to learn to code for these desktop OS’s.
Getting started
Before we can practice […]