Page 1 of 1

[lua pack] Other Easing (v1.0)

Posted: Mon Aug 18, 2025 9:29 pm
by marioSuper21
This file represents another easing function that is not present or updated from easing.lua. Currently there are only six functions but you can give me some ideas about the smooth transition from one value to another.

1. inSlowOutFast(elapsedTime, startValue, change, duration): Starts off at a normal pace then accelerates towards the end. Useful for starting or lunging movements.
Image

2. expoReverse(elapsedTime, startValue, change, duration): Reverse exponential movement starts very fast and then slows down gently until it stops at the target. Ideal for dash or sudden movements.
Image

3. wave(elapsedTime, startValue, change, duration, amplitude, frequency, decay): A smoothly repeating wave-like motion ideal for a "floating" effect or elements that move up and down with distance, such as water or clouds.
Image

4. overShootStart(elapsedTime, startValue, change, duration, overshoot): At first, he backs away quietly, then he quickly goes to the end.
Image

5. pulse(elapsedTime, startValue, change, duration, amplitude, frequency, sharpness): Like a pulse it expands and then comes back useful for effects when selecting something or when hitting.
Image

6. shake(elapsedTime, startValue, change, duration, amplitude, frequency): Shaking motion left and right or up and down is useful for shock effects, hitting or alerting the player.
Image

download
I hope you benefit from these effects. :D

Re: [lua pack] Other Easing (v1.0)

Posted: Tue Aug 19, 2025 5:37 pm
by Donkdonker124
I never thought I'd see someone add more easing methods to the game, but here we are. These may come quite in handy!