Hello,
I’m using the easing library posted by @scarnie :
http://developer.anscamobile.com/code/more-easing
for example the easeInOut curve is connected by two curves easeIn and easeOut, its function is like this:
\_easeInOut=function(ratio)
if (ratio \< 0.5) then
return 0.5 \* \_easeIn(ratio\*2.0)
else
return 0.5 \* \_easeOut((ratio-0.5)\*2.0) + 0.5
end
end
My question is if i want to repeat easeInOut curve smoothly for 10 times, or if i want to repeat easeOutInElastic + easeOutIn + easeOutBounce+etc … how to do that? I have tried many times but cant get the right result, so i hope could get some help from here,thanks!
[import]uid: 74676 topic_id: 13183 reply_id: 313183[/import]