israelCanul / rokon

Automatically exported from code.google.com/p/rokon
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Scene handleTouch #112

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.in my subclass of Scene, override handleTouch function
2.Debug.print("handle touch") in it

What is the expected output?
print "handle touch" once

What do you see instead?
"handle touch" appear twice

What version of Rokon are you using?
2.0.3

On which version of Android are you experiencing this?
emulator 1.5

Please provide any additional information below.
it seems that handleTouch is called twice!

Original issue reported on code.google.com by rayjun...@gmail.com on 12 Jul 2010 at 5:49

GoogleCodeExporter commented 8 years ago
If you're handing the generic touch method, then you'll see it triggered 
multiple times - on touch down and touch up (i.e. when you touch the screen, 
and when you release it).

Original comment by necrotic...@gmail.com on 12 Jul 2010 at 6:00

GoogleCodeExporter commented 8 years ago
oh,sorry,it's not a bug. handleTouch function handles touchUp,move and down 
event. 

Original comment by rayjun...@gmail.com on 12 Jul 2010 at 6:27

GoogleCodeExporter commented 8 years ago
I found another bug about touch, pls see #113

Original comment by rayjun...@gmail.com on 12 Jul 2010 at 7:26

GoogleCodeExporter commented 8 years ago

Original comment by rtaylor205@gmail.com on 25 Jul 2010 at 9:27