boss update

This commit is contained in:
Ultrablob 2024-04-29 16:27:25 -04:00
parent bb871371b6
commit f7d034147d
15 changed files with 577 additions and 79 deletions

View file

@ -10,11 +10,6 @@ func _physics_process(delta):
if player in $Explosion.get_overlapping_bodies():
$Sprite2D.play("default")
func explode():
for item in $Explosion.get_overlapping_bodies():
hit(item)
queue_free()
func hit(body):
if body.is_in_group("destructible"):