---
title: 'A 3D Platform Game in C and SDL 1.2'
description: 'My first proper project: a 3D game with random maps, destructible voxels, enemies, powerups, and time slowdown.'
date: 2026-04-28
projectPeriod: 'Autumn 2017'
thumbnail:
  src: ./_assets/platform-game.jpg
  alt: Screenshot from a 3D platform game written in C.
tags: ['games', 'systems']
selected: false
project: platform-game
role: Game author
stack: ['C', 'SDL 1.2', 'Voxel terrain']
outcome: A playable 3D course project that made programming feel like the right long-term direction
audience: technical
links: []
---

This was my first proper project. I created an actually fun 3D game written in pure C with the help of SDL 1.2.

The maps were randomly generated and fully destroyable voxel by voxel. That also allowed the player to create structures for hiding from flying enemies, which chased the player and could destroy the terrain after merging together and growing larger.

After collecting enough powerups, the player could shoot and even slow down time in exchange for losing some points.

I did this as my final project for my Basics of Programming course. Through making it, I learned a lot about pointers after an adequate number of segmentation faults. It also made me realize my passion for programming.
