Libgdx Multiple Pan Events
In my game the user is supposed to move the player with one finger on the left side of the screen and is able to shoot with the right finger. The problem is that when the shooting,
Solution 1:
The Listeners in LibGDX tend to use boolean return values to state weather that the input if finished being processed. As you return true the listener stops processing further actions.
The GestureListener can signal whether it consumed the event or wants it to be passed on to the next InputProcessor by returning either true or false respectively from its methods.
Try changing the return method to false and see if that fixes the issue Otherwise try convert it to use the touchDown and touchUp method that has a parameter pointer for the finger count
Post a Comment for "Libgdx Multiple Pan Events"