Hi, I’m building an utility app, and I’m using director ti change scene.
How to change scene swiping up, down, left or right?
Thank you very much.
There is probably some swipe code in the Community code area. But basically you have to set up a touch handler that covers the whole screen and in the moved phase you see if event.x is some number of pixels away from event.xStart. I think I use 5 px. If so its a swipe and I do my goto scene call then.
There is probably some swipe code in the Community code area. But basically you have to set up a touch handler that covers the whole screen and in the moved phase you see if event.x is some number of pixels away from event.xStart. I think I use 5 px. If so its a swipe and I do my goto scene call then.