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. It's installable from the gtp.
inflate install ease
add ease to your inflator.toml config:
[dependencies]
# ...
ease = "ease"use inflate install -e .:
- clone the respository:
git clone https://github.com/inflated-goboscript/ease cd easeinflate install -e .cd testinflategoboscript build- open
test.sb3