Monday, April 26, 2010

[android-developers] Re: Game stutters when drawing outside screen

On Apr 26, 10:26 am, Peter <peteroerlem...@gmail.com> 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.

AFAIR, almost every glyph/bitmap drawing method sports a variant
with
clipping rect.

Alternatively you could provide background for hi res - would look
better
than scaled up one.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment