Moving player with tap on a scrollable scene

I want to move the player in a scrollable scene, by tapping on an area (box) which is set to the complete width.
So my try is to
-------------
In the area (box):
when touch is inside change att game.Move to 1
change att game.PlayerX to game.touches.touch 1.X
change att game.PlayerY to game.touches.touch 1.Y

and
In the player:
when att game.Move = 1
Move to -> game.PlayerX ^game.PlayerY Relative to Scene Speed.....
-------------
The first problem: But then the player only moves in the first scene screen width, not in the complete scene, because the 1024 px is the more right pixel he will go.
The second problem: The player moves only, while touch is pressed. But as in old adventure games, the player should move to the point the user has tapped, also if the user as released the finger.
Sign In or Register to comment.