forked from team-sg/hero-mark-2
set player down slightly when walking off edge (fixes #122)
This commit is contained in:
parent
9a3a62d16b
commit
63840a3199
1 changed files with 1 additions and 0 deletions
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue