RTS Style Movement

Get help using Construct 2

Post » Fri Jul 20, 2012 1:53 pm

Hello,
I'm new to this software (24hrs or so) and I have been playing around and have created a simple RTS movement event sheet. There is just one problem, everything works but when the sprite reaches the point it was told to go it simply spins on that point.

Now my code(?) below shows you that I have tried to implement a variable that when the sprite reaches it's assigned location it gets set to another number and thus the sprite should not still be trying to reach the point (or face it).



I feel there is something I'm not getting here but I have tried a few different methods but with no real luck. Any help would be most appreciated.

Regards
Ian
B
5
Posts: 8
Reputation: 417

Post » Fri Jul 20, 2012 2:09 pm

I made this .capx for someone about a month ago, maybe it can help you as well?

MultipleUnitMovement.capx
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Fri Jul 20, 2012 2:14 pm

That's perfect, I will review it and try to apply it to my own script.

Thank you for the speedy reply.
B
5
Posts: 8
Reputation: 417


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 25 guests