Removed sliding on death
This commit is contained in:
@@ -52,7 +52,7 @@ func _physics_process(delta: float) -> void:
|
|||||||
velocity.y = clampf(velocity.y, -max_fall_speed, max_fall_speed)
|
velocity.y = clampf(velocity.y, -max_fall_speed, max_fall_speed)
|
||||||
|
|
||||||
if is_dead:
|
if is_dead:
|
||||||
_slow_down(delta)
|
_slow_down(delta*3)
|
||||||
else:
|
else:
|
||||||
if Input.is_action_just_pressed("jump"):
|
if Input.is_action_just_pressed("jump"):
|
||||||
jump_buffer_timer.start()
|
jump_buffer_timer.start()
|
||||||
|
|||||||
Reference in New Issue
Block a user