Need help

For questions about using Classic.

Post » Tue Jan 24, 2012 6:36 pm

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
B
11
S
3
G
6
Posts: 193
Reputation: 4,234

Post » Tue Jan 24, 2012 9:14 pm

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.
B
24
S
9
G
2
Posts: 294
Reputation: 3,160

Post » Tue Jan 24, 2012 9:27 pm

Thank you very much, this actually helps.
B
11
S
3
G
6
Posts: 193
Reputation: 4,234


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 8 guests