Track Editor Part 3
Redline Reaver » Devlog
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
Get Redline Reaver
Redline Reaver
Sega Genesis run based car combat game
Status | Prototype |
Author | JoeJoeJoeJoe |
Genre | Racing |
Tags | Homebrew, Roguelike, Roguelite, Sega Genesis, sgdk |
More posts
- Five Minute Level CreationDec 13, 2022
- Cat TrackFeb 01, 2022
- Track Editor part 2Jan 29, 2022
- Track EditorJan 28, 2022
- Prerendering, Blender to Sega GenesisSep 19, 2021
Leave a comment
Log in with itch.io to leave a comment.