Godot Version
4.2.1
Question
Does anyone now how would you go about implementing deceleration when switching direction like in the classic sonic games
4.2.1
Does anyone now how would you go about implementing deceleration when switching direction like in the classic sonic games
Detect the change in state. Reduce Sonic’s velocity in a tween perhaps. There must be many ways to try. Just jump in!
Hey there,
take a lot a the part with friction.
Make an Action RPG in Godot 3.2 (P2 | delta + smooth movement) (youtube.com)
This helped me
Thanks for the 2 replied. I figured out how to do it, it was similar to friction video but before it starts it checks the velocity.x to see if you’re going left or right and add or subtract from there