• The courses above are up to 95% off - by clicking on ad above.

Game development tutorials & projects

  • 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 […]

  • 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 […]

  • 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 […]

  • c_plus_plus_game_coding_introductory_tutorial

C++ Game Coding Level 1

This course is for you if you are completely new to programming or the C++ language. This tutorial course will explain all you need to know to code C++ games as quickly as is realistic. This course will also be […]

  • c_plus_plus_variables_in_game_coding_tutorial

Game variables in C++

Whenever we code a PC game, we need to ‘know’ what the situation in the game is at any given point in time. As an example, things like the player’s score, how many people connected to the game lobbies, […]

  • c_plus_plus_manipulating_variables_in_game_coding_tutorial

Manipulating the value of our game’s variables

Having just learned what C++ game variables are and that they store values that represent the objects in our games it is probably obvious that these values held by our variables will need to change […]

  • c_plus_plus_condition_checking_tutorial

C++ condition checking in a game

Condition checking in games is all about making decisions. How do we know the player has run out of lives? How do we detect the ball has reached the edge of the screen […]

  • c_plus_plus_branching_tutorial

Structuring and branching the code

We have seen in the last tutorial how we can detect certain conditions in our C++ code. For example when the player loses a life, destroys an alien or gets a new fastest time. We […]

  • c_plus_plus_loops_in_game_code_tutorial

Loops in the game code

Loops might sound a bit odd at first? They are a way of executing parts of our C++ code more than once, looping over code until we have the result we want or a test is done. This can […]

  • c_plus_plus_functions_tutorial

Organizing C++ game code with functions

Functions are a really vital part of C++. They serve a number of, well, functions. They allow us to make our code more readable and manageable by splitting it up into parts, called functions. They […]

  • c_plus_plus_oop_and_classes_tutorial

Introduction to OOP for C++ games

Object Oriented Programming OOP, is how most programming is done these days. While it is possible to code a game without using it and many games in the past were, even the most simple game […]

  • c_plus_plus_arrays_tutorial

Handling game data with C++ arrays

C++ arrays do exactly what their name implies. They allow us to handle whole arrays of data in one simple structure. Certainly, there is quite a bit to learn about arrays but actually they are […]

  • c_plus_plus_references_tutorial

Using C++ references to make code faster

When we pass values to a function or return values from a function that is exactly what we are doing. Passing or returning a value. What happens is that a copy of the variable’s value […]

  • c_plus_plus_pointers_tutorial

Controlling game memory with C++ pointers

Pointers have a bad reputation. They can appear complicated or convoluted. Add to this, the way pointers can be used in C++ code has evolved in recent years. I believe the best way to understand […]

  • sfml_hello_world

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 […]

  • setup-visual-studio-with-sfml

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 […]

Load More Posts