I think there’s a problem with at least the Windows Android simulator touch events. I’m not able to test this on device or Mac/iOS simulator, right now. But it’s causing me issues:
This code:
[lua]function tap( event )
print( ‘tap’, event.name, event.numTaps )
end
Runtime:addEventListener( “tap”, tap )
function touch( event )
print( ‘touch’, event.phase )
end
Runtime:addEventListener( “touch”, touch )[/lua]
Outputs this:
[lua]touch began
touch ended
tap tap 1
touch ended
tap tap 2[/lua]
But I was expecting this:
[lua]touch began
touch ended
tap tap 1
touch began touch ended
tap tap 2[/lua]
Is this a bug or does it mean something?
Matt. [import]uid: 8271 topic_id: 7358 reply_id: 307358[/import]