Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hi, it seems you improved your game a lot since I visited last time. Good job!

Actually I am also working on my race game (or at least it wil have such racing mode), but for trucks.

I hope these will not competeing so much, so may I have a question: could you please confirm how you are doing your AI driving? Are they following a path or any other method? Thanks in advance.

(+1)

Hi! Thanks for your comments : )

I started using only paths for their behavior, but some time a go I went for a hybrid of that method and rays that check for collisions to make them avoid other cars and the player. In each step, I check what's near each car and take actions accordingly. It made a huge difference, now AI passes each other and racing is much more interesting! Its not perfect but its way better than using only paths. Good luck with your game!

Thanks for your reply, I plan something similar as an AI. Also with long vehicles there is a chance to stuck and push each other, avoiding collision is better solution instead of trying to escape from stuck situation. :)