Racing Game AI
AfterBurnett
Member Posts: 3,474
Hi guys (and gals),
I have a couple of ideas for a top-down racer that I want to produce in the next couple of months once I've cleared another project.
I am interested in enemy cars... there seem to be a lot of GS demos and games that are "time trial" but don't feature enemy cars... is it possible? I have a few ideas on how I think I'd do it but they all seem to have weak points... like if I set a path for a car to follow, that's all well and good... what happens though, if it ends up facing the wrong way or against a fence?
Has anyone done a decent racer with AI players?
The other option is a straight rally sim... quite keen on that too.
Cheers
I have a couple of ideas for a top-down racer that I want to produce in the next couple of months once I've cleared another project.
I am interested in enemy cars... there seem to be a lot of GS demos and games that are "time trial" but don't feature enemy cars... is it possible? I have a few ideas on how I think I'd do it but they all seem to have weak points... like if I set a path for a car to follow, that's all well and good... what happens though, if it ends up facing the wrong way or against a fence?
Has anyone done a decent racer with AI players?
The other option is a straight rally sim... quite keen on that too.
Cheers
Comments
You can use Magnitude.
If you use it on the AI cars to see how close you are to them, you can make them move towards your X position, thus, essentially, trying to block you.
And other tricks like that of course
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io