level pt1

This commit is contained in:
Michael Campbell 2026-03-02 23:23:21 -05:00
parent e14289807b
commit ebdb9c7074
13 changed files with 5138 additions and 1 deletions

View file

@ -52,7 +52,8 @@ func exp_lerp(a: Variant, b: Variant, decay: float, dt: float) -> Variant:
func _process_movement(delta: float) -> void:
var input = Input.get_vector("move_left", "move_right", "move_up", "move_down")
input.normalized()
var desired_velocity = Vector3(input.x, 0., input.y) * MOVE_SPEED
var mul := 5. if DebugMenu.high_speed_hack else 1.
var desired_velocity = Vector3(input.x, 0., input.y) * MOVE_SPEED * mul
velocity = exp_lerp(velocity, desired_velocity, 20, delta)
move_and_slide()