Touch area to small on actual device

Hi guys,

Maybe somebody can help me out here.

I am testing a game prototype on Samsung Galaxy S3 Mini.

Game works fine in Corona Simulator (no errors).

My problem is that you have to work like hell to touch the player and game buttons on the Samsung Galaxy S3 Mini (on actual device).

I have read that some guys put new Circles around players/objects that have touch/tap event Listeners…

My questions are as follows:

  1. Is placing newCircle (invisible and hitTestable) around a player or buttons the ultimate way to solve this?

  2. How to avoid that bigger invisible Circles do not become “too big”, if you know what I mean (i.e. how to determine how big the new invisible Circle should be, so I do not have situation where touching one player I touch several players  OR  that when I touch outside of player area players get touched)?

  3. Is there a minimum player/button dimension I can count on, that will 100% be registered ontouch on actual device (iPhone and Android)?

  4. How to solve this issue when you have multi element body (for example element 1 is “head” and element 2 is “body”)?

P.S. I have too tick fingers  :unsure:  :angry:  :smiley:

Waiting your reply.

Many thanks!

Ivan

You can just add transparency around your image.  For instance, if your target image is say 32x32, extend the canvas to 44x44 and then tell Corona to load it as 44x44. Your image will stay relatively the same.  Apple recommends the minimum size for a touch target be 44x44 points in their 320x480 content area.  If you are defaulting to the image rectangle as the physics body, you may need to build a custom shape that represents the target’s real size.  In other words if you don’t change it, your physics box will be 44x44, when you really wanted it to be 32x32.

Rob

Thank you Rob for great explanation.

Ivan

You can just add transparency around your image.  For instance, if your target image is say 32x32, extend the canvas to 44x44 and then tell Corona to load it as 44x44. Your image will stay relatively the same.  Apple recommends the minimum size for a touch target be 44x44 points in their 320x480 content area.  If you are defaulting to the image rectangle as the physics body, you may need to build a custom shape that represents the target’s real size.  In other words if you don’t change it, your physics box will be 44x44, when you really wanted it to be 32x32.

Rob

Thank you Rob for great explanation.

Ivan