Thursday, 15 April 2010

java - View and SurfaceView alternative? -



java - View and SurfaceView alternative? -

help! making simple android game involves dragging player sprite avoid enemy sprites, i'm running problems both view , surfaceview.

view - ondraw() , ontouchevent() methods on ui thread , cause framerate drop (or speed on devices) when screen touched.

surfaceview - there no hardware acceleration on this, causes high resolution .png bitmaps drawn badly without antialiasing.

glsurfaceview - not prefer larn opengl such basic game, , don't have plenty time game must done soon.

do have alternative here? if handle touch events in thread using view might work, don't know if it's possible.

java android multithreading surfaceview

No comments:

Post a Comment