1
Resolved Questions / (Solved) Could I get some guidance on enemy AI?
« on: May 30, 2013, 01:48:41 pm »
Hello everyone!
I currently have a project I'm working on and I was wondering if I could get some suggestions as to how to approach this so I'll try to keep this brief and to the point
Basically, I'm trying to create an enemy AI similar to the Worker AI in the game Sinistar. Essentially, a Worker has three goals in life: follow the player and wait til there is a crystal to steal, hang around the other enemy type (Warrior) for a free crystal, and look around for any floating or free crystals. Once the Worker has a crystal(s), its main priority is to return them back to the boss to "build" it offscreen. So it hunts for crystals and returns them to a point of origin and gets a task reassigned.
So to my understanding, its just a matter of assigning a task upon creation and then switch to its prime directive once it has accomplished that goal and back again randomly. However, as far as structuring it I could use some suggestions or ideas. I have some in mind but if I could get some suggestions I would greatly appreciate it.
I currently have a project I'm working on and I was wondering if I could get some suggestions as to how to approach this so I'll try to keep this brief and to the point

Basically, I'm trying to create an enemy AI similar to the Worker AI in the game Sinistar. Essentially, a Worker has three goals in life: follow the player and wait til there is a crystal to steal, hang around the other enemy type (Warrior) for a free crystal, and look around for any floating or free crystals. Once the Worker has a crystal(s), its main priority is to return them back to the boss to "build" it offscreen. So it hunts for crystals and returns them to a point of origin and gets a task reassigned.
So to my understanding, its just a matter of assigning a task upon creation and then switch to its prime directive once it has accomplished that goal and back again randomly. However, as far as structuring it I could use some suggestions or ideas. I have some in mind but if I could get some suggestions I would greatly appreciate it.
