hello developers
i am using build 696 to build my game for android platform
i have code like this
[lua]local box = display.newImageRect(“box.png”,100,40);
box.collision=boxCollisionListener – already defined function that takes two parameters self and event
box:addEventListener(“collision”,box)
physics.addBody(box, “dynamic”,{isSensor = true,filter = { categoryBits = 2, maskBits = 1 }} )
box:addEventListener(“touch”,boxTouchListener)[/lua]
when user touch the box the box will be removed from screen code in simulator works fine but when building it to android collision happens and touch listener does not fired when touching the box
how can i detect where is the actual problem
thanks in advance… [import]uid: 74537 topic_id: 19163 reply_id: 319163[/import]