Showing posts with label Labels: android. Show all posts
Showing posts with label Labels: android. Show all posts

Tuesday, 29 January 2013

#3.6 Tutorial (LibGDX & MTX) Test_05_InputIntent 2


What if I just need to detect swipe intentions not minor drags on the screen. The very simple solution is again InputIntent class.

FOR EXAMPLE: When you get notification center in android, you need to drag abit longer, nut just minor drags like 4-5 pixels.

















#3.5 Tutorial (LibGDX & MTX) Test_04_InputIntent 1


Sometimes we need to detect drag direction of user (without removing finger off the screen or vice-versa), Also we may need to detect which area of the screen being touched at the moment. The solution is InputIntent Class, extremely easy to use.