Translations:Movement/10/en
- Pressing nothing:
- Ground: Every tick
velocity.x = velocity.x * 0.5
- Air: Every tick
velocity.x = velocity.x * 0.95
- Ground: Every tick
- Pressing key in opposite direction:
- Ground: Every tick the horizontal velocity decreases by 2 until 10 in the opposite direction is reached
- Air: Every tick the horizontal velocity decreases by 1.5 until 5 in the opposite direction is reached
- Horizontal speed up by pressing a or d:
- Ground: Every tick the horizontal velocity increases by 2 until 10 is reached
- Air: Every tick the horizontal velocity increases by 1.5 until 5 is reached\