Cool image effects with easing functions

  • #10, by LebosteinWednesday, 20. May 2015, 11:58 9 years ago
    Ok, thanks.

    To point 3: reseting with zero works. But it gives strange effects if I try to reset and restart a tween. The rotation speed decreases with every restart:
    object:to(0, {Rotation = 0})
    object:to(1000, {Rotation = math.rad(360)}, easeLinearOut, true)
    

    Maybe I need a pause between the calls...

    Key Killer

    621 Posts


  • #11, by afrlmeWednesday, 20. May 2015, 12:12 9 years ago
    Probably or maybe you need to set loop to false? I've not gotten round to testing it all that thoroughly yet.

    Either way a 1ms pause should probably be enough.

    Imperator

    7278 Posts

  • #12, by constantinWednesday, 17. May 2017, 14:58 7 years ago
    could you please post the script you use for the trees and the balloons? i tried and it looks good. but i cant figure out how to use it for trees or soft animations like gras in the wind.

    Forum Fan

    167 Posts

  • #13, by sebastianWednesday, 17. May 2017, 15:16 7 years ago
    Hey Constantin, 

    for waving grass and tree branches, etc you need the script mentioned here:


    it seems that it only works for VS5, though

    Thread Captain

    2346 Posts

  • #14, by joemidThursday, 18. May 2017, 03:05 7 years ago
    Sorry, when I sent you here, I didn't know the link was dead!  ;D Here is a link to a copy of Lebostein's orginal file...

    Newbie

    87 Posts

  • #15, by constantinThursday, 18. May 2017, 11:27 7 years ago
    thank you :-)

    Forum Fan

    167 Posts

  • #16, by LebosteinSaturday, 09. September 2017, 12:47 7 years ago
    I have updated the download link in the first post:
    https://www.dropbox.com/s/anzow3vz0h67rn5/easing.zip?dl=0

    Key Killer

    621 Posts

  • #17, by dionousSaturday, 09. September 2017, 13:52 7 years ago
    Thanks so much for that!

    Forum Fan

    246 Posts