I can’t believe that a search comes up empty for this, but how can we detect swipes on the screen? [import]uid: 52127 topic_id: 13704 reply_id: 313704[/import]
the next thing you will do for sure is ask for some code, look up the code section, there are some good examples, of not only swipes but also gestures.
In theory, you would check for the start point of the touch (began event phase) and then check the end point (ended event phase) and the difference would tell you how much the user has moved in x and y, which ever is more is the direction of the swipe, -dx = Left, dx = Right, -dy = Up, dy = Down.
hope that helps,
cheers,
?
[import]uid: 3826 topic_id: 13704 reply_id: 50373[/import]