I’m about 4 hours into this project but have a working prototype already. Defold continues to amaze me in how quickly it allows rapid development of working games.
‘Victory Lane’ is inspired by various overhead racing games - particularly Konami’s “Chequered Flag” which was seen in arcades circa 1988.
The core idea for VL is to ensure that the AI cars use the same physics as the player’s car. A lot of racing games of old had computer cars going around on rails and being unaffected by collisions with the player. So I’ve written the physics in a way that they can be control either by code or by input from the player.
The system I’ve tried so far uses ‘control tiles’ on the map to direct the computer cars and some other code to manage acceleration and braking. Already the computer cars are reasonably quick and manage to find the racing line for the most part.
Lots of ideas still to try out and graphics to add but this is what it looks like so far:
edit: my gif didn’t seem to work so here’s a link to the animation