I’m prototyping a PnC game.
I have my sprite animating and 8 directions so it looks like it will be walking ‘toward’ the touch on the screen.
I added transition.to() to move the character to the new touch point. Works fine except that since I have defined the transition time it appears to move faster when the touch delta is large.
I don’t see a way to say ‘tranisiton xx pixel per sec’ or some such to make it ‘walk’ at the same speed regardless of where it’s going
I could do a calc based on current x/y and new x/y and some constant to make the movement rate steady. Is there a better way I’m not seeing?
Perhaps I should use something else???
Thanks!
Gary
Thanks!