Right now, I want to make an enemy follow a player where ever he goes. Like if the player tries to run away from the enemy. The enemy will follow him. Can anyone help me with this?
Develop games in your browser. Powerful, performant & highly capable.
In my limited experience, the 'pathfinding' behaviour is perfect for this. See here how I've made the 'enemy' objects follow the player object.
Let me know (by DM) if you need more help.