I made a movement system with smooth jumping gravity and left-to-right acceleration. Press the space key to jump, or increase gravity by 10 Arrow keys (<- ->) to accelerate (move) left to right He also flips directions
Me You can use this for your project