Ok so I have a simulator coded that allows me to test my AI flocking and path finding. It's basic, but allows me to test my intended behaviors before translating it over into the real game.
At this point I have a spattering of random enemies in random locations. A random 'notice the player' distance is set. All of the enemies within the notice distance from the player swarm the player. However my task is to make this less taxing on the game. So as I implement path finding I will have to update my logic so that only one or two enemies actually pursue the player, others near those 'leaders' follow them. For this to happen I will need to utilize some of the behaviors of flocking. I will also have to utilize an efficient path finding algorithm.
Once this is in place I can code the behaviors of the 'non-pursuing' enemies.
More to come.
No comments:
Post a Comment