This is so fundamental and simple that it makes me crazy that it wont work.
Simple question really; Does calling sprite_instance.delete() remove it from it's groups and batch to never be rendered again? Somehow my animation sprites keep on animating after I've called it's delete method, and I can't find any other way to kill a sprite! I've got a character class that keeps one of the sprite animations at the time in it's image attribute depending on the character's state. When the state is changed, I call delete on the sprite in self.image and replace it with a brand new sprite with the next animation. Each time I do this, it stacks up animations in the same location. Is it a bug with animated sprites that it refuses termination or have I put the sprite somewhere where I simply can't remove it? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to pyglet-users@googlegroups.com To unsubscribe from this group, send email to pyglet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---