Starling-Framework icon indicating copy to clipboard operation
Starling-Framework copied to clipboard

Reverse delay for Tween

Open Mintonist opened this issue 5 years ago • 2 comments

Hi!

"reverse" flag is very useful for me. But I need different delays for forward and back animation. For example - heartbeat. Not likely to be used with TweenMax etc.

One more helpfully thing. It is "autohide" flag for auto set visible=false at the end of animation. And visible=true on beginning. Or you may add callbacks "onRepeatStart" / "onRepeatFinish".

Thx!

Mintonist avatar Sep 12 '20 12:09 Mintonist

Agreed, that sounds useful! Thanks for the suggestion!

PrimaryFeather avatar Sep 13 '20 15:09 PrimaryFeather

One more suggestion) Do you think about TweenChain as series of tweens? It can be repeated, reversed, delayed - all as single Tween.

UPD. I find Feature about Timeline for tweens since 2018. Vote for that) So do you have any suggest about timing for "reverse delay"/ "autohide" flag / "onRepeatStart" / "onRepeatFinish" callbacks ?

Mintonist avatar Sep 14 '20 09:09 Mintonist