Hi,
I'm trying to figure out how to move the player exactly to the location of the latest touch. I've tried a few methods, but I've had some problems.
1. Tweening: I can set the player to tween to the touch, which I get from FlxG.touches.getFirst(). The problem is that if there are many touches in succession, the sprite skips around and moves after reaching the spot of the last touch.
2. moveTowardsTouch/Mouse: This method works, except that it doesn't stop once it reaches the location of the touch.
Any ideas on how to solve this?
Thanks!