Is there a way to pause a tween
-
I have a progress sprite, and following the demo I have the following:
setProgress(0); setDirection(ProgressBar::dir_0); _tween = addTween(ProgressBar::TweenProgress(1.0f), cooldown); _tween->addEventListener(TweenEvent::DONE, CLOSURE(this, &WE_SpellGUI::spellCast));
I see I can complete it using;
_tween->complete();
Is it possible to pause the tween?
-
Hi, you can't pause single Tween
but you can pause Actor with all its Children and tweens
https://github.com/oxygine/oxygine-framework/wiki/tips_and_tricks#automatic-pause