Search Unity

Problems with Touch Screen sensitivity.

Discussion in 'Scripting' started by iruo, Jul 27, 2015.

  1. iruo

    iruo

    Joined:
    Mar 19, 2015
    Posts:
    2
    Am having a problem with the touch screen sensitivity on phones when swiped, its not too pronounced on some while on others its just down right terrible. Thanks for your answers in advance
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,736
    This could be a bunch of different things. Here are some ideas to look for:

    For one, touches come in as screen pixel coordinates. If you are not adjusting for this so that you normalize the touch to the overall dimensions of the screen, on screens with low resolution, the touches (swipes) will seem very weak, on large pixel resolutions, they will seem much stronger. Use the values in Screen.width/Screen.height to normalize your touch motions.

    Another possibility is simply low framerate. If your app is taxing lower-end phones to the point where they are only getting 10fps, then your touches won't be very responsive at all.

    (edit: added the (swipes), changed "it" to "they")
     
    Last edited: Jul 27, 2015
    iruo and DonLoquacious like this.
  3. iruo

    iruo

    Joined:
    Mar 19, 2015
    Posts:
    2
    Thanks Kurt that was an eye opener, will let you know how it goes.