blackSheep
Enemy following after the player (MONOGAME)
You could create a A* (path finding Algorithm) to the enemy so uses his location as a start point then check the location of the player for the end point. The A* would cauculate the best path from enemy to player, then the enemy uses the path to move towards the player. I'm assuming you have a grid system (x, y) to place thing on your screen.
3 replies