SkidX / tweene

JavaScript Animation Proxy
http://tweene.com
Artistic License 2.0
353 stars 29 forks source link

Simultaneously tween multiple objects on timeline #19

Closed ScottDodsonDev closed 8 years ago

ScottDodsonDev commented 8 years ago

Is it possible to simultaneously tween multiple objects on a timeline? I tried inserting a label and then adding two tweens at the label position but they get executed immediately instead of waiting for child1 and child2 to complete:

Tweene.line() .add(child1) .add(child2) .add('myLabel') .add(child3, 'myLabel') .add(child5, 'myLabel');

SkidX commented 8 years ago

It's strange, it has to work as you expect. Could you please copy & paste the real code or maybe do a codepen with it, so I can see it?

ScottDodsonDev commented 8 years ago

Sorry I'm just now getting back to you. I had to abandon Tweene and go with Velocity alone, but I'm working on another project and I'd like to give Tweene another shot. Here is the codepen that shows "myLabel" is ignored: https://codepen.io/anon/pen/gPEedy.