Hi guys, I have a “tap” event listener. I need to be able to tap in anyplace on the screen, but something weird is happening there is like a rectangle in the top left side of the simulator (and device) where the tap doesn’t work (doesn’t work means it doesn’t call the “changeLines” function), I been reading the docs, but I can’t find anything related.
This code is in a scene1.lua
local function changeLines( event ) print( "HI" ) end Runtime:addEventListener( "tap", changeLines )
The scene1.lua is called from a menu.lua and shown like:
local function handleButtonEvent( event ) if ( "ended" == event.phase ) then composer.gotoScene( "scene1", "slideLeft", 800 ) end end
Any clue?? it’s driving me crazy!