-
Notifications
You must be signed in to change notification settings - Fork 58
Cannot chain cheshire rotate events #43
Comments
I think it has to do with the delay. The delay is what separates the events. Without putting a value such as 1000 it will run each event right away in which case the first is bypassed and the second action runs. So give the first action a duration of like 1000 and then set the delay for 1000 and it should run them in order. |
Thanks for your suggestion Matt. Unfortunately it didn't work as we both expected. I changed the duration of the 1st cheshire to 1000ms and delay(1000). That caused my object to rotate 90deg in 1 second, but then it 'snapped' back to its original position. here is a jsfiddle For the record I want the 1st animation to happen immediately and the 2nd animation to 'continue' onwards for the position set by the 1st animation. Any suggestion on how to do this with alice? |
Try this add: You'll have to do a new build then of Alice but it may be what it needs. |
Ooooo good suggestion. Thanks! Just tried your recommendation but seem to be getting the same results. Dang. This fiddle has the re-built copy of alice (with your recommended change) pasted into the JS section, with my code snippet at the bottom http://jsfiddle.net/HBwNa/ The 2nd animation restarts from the original position rather than continuing from the first. Any other suggestions? Or can what I'm trying to do be done with another Alice effect (besides cheshire)? |
Damn I'll look into it sometime tonight. I'm not sure of any other effects that would achieve this since cheshire is the core of all the effects except the book effect... I'll see if I can find a way to do this and keep you posted. |
Check out what happens when you set the direction to forwards on both and make both rotations negative values its closer to what your looking for |
That sir, is some crazy voodoo magic. I do see the change in behavior, but I think its a trick (Akbar: "Its a traaap") - i'll fiddle and see if I can get it working closer to what I'm looking for. But would also appreciate your help in poking away at a solution. Thanks for helping to look into this. |
When chaining 2 cheshire events together, only the second one is applied.
Expected results:
Actual results:
Is the following code how one should be able to do this chaining event? If not, can you specify the correction?
How to reproduce:
The text was updated successfully, but these errors were encountered: