G
G
ghostUA2016-01-27 20:36:17
libgdx
ghostUA, 2016-01-27 20:36:17

How to recognize gestures in LibGDX?

I'm trying to create a game on LibGDX and ran into a problem, I can't recognize various gestures, I know touch as if(Gdx.input.isTouched()){}. And all the various gestures (double tap, swipe up, etc.) I don’t even know how to recognize or intercept. Help me please)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
senya96, 2016-02-22
@senya96

implement the GestureListener interface

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question