O'Reilly logo

Libgdx Cross-platform Game Development Cookbook by Alberto Cejas Sánchez, David Saltares Márquez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Detecting more complex gestures

Control and user experience should receive a strong focus when you are working on applications in general and games in particular. It is essential that your target audience finds your product to be smooth and flawless. Many elements impact the user experience, such as UI or sound, although a truly crucial one is controls.

Tapping, double tapping, pinching, panning, zooming—there are a myriad of gestures that have almost become an accepted convention. For better or worse, users now expect a certain behavior when they perform an action on a specific game element.

For instance, it is normal for the camera to be moved around when you swing your finger over a map so that the displayed section changes.

Libgdx offers an ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required