Adding “Archers” to Dungeons

The idea I was going for was an enemy that followed the player around and periodically shot a projectile. I also wanted the enemy to stop at a specified distance from the player. Unfortunately in my experiments with A* pathfinding I can either have the enemy stop at a specific distance or have the enemy not clip through walls. While I will continue to look for a solution for this problem the short term workaround will be to change the desired behavior to periodically moving before holding stationary and firing.

Leave a Reply