This works for ice levels or for like sliding a bit after the character stops moving
1 Like
Nice job implementing this, it can be challenging to get exactly right! In case it helps in your other games, we actually have a feature that can support situations like this; a sprite’s fx and fy (friction x / y) basically act as acceleration towards 0 (note that currently they are only used if the corresponding ax / ay are 0).
Here’s a quick example:
OK thanks!