SDL2 Versus game tutorial

Wed, 20th March 2024

SDL2 has, for some time now, supported the rendering of triangles, as well as quads, using its geometry API. However, there are a distinct lack of in-depth information showing how to use this API, in respect to making games. So, it's therefore time for a new game tutorial.

This game not only makes use of SDL's geometry API, but also demonstrates how to make a two player split screen game, where each player can configure their controls to their liking. The game sees each player controlling a spaceship, where the goal is to either score more points than their opponent, or eliminate them altogether by stripping them of their lives!

This tutorial contains 18 parts and can be found on the tutorials page, or by following the link below:

SDL2 Versus tutorial

This tutorial set is part of the SDL2 tutorials bundle, so you will need to purchase that in order to get access to the code. Those who already bought the tutorial set will be able to download this update at no extra cost.

Binary downloads (for x86 Linux and Windows) for the game itself can also be found on itch.io at the following page:

SDL2 Versus on itch.io

Related News

Download keys for SDL2 tutorials on itch.io
Sat, 16th March 2024

The Legend of Edgar 1.37
Mon, 1st January 2024

SDL2 Santa game tutorial 🎅
Thu, 23rd November 2023

SDL2 Shooter 3 tutorial
Wed, 15th February 2023

The Legend of Edgar 1.36
Sun, 1st January 2023

Desktop site