Pausing tweens

213 views
Skip to first unread message

Sergio

unread,
Apr 1, 2014, 5:39:26 AM4/1/14
to haxef...@googlegroups.com


Is there a way to pause tweens through TweenManager or at least each tween individually?

Gama11

unread,
Apr 1, 2014, 10:46:06 AM4/1/14
to haxef...@googlegroups.com
var tween = FlxTween.multiVar();
tween
.active = false; // pause
tween
.active = true; // unpause

Gama11

unread,
Apr 1, 2014, 10:53:08 AM4/1/14
to haxef...@googlegroups.com
Oh, and I think you could also pause all tweens by doing this:

FlxTween.manager.active = false;
Reply all
Reply to author
Forward
0 new messages