Android Thoughts Android Thoughts - 3 years ago 260
Java Question

LibGdx double tap

I want to detect double taps in libgdx using the tap method of the GestureDetector. GestureListener class. I searched the Web for the last two days but I couldn't find an example of how to do it. I know that the method has a "count" variable but I don't know how to use it. Thanks in advance.

Answer Source

There is an example of usage of GestureDetector with multiple tapping detection in one of libGDX's tests:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download