Im working on a top down shooter game, and Ive been experimenting with the enemy AI for quite some time now. I really need to move on in my project so I was wondering if anyone on here could lay out their take on how I could acheive convincing combat AI.
There are 5 enemies each round, as well as 4 allys.
Things that are imperitive to the AI are is knowing when it is appropraite to pursuite or run away from a target. Things like breaking LoS could warrant pursuiting. And running out of ammo would warrant running away from target.
Id also like enemies to change positions after firing a burst. A relitive position where the enemy can still see and engadge its target (up to 500 pixels from the target) would be ideal
Any help is greatly appreciated :)