itch.io is community of indie game creators and players

Devlogs

Track Editor Part 3

Redline Reaver
A downloadable game

Today I decided to focus on some gameplay mechanics: Tracking the player's progress through a lap.

I set up my SVG -> game data Python script to now extract spawn point and checkpoint information.

In Python, I loop through all elements of the track's SVG file, looking for things that begin with Spawn and Checkpoint. I grab the index off each, convert the positions to the game's units, and then I write out a C header file.

I updated the game data to now spawn the player at the first spawnpoint.

Tracking laps work like you'd expect. I track your current checkpoint, when you go through the next checkpoint I increment. If you finish all checkpoints for the lap, I increment the lap.

Files

  • roguerider_v010.bin 768 kB
    Jan 30, 2022
Download Redline Reaver
Leave a comment