This commit is contained in:
Ultrablob 2024-05-06 10:05:42 -04:00
parent 100572749a
commit 11a54f2b94
22 changed files with 304 additions and 532 deletions

5
tar.gd
View file

@ -2,10 +2,13 @@ extends RigidBody2D
var phase2_active = false
var health = 10
var spawn_remaining = 10
var spawn_remaining = 7
@onready var player = $"../Player"
func hit(body):
if not phase2_active:
return
if body.is_in_group("destructible"):
if body.has_method("destroy"):
body.destroy()