SDL2 turn-based strategy tutorial

Thu, 14th April 2022

A new game tutorial using SDL2 is available! This one teaches the reader how to create a simple turn-based strategy game. In the game, the player will be charged with commanding a trio of wizards, as they set out to clear a small maze of a bunch of pesky ghosts.

This tutorial is made up of 24 parts, and guides the reader through controlling their units, handling the AI's turn, map generation, and more. It can be found on the tutorials page, or by following the link below:

SDL2 Strategy tutorial

The tutorial source code is also available to purchase from itch.io, from the following page:

SDL2 Strategy tutorial on itch.io

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

SDL2 Strategy on itch.io

Note: the source code for this tutorial is using cmake for its build system. This is to try and keep the build platform agnostic. The plan is to update all the tutorials to use cmake, unless this causes a major headache for readers (the intension is to actually make things easier..!)

Related News

SDL2 Versus game tutorial
Wed, 20th March 2024

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

SDL2 Santa game tutorial 🎅
Thu, 23rd November 2023

SDL2 Shooter 3 tutorial
Wed, 15th February 2023

SDL2 map editor tutorial [UPDATED]
Sat, 10th September 2022

Desktop site