I’m starting to adventure myself with android, and I’ve ported a small game I’ve made, but I’m not sure if I am doing the drawing stuff in the fastest way.
I am loading my sprites in Bitmap s . Then I have my gameview (which extends View) with a loop which calls invalidate(), and in the onDraw(Canvas c) I render everything (first the background bitmap then all the other stuff, about 50 bitmaps (15x15)).
I believe this is the simplest way to do it, but I am sure there are other (maybe better) ways to do it … are there ?
But, IMO, coding in OpenGL ES is horrible if you’re only doing 2D. So if you don’t have any performance problems, I’d say you have the best way.
, but I’m buying me one in September.