hushaojie04 / libgdx

Automatically exported from code.google.com/p/libgdx
0 stars 0 forks source link

Double tap limitation (kind of a bug) #1111

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There's a problem with double (or triple etc.) tap in GestureDetector.

Basically, it considers multiple taps only by their timing, not their position.

So you can tap on one side of the screen, then quickly tap on the other far 
side of the screen and GestureDetector thinks it's a double tap, despite the 
distance. I'm guessing this was not the intent.

The problem should be self explanatory, but I can provide a youtube video of my 
game if you need to see it in action.

Original issue reported on code.google.com by raicua...@gmail.com on 2 Nov 2012 at 2:29

GoogleCodeExporter commented 9 years ago
OP here
Just to note: this is not some edge case, it's really easy to do, with default 
settings you don't have to tap fast at all to do this, so it will probably 
annoy players (accidental double taps)

Original comment by raicua...@gmail.com on 2 Nov 2012 at 2:35

GoogleCodeExporter commented 9 years ago
Fixed, thanks!
49cc102e173edf287ad5c8ccb1a68f5331798fd7

Original comment by nathan.s...@gmail.com on 2 Nov 2012 at 9:28

GoogleCodeExporter commented 9 years ago
That was fast! Thank you!

Original comment by raicua...@gmail.com on 4 Nov 2012 at 2:56