Skip to content Skip to sidebar Skip to footer

Android Ontouch Refresh Rate

I am using onTouch(View arg0, MotionEvent arg1) as a game input. It returns false so it is not handled. On my HTC HD2 running 4.0.4 this is enough to let the player walk fast

Solution 1:

You could don't rely on refresh rate, but save time difference (dt) between two updates and calculate speed according to elapsed time.


Post a Comment for "Android Ontouch Refresh Rate"