[mono-android] OnTouchEvent responsiveness gets progressively poorer

warren burch warrenburch at gmail.com
Tue Dec 27 17:18:01 EST 2011


I am makng a game using monogame (I think I have effectively removed monogame
from the performance considerations in my investigation). After my game is
played for 30+minutes there is a noticeable lag between touching the surface
of the device and the AndroidGameView registering an OnTouchEvent, up to the
point of making my game unplayable. (+1/2sec)

if I stop and restart the game the responsiveness is almost immediate. I put
an Android.Util.Log.Info in the OnTouchEvent in AndroidGameView and I can
even see this response problem in the DDMS logger. My game framerate never
waivers from 30fps and the GC is being run and memory never exceeds 5.5Mb
(and is pretty constant).

What could explain this delay? This is the last issue blocking my app.

Cheers
Warren

--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/OnTouchEvent-responsiveness-gets-progressively-poorer-tp5104000p5104000.html
Sent from the Mono for Android mailing list archive at Nabble.com.


More information about the Monodroid mailing list