I am working on a new project. I've made a simple enemy grid movement, but how to make enemy stop on the grid before player, not on player and contine moving when player is far? Any ideas? Here's the .cap:
How about that?
Set the global var "distance" to the distance, you want the enemy keep away from the player.
Develop games in your browser. Powerful, performant & highly capable.
Thank you very much, this actually helps.