Hello everyone!
I'm actually working on a game which include sometime, a king of duel happening.
The idea is quite simple, you have to kill the AI before it kills you. It's quite the same gameplay as TowerFall Ascension. Just to give you a global idea.
I didn't found anything about how I can code a similar AI on the forum or as examples. So I did something that's work a bit for now, here is the capx.
This file is just an extract from my main project, so some stuff doesn't work like the AI avoiding player's bullets.
But as you can see, the AI sometimes is acting a bit crazy or is stuck on a wall or can't climb a platform.
So I would love to have some advices about how I can manage my AI code or if any solutions already exists. Maybe my method isn't the simplest or the good one.
Thanks you all!