Hi Miguel, I'm getting solid 60 fps on my Samsung Galaxy Spica (800 mhz processor) for most levels. I have heard that does not work so well in the HTC Magic... CPU load is quite balanced between updating the scene and rendering it, thus I could improve performance by optimizing the update phase (collision detection is a good candidate) without changing the canvas approach. I am an OpenGL lover, but unfortunatelly my phone has poor support for it :(
The biggest problem was the handling of input events. It hurts performance a lot by default. My solution is to save every motion event data in the same variable, and processing the most recent one in the main render loop/thread. This, incidentally, avoids some thread synchronization problems. On 23 nov, 09:13, Miguel Morales <therevolti...@gmail.com> wrote: > Nice, I enjoyed the part of content creation. I'm going to keep your > suggestion of using a single bitmap with all the sprites instead of > individual images. > Although it's not terrible it does indeed have a performance impact. > > Are you getting good performance using this approach with canvas alone? > In either case, good job. > > > > > > On Sun, Nov 21, 2010 at 2:51 PM, Ruben <ruben....@gmail.com> wrote: > > I have just written an in-depth article covering the workflow of 2D > > game creation for Android with blender, based in my own experience > > with the game "Egg Savior". I hope you find it usefull. > > Feel free to share your knowledge and propose other alternatives to > > these ideas. > > >http://organicandroid.blogspot.com/2010/11/creating-2d-games-with-and... > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > ~ Jeremiah:9:23-24 > Android 2D > MMORPG:http://developingthedream.blogspot.com/,http://www.youtube.com/user/revoltingx -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en