set player down slightly when walking off edge (fixes #122)

This commit is contained in:
Haze Weathers 2023-06-30 12:28:46 -04:00
parent 9a3a62d16b
commit 63840a3199

View file

@ -200,6 +200,7 @@ func _on_DoubleJump_state_entered() -> void:
animation_player.play("double_jump") animation_player.play("double_jump")
func _on_CoyoteFalling_state_entered() -> void: func _on_CoyoteFalling_state_entered() -> void:
global_position.y += 1.0
velocity.x = 0.0 velocity.x = 0.0
animation_player.play("fall") animation_player.play("fall")