Touchesbegan
Use this tag for questions related to touchesBegan:withEvent, a UIResponder event-handling method in the UIKit framework and MonoTouch.UIKit Namespace.
Touchesmoved
Use this tag for questions related to touchesMoved:withEvent, a UIResponder event-handling method in the UIKit framework and MonoTouch.UIKit Namespace.
Others
Example |
---|
Gameviewcontroller gamescene as you can see with touchesbegan we can detect the touched world and select it with touchesmoved we are able to move the moveable node to the correct position and to detect the nearest visible world and with touchesended we can create the smooth scrolling to automatic move to the current nearest visible voice after a touch from question UIScrollView horizontally scrolling menu in Sprite Kit |
For some reason when the duration of touchesbegan is greater than the duration of touchesmoved my player will complete the touchesmoved actions first even though touchesbegan had to come first and then jump to a different x-position and then move with duration 4 to complete the touchesbegan from question Different durations for SKAction - skipping around after action completion? |