"Click to Move" movement sometimes moves backwards

Get help using Construct 2

Post » Mon Jan 28, 2013 2:22 am

I'm trying to get my sprites to walk around to different way-points on the layout. I'm using Bullet movement to do this. I set the sprite's angle toward the way-point I want it to go to, then set its bullet speed. When it gets close to its target, I stop it.

This works ALMOST all the time. Every once in a while, the sprite will walk in the opposite direction. I don't know what's causing this!

Here's a CAPX to look at, if that helps.

This usually happens when moving FROM the Front or Back rows TO the Rear row. Sometimes, I can move 100 times and never see the problem. Other times, it happens the very first time I try to move.

Is there a better way to be doing this "Move To Location" type of movement? Sort of like the RTS movement in Construct Classic?

Thanks for any help!
Posts: 21
Reputation: 1,092

Return to How do I....?

Who is online

Users browsing this forum: facecrime and 8 guests