Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sequence/timeline feature? #3

Open
cambiata opened this issue Jul 15, 2012 · 3 comments
Open

Sequence/timeline feature? #3

cambiata opened this issue Jul 15, 2012 · 3 comments

Comments

@cambiata
Copy link

Hi Joshua!

The possibility to group tweens in a "timeline" or "sequence" group, à a GTweenTimeline/Greensock TimeLineLite/TweenCube sequence (http://blog.inkora.com/tweencubetimeline/tweencubetimeline-2/) would be great!

@jgranick
Copy link
Member

Currently, you can definitely create a sequence. It is not designed to be reversed, but in order it should work fine.

The key is to use "false" when adding each tween, and specifying whether overwriting should be enabled. By default, Actuate stops any active, conflicting tweens. Disabling this behavior creates risk, but is perfect for when you know that your animations are not overlapping, and should occur in order.

It works like this:

Actuate.tween (myObject, 1, { x: 100 });
Actuate.tween (myObject, 1, { x: 150, y: 200 }, false).delay (1);
Actuate.tween (myObject. 1, { x: 0, y: 100 }, false).delay (1);

Does this help you?

@haysclark
Copy link

Might be worth checking out TweenX.

@alamboley
Copy link

+1 for a full Timeline à la greensock support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants