Touch event - poor reaction...

Hello
I’m trying to add touch event handler to one object in my app. The object is pretty small - only 30*30 pixels. In simulator when I’m using mouse everything works ok. But on the real device (HTC with Android) the reaction is veeery poor - when I press on the object and slide my finger it works only 1 time from 5 - seems like most of the time the touch event is not posted. I’m using Corona SDK for Win. So the question is: is it a problem in the size of the object? How can I improve this touch handling?
The code itself looks like this:

[code]
function onCueTouch( event )

if event.phase == “began” then

display.getCurrentStage():setFocus( event.target )
event.target.isFocus = true
targetLine = nil

elseif event.target.isFocus then
if event.phase == “moved” then
if targetLine ~= nil then
targetLine.parent:remove( targetLine ) – erasing old line
end
targetLine = display.newLine( event.target.x, event.target.y, event.x, event.y )
targetLine:setColor( 255, 200, 200, 100 )
targetLine.width = 6
end
if event.phase == “ended” then
display.getCurrentStage():setFocus( nil )
event.target.isFocus = false
if targetLine ~= nil then
targetLine.parent:remove( targetLine ) – erasing old line
end

decShotsCount()
print( “touch listener removed” )
event.target.isTouchListen = false
event.target:removeEventListener( “touch”, onCueTouch )
gameScreen.cuePoint.isVisible = false

event.target:applyForce( (event.target.x - event.x), (event.target.y - event.y), event.target.x, event.target.y )
end
end
return true
end
[/code] [import]uid: 31161 topic_id: 7298 reply_id: 307298[/import]

For some of my iPad games, I

  1. made most things that should be touchable a relatively tappable large size (maybe you can evaluate to see if there’s any chance to rethink certain objects in your game) and

  2. for other things that were still too small, I used a bigger image than the actual physics shape. Corona seems to handle this so that there’s a bigger chance for a successful tap to be triggered, while your game isn’t otherwise affected and while you are still able to use the same graphics.

And for user interfaces like menu buttons, I generally overlaid the graphic button with a much larger rectangle to make tapping easier. [import]uid: 10284 topic_id: 7298 reply_id: 25665[/import]

2 Philipp: thank you, your receipt saves me!
I have same issue as globus000 with rotating platforms and they are small and so tap them is hard. [import]uid: 128001 topic_id: 7298 reply_id: 91430[/import]

Yeah as already suggested the easiest way to overcome issues like this is to make your image canvas bigger.

IE : 30x30 image, contained in a 50x50 canvas. [import]uid: 84637 topic_id: 7298 reply_id: 91472[/import]