I'm working on a game in which the player has a forward dash move. I know how to code this, however, I wish to know how to make the player smoothly advance from the peak of their dashing speed and descend to a slower speed, akin to Celeste.
Thank you!
Develop games in your browser. Powerful, performant & highly capable.
The two methods that immediately come to mind would be updating the players deceleration value, or for more granular control you could tween a value and update the players speed to reflect that while the tween is running.