Hello, greetings and first, as always, sorry for my english ;)
As the headline already said, I would like to know how to create an enemy-AI for top-down-games like shooters etc.?
I try and try and don't find any solution. I search the forum but found anything that answers my question (maybe I don't see the right answer because of the huge amount of topics).
Also in the store i can't find anything that would be the right thing for me ...
How do I create enemies with following features:
- wait fix/random time when player is not in sight and/or move randomly accross the map/room
- move along to player when is in sight
- follow the trail of the player all over the map/rooms for a specific time when line of sight has been lost
- approaches the player untill the attack range is reached
- attacking the player when is in attack range
- maybe flee from the player when HP falls below a specific value (not for all kind of enemies)
Yes ... I think that should be all i want to know.
Thanks for your help and greetings from Austria :)