Hi everyone!
I�m making a top-down shooter similar to the one in the beginners tutorial, I placed a few obstacles to make it harder for the player to get around, but I would also like the enemies to avoid those obstacles as well while chasing the player.
I�m using the bullet behavior for the enemies and I�m setting their angle towards Player.X and Player.Y on every tick just like in the tutorial, I also set the "Bounce off solids" option to yes, the problem is when the obstacle is too large the enemy will get stuck if the player stays at the right angle (at 180� for example), so this makes the AI not very clever.
Should I use 8-direction movement? (and how?) Or pathfinding? I heard it�s not a good practice to use Pathfinding if there are going to be a lot of enemies doing it, and there will be a lot of enemies at once
Any help is appreciated! Thanks!