boss update
This commit is contained in:
parent
bb871371b6
commit
f7d034147d
15 changed files with 577 additions and 79 deletions
|
@ -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"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue