My attempt at putting OakleyCyclop's Godot3 source movement into godot4.
Did my best to try to clean everything up.
This branch is not entirely to source movement. The goal of this branch is to continue work on the project that has been mostly abandoned, as well as add some modern features to make gameplay smoother. I want to use this as a starting point for my own game and will make a sperate branch/fork for something like that
- Automatically jump as soon as possible with space held (Auto bunny hop)
- Coyote time
- Airstrafing
- Bunnyhopping
- Wallstrafing
- Zig-Zagging
- Surfing (broke in transition to Godot 4)
- Crouching
- Collision modifying when crouching
- Crouch-Jumping
- Gravity
- Ground Friction
- Sticks to ground on shallow slopes
- Accelerated Back Hop
- Swimming
- Player is controlled by two state machines:
- activtyMachine controls if the player is on the ground or in the air. (And if it is swimming in the future)
- standingMachine controls the crouching, keeping track of if it is standing, mid-crouching, and crouched