Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit) (+2)

Hi! Thank you so much for your nice comment :)

The position counter is a bit overkill in this game xD There are around 50 triggers around the whole track, used as checkpoints. Each kart keeps count on the lap it's running now, its current checkpoint, the target checkpoint and the distance to the latter. Then a race controller compares all karts progression data and sorts them in order!

There's a lot of room for optimization, but worked like a charm so who cares! Here's a pic so you can see what I'm talking about. 

Oh nice, thanks for sharing, I was too lazy to implement a checkpoint based system so I just used the current target point in the path but I set the polling rate too low and had a few issues with it so it's really inaccurate haha