[Tweener] number of actively running tweens to optimize rendering effort
Zeh Fernando
zeh at zehfernando.com
Wed Sep 3 06:10:35 PDT 2008
> 1) I'd like to find out how many tweens are actively running,
> so that I can determine whether my animated scene needs to be rendered
> or not.
>
> the isTweening(), getTweens() etc. methods all require p_scope:Object.
> but I wanna know about all active tweens.
The best way is doing a new method/function that reads Tweener's
internal tween list and do what you want.
> 2) I'd like to stop tweening on one part of the scene, while keeping the
> tweens on another part of the scene still running.
> is there any way to group tweens and pause / resume those groups
> independently rather than all or nothing?
It's object-dependent, so the only way is knowing in advance which
objects you want to pause/resume/stop.
Zeh
More information about the Tweener
mailing list