Closed Magnogen closed 2 years ago
Aight now the EASE_..._EXPONENTIAL(strength)
works a lot nicer, here's a comparison:
It's very similar to EASE_..._POWER(strength)
, just slightly different
Comparison:
This is looking really cool!
I'll have a closer look at it when I'm at my computer!
The main difference between EXP(strength)
and POWER(strength)
is that EXP
forms a straight line when the strength is 0, whereas POWER
forms a straight line at 1 - as shown (green is EXPONENTIAL
, blue is POWER
)
Still haven't forgotten about this! Hopefully I can merge today or tomorrow!
ease
(expects a fuction that returns a value, or a fuction that returns a function that returns a value)Tween.EASE_IN_SINE
,Tween.EASE_OUT_CIRCULAR
, or evenTween.EASE_IN_OUT_POWER
Tween.EASE_..._POWER
andTween.EASE_..._EXPONENTIAL
(or justTween.EASE_..._EXP
), you can specify a strength parameter as if it were a function;Tween.EASE_..._POWER(3)
would be the same as Cubic Tweening, or you can use thestrength
parameter, it works exactly the same.I plan on adding support for number of bounces in
Tween.EASE_..._BOUNCE
, as well as dampening forTween.EASE_..._ELASTIC
, but idk how to do that yet lol