As an alternative to this, `pyglet.resource` could always return a new Animation class, but use the same cached Frames. Doing it that way should allow all of the Animator logic to just be part of the Animation class, I think.
On Saturday, June 2, 2018 at 5:08:34 PM UTC+9, Daniel Gillet wrote: > > And this also means that pyglet.resource should still return a cached > version of an Animation, which is a good thing ! As we've decoupled the > images list from the frame_index, we can have now multiple Animators using > the same Animation. > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.
