When is a racer on the right track?
Tonight I had to answer one of the most difficult questions I've ever faced, in game dev. It's this question about how the game will know if the player is going in the right direction, and if the player has completed an entire circuit before incrementing their lap count.
The solution I arrived at (though there's still quite a bit of work left to do) is to "walk the course". This is a process of drawing the waypoint nodes over the circuit, and then firing little projectiles until I've found the next waypoint in the circuit. It's a bit strange, but this is what the process looks like...
I will upload a build (tonight) that includes these collision shapes, so you can see what this first-hand, and then another build (in a day or two) that hides the collision shapes again.
TL;DR proc gen courses are difficult!
Get Bouncy Cars
Bouncy Cars
Status | Released |
Author | assertchris |
Genre | Racing |
Tags | chiptune, Local multiplayer, Pixel Art, Retro |
Languages | English |
Accessibility | Color-blind friendly, High-contrast, Textless |
More posts
- Launched!Apr 27, 2021
- Much polish. Wow.Apr 15, 2021
- Winner, winner!Apr 15, 2021
- Improving race UIApr 14, 2021
- Added controller supportApr 14, 2021
- A DIGGER!Apr 12, 2021
- Added first settingsApr 11, 2021
- Countdown and pause menuApr 09, 2021
- Mo' MenusMar 31, 2021
- Workin' on the menusMar 30, 2021
Leave a comment
Log in with itch.io to leave a comment.