I programmed enemies to move to a certain location, but if they see the player, the enemies will start to follow the player until they lose track of player.
I have tried to make the enemies follow the player when the player is in their line of sight, but they ignore the player. I also want the enemies to continue to their location if they lose track of there player.
I also noticed that the enemies pass through each other even though their solids. How can I make them not pass through each other? I want them to go around each other.
Here is a link to the capx
I don't know if the pathfinding behavior is working or my programming skills suck.
I hope you guys can help me out, thanks!
Develop games in your browser. Powerful, performant & highly capable.