On Jan 16, 4:55 pm, Richard Jones <[email protected]> wrote:
> On Mon, Jan 17, 2011 at 2:41 AM, Aaron <[email protected]> wrote:
> > As for tile sprite culling, I've heard cocos2d also uses regular
> > Sprites and Batches for its tiles, implying it just recreates the
> > batch whenever a map needs to scroll. Is this true?
>
> Whenever the visible set changes, yes.

Well, I guess if it's good enough for cocos2d, it's good enough for
me.

I assume that, since it recreates the Batch, it's discarding the
Sprites for tiles no longer visible and creating new Sprites for the
tiles that became visible. For Sprites that are still on the screen,
would it be faster to change their Batch or just to create new ones?

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" 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/pyglet-users?hl=en.

Reply via email to