On Jan 17, 6:46 pm, Richard Jones <[email protected]> wrote: > On Tue, Jan 18, 2011 at 9:42 AM, Aaron <[email protected]> wrote: > > 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? > > It retains sprites that are still on-screen. The batch is the same throughout.
So it's only the Sprites that get created, discarded, and retained based on their visibility then, while the same Batch is used throughout. I think I can work with that. :) -- 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.
