Hi, An object that is called now "Animation" in Bloc is not necessarily bound to the visual element. The correct name for the root class of "BlBaseAnimation" should be "BlPostAction" - a valuable that is guaranteed to be evaluated in the beginning of every frame before anything else. We have already a deferred action but they are only evaluated when there is enough time between frames. "BlBaseAnimation" should be renamed to something line "BlElementAnimation" that is guaranteed to be bound to a visual element and stops itself if element is no more in the scene graph *by checking that explicitly before doing every animation step*.
Cheers, Alex On 2 December 2017 at 16:35, Sean P. DeNigris <[email protected]> wrote: > Aliaksei Syrel wrote > > ... > > Also, what is the lifetime of an infinite animation? > > ... > > Do you have any particular use-case for animations? > > I hacked together a simplified stepping animation (may not be in the right > place in the class hierarchy). Here's a pull request to discuss > https://github.com/pharo-graphics/Bloc/pull/37 > > > > ----- > Cheers, > Sean > -- > Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html > >
