smooth movement
This is an easing library which is built for goboscript. It is designed to be used with inflator.
If you want to set the easing timer to something other than just the timer (e.g. you want to add an offset), do the following above the %include
of ease.gs:
- %define
EASING_TIMER
(without brackets) to something new. %define EASE_SET_EASING_TIMER
- https://easings.net/
- Formula from Vaschex on stackoverflow (optimised): https://stackoverflow.com/questions/46624541/how-to-calculate-this-constant-in-various-easing-functions
Make sure you have inflator installed
inflate install https://github.com/FAReTek1/ease
add ease to your inflator.toml
config:
[dependencies]
# ...
ease = "https://github.com/FAReTek1/ease"
use inflate install -e .
:
- clone the respository:
git clone https://github.com/FAReTek1/ease
cd ease
inflate install -e .
cd test
inflate
goboscript build
- open
test.sb3