Re: Animating shapes with event handlers

2023-04-08 Thread Сергей Матвиив
Thanks for the advice. Do you have a code example of how to implement this? вс, 9 апр. 2023 г. в 02:11, 'Greg Ewing' via pyglet-users : > > On 8/04/23 12:26 am, Matan wrote: > > Of course I could keep all animations pushed as `update` and ` draw` > > event handlers go idle by conditional logic,

Re: Animating shapes with event handlers

2023-04-08 Thread 'Greg Ewing' via pyglet-users
On 8/04/23 12:26 am, Matan wrote: Of course I could keep all animations pushed as `update` and ` draw` event handlers go idle by conditional logic, but this will leave zombie event handlers lying around, making it inappropriate to design each animation as a unit of execution on loop events. How