Skip to content

ebucario/Godot4SourceEngineMovement

 
 

Repository files navigation

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

Qol added not part of original source

  • Automatically jump as soon as possible with space held (Auto bunny hop)
  • Coyote time

To-Do List

  • 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

How it works

  • 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

About

Recreation of Source Engine Movement in godot4. Thank you to OakleyCyclops for making the Godot3 version which I messed around with.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • GDScript 100.0%