duck jumping makes sg's jump one pixel higher
This commit is contained in:
parent
29e8f77d5c
commit
48180bad64
2 changed files with 14 additions and 0 deletions
|
@ -373,3 +373,8 @@ func _process_movement(delta: float) -> void:
|
|||
func _on_Hitbox_body_entered(body: Node) -> void:
|
||||
if body.is_in_group("death"):
|
||||
die()
|
||||
|
||||
|
||||
func _on_Ducking_event_received(event):
|
||||
if event == "jump":
|
||||
position.y -= 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue