forked from team-sg/hero-mark-2
I HATE YOU
This commit is contained in:
parent
b3f1a30d13
commit
8e8869ba9f
16 changed files with 89 additions and 24 deletions
|
@ -38,7 +38,6 @@ onready var head_sprite = $"%Head"
|
|||
|
||||
|
||||
func _physics_process(delta: float) -> void:
|
||||
print(global_position)
|
||||
match state:
|
||||
State.DEAD:
|
||||
return
|
||||
|
@ -128,6 +127,7 @@ func knock_back(amount: float, can_duck: bool = false) -> void:
|
|||
if can_duck and state == State.DUCK:
|
||||
return
|
||||
knockback += amount
|
||||
print("YOWCH")
|
||||
|
||||
|
||||
func _play_laser_sound(play: bool):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue