Slight problem with my movement system...

Starik20X7Starik20X7 Member Posts: 5
edited November -1 in Working with GS (Mac)
I've got the players movement set up so the actor will walk towards the point on the screen that is touched, and stop moving when the touch is released. It's set up as follows:

I have an actor called 'swipe' that logs the touch co-ordinates and changes the movement attribute to 1. When the movement attribute is 1, the player character moves towards the touch co-ordinates. When the touch is released, it changes the movement attribute to 0 and the character stops moving.

The problem is that if the actor reaches the point on the screen being touched they will stop moving, even if the player hasn't released their finger or moves their finger around the screen. Strangely, the character's movement animation continues but they do not move anywhere.

If anyone can help me figure this out it's much appreciated.
Sign In or Register to comment.