Quick Update!
I’ve been working on the flying enemy AI for the past few days and this is what I have so far:
Idle Behavior Preview:
Idle Behavior:
-Stay In Place - Hover in place until Player is in range
-Pick random location within a bounding box
-Follow a route - the route is a spline and it can be closed loop or open
Combat Behavior Preview:
Combat Behavior (so far):
-Ignore Player
-Chase Player
-Chase and Shoot
-Go Past Player - come from behind the screen and get infront of the player for a set amount of time. After the timer expires, it picks a random direction and leaves the screen
-Stay Infront of Player - Similar to the above, but this has the AI face the player and shoot
-Come Towards Player - Goes past the player while shooting