Touch accuracy

Hi everybody,

I’m developing a “checkers kind” game, using NGUI in the user interface and TouchScript for processing the touch gestures in the 3D World. I use a Nexus 7 to make all the tests.

I was experimenting horrible touch accuracy problems, for example when trying to select a checker (which aren’t very big), I must touch several times the screen to obtain a valid touch. I tried a couple things, such make bigger colliders, with no effect. I wasn’t worried because i have also a winphone, and the touchs scripts worked fine on WP8.

And suddenly yesterday, i generated an .apk signed for the first time, and surprise… the touch accuracy was perfect in the Nexus 7. At this point, all was all right, i was thinking that the signing (and not compiling a debug version) did all the work…

But this morning i’ve installed the same apk in a Nexus 5 of a friend of mine, and you could imagine my face when i check that the touch accuracy stills working wrong…

Anybody can explain this behaviour?

Thnks!

Could it be that the touches are a bit offset? Like by the size of the status bar? There is a known issue in 4.3 where if the status bar is present the touches may be offset - not always but there is a race condition. If that’s the case then a fix is coming with the next update.

Thanks bitter,

Yeah, that could be the problem, indeed this morning i’ve tested the app in the Nexus 7 (without reinstalling the apk, only closing and opening again), and the touch system fails again :eyes:

I hope we would have the fix soon.

Regards.

I don’t remember exactly what the problem was but if you have the status bar shown on screen you can try hiding it and see if that helps.

Hi,

I tryed to hide the status bar, and the problem was definitely solved…

Thanks !

Is there a fix for the statusbar offset besides hiding the statusbar?