This commit is contained in:
pennyrigate 2025-12-30 19:32:51 -05:00
parent a6421235f8
commit d729c0a7a3
14 changed files with 187 additions and 2 deletions

View file

@ -21,3 +21,14 @@ func _physics_process(delta: float) -> void:
func _on_hurtbox_area_entered(area: Area2D) -> void:
%DeathSound.play()
position = startpos
CurrentGame.change_lives(-1)
if CurrentGame.lives < 0:
gover()
func gover():
print("yeeeowtch!!!")
func _on_graze_box_area_entered(area: Area2D) -> void:
%GrazeParticles.emitting = true
CurrentGame.change_graze(1)