try this physics engine Arrows to move will get updates...
1.0: base simulator. 1.1: added acceleration and removed double jumping. 1.2: added slide acceleration/ slide dash( get up to full acceleration then hold both left and right arrow keys, and let go of the opposite arrow of the direction you want to go in) and removed air jumping and added moving platform. Music from bee swarm simulator... this project had more math than I was ready for...