Android: 2D. OpenGl or android.graphics.drawable?

Posted by DroidIn.net on Stack Overflow See other posts from Stack Overflow or by DroidIn.net
Published on 2010-05-02T23:31:49Z Indexed on 2010/05/02 23:38 UTC
Read the original article Hit count: 285

Filed under:
|
|
|

I'm working with my friend on our first Android game. Basic idea is that every frame the whole surface is redrawn (1 large bitmap) which then sprinkled all over with large number of particles which produces effect of soapy bubbles where there's a pool of about 20 bitmaps which randomly gets picked to produce illusion that all bubbles (between 200 - 300) are all different. The math engine is in C (JNI) and currently all drawing is done using android.graphics package very similar (since that was the example I was using) to Lunar Lander. It works but animation is somewhat jerky and I can feel by temperature of my phone that it is very busy. Will we benefit from switching to OpenGL? And as a bonus question: what would be a good way to optimize the drawing mechanism (Lunar Lander like) we have now?

© Stack Overflow or respective owner

Related posts about opengl

Related posts about android