Is the image that you are drawing exactly the same size as the screen area that you are filling? I noticed in my games that resizing of images is apparently an incredibly costly operation with Android.
As soon as I draw a bitmap and the OS has to adjust the size of it, the game begins to stutter as the resize operation takes a lot of CPU time, and what's worse, it seems to take a different amount of time every frame. Don't know if you might be seeing the same effect. On Apr 26, 10:26 am, Peter <[email protected]> wrote: > Thanks for the suggestion. > I probably shoud have mentioned this in my original post. Objects > sometimes leave the screen, therefore they are party drawed outside > the screen until they are removed. On 320x480 screens this isn't > visible, but on bigger screens it is. Drawing the image every frame > solves this problem. > > On Apr 26, 8:53 am, ko5tik <[email protected]> wrote: > > > I would say that you do not need to redraw that image part > > every frame - nothing happens there, and as there are no overlapping > > window on > > android there is no need to repair it. > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group > > athttp://groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

