Newbie question. How do you modify speed / curve of states.next()?
.states.animationOptions = curve: "spring(300, 30, 0)" :)
Thanks! Just what I was looking for. :)
this is tough. Are you asking for diff curves for each state of the same layer? If so, i don't think you can. Or at least I haven't found a good solution for it
Wouldn't that be layerA.states.animationOptions = time: .3 layerB.states.animationOptions = time: .5
Aalok Trivedi you can also write: layerA.states.switch("stateB", curve: "spring(400, 30, 0)") :-)