Press Z to make spaceship move to another position
Cart uses ease_in_out_cubic (but feel free to edit and change to another included easing function).
Animation is locked at 0.5 seconds per move (feel free to edit this, too)
Here is my attempt at providing tweening/easing functions in PICO-8.
They are based on existing work done by many other people.
These functions help you animate sprites smoothly from one position to another, with different types of acceleration and/or deceleration.
I am using them to animate cards around the screen in my Hanafuda Koi-Koi game.
To read more about Easings, go here: http://easings.net
- partially working
Maybe these are broken because I'm not familiar enough with how PICO-8 maths functions work?
Any help appreciated getting those last few working is appreciated!
not enough precision for:
I tested the cart in picolove, which has no math limitations, and this showed me that the calculations work. So they are too much for standard pico8 maths. Any way around this?
[Please log in to post a comment]