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:
http://dl.dropbox.com/u/26419994/test.cap
Develop games in your browser. Powerful, performant & highly capable.
How about that?
http://dl.dropbox.com/u/26932498/grid_enemy_stops.cap
Set the global var "distance" to the distance, you want the enemy keep away from the player.
Thank you very much, this actually helps.