Alright, thanks very much for the (sort of) reassurance. I'll set out
in that direction and see what I can get working.

On Sep 17, 12:26 pm, Tristam MacDonald <[email protected]> wrote:
> On Thu, Sep 17, 2009 at 6:02 AM, Tartley <[email protected]> wrote:
>
> > bump! Any thoughts much appreciated. Perhaps the answer is just 'it
> > depends' ?
>
> > On Sep 3, 9:31 am, Tartley <[email protected]> wrote:
> > > when [batched sprite] entities are removed from my game world, I should
> > be
> > > setting their sprite's batch attribute to None? Will that remove them
> > from the Batch?
> > > And/or deleting the sprite? Or is messing with the batch like this
> > costly? Should I just
> > > set the sprite.visible = False for the time being, and clean up the
> > > batch (or create a new one) between waves / levels?
>
> The answer is that it should delete the sprite from the batch when set to
> None, but it doesn't seem to be 100% dependable. This has been the result of
> several hard-to-catch crashes in my pyglet stuff.
>
> --
> Tristam MacDonaldhttp://swiftcoder.wordpress.com/
--~--~---------~--~----~------------~-------~--~----~
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