Tagged Questions
1
vote
1answer
211 views
GestureListener's fling method doesn't get called
I'm using SimpleGestureDetector from the libgdx-users Wiki as my InputProcessor. I set it in the created() method:
Gdx.input.setInputProcess(new SimpleDirectionGestureDetector(charController));
...
1
vote
1answer
173 views
Precise Touch Screen Dragging Issue: Trouble Aligning with the Finger due to Different Screen Resolution
Please, I need your help. I'm trying to make a game that will drag-n-drop a sprite/image while my finger follows precisely with the image without being offset. When I'm trying on a 900x1280 (in X ...
2
votes
2answers
2k views
On screen controller for libgdx games?
Does anyone know a better controller for 2D Games than a virtual on screen joystick? The pros of the joystick are:
Easy to implement for developers
Familiar interface for users
But there is a ...
0
votes
1answer
2k views
How to know if an actor is touched in libgdx?
I am using "Gdx.input.isTouched()" in the render method of my Screen method, to know where is touched, but when the touch is dragged in the screen, it also activates the events i want only when an ...