This commit is contained in:
MarkYabut committed 2026-10-06 20:58:01 -04:00
1 parent 8768909429
commit 3607e63548
9 files changed
+138 -15

No files matched your search

+7
View File
@@ -22,3 +22,10 @@ func _on_trigger(effect: Variant, Object: Variant) -> void:
print("Trigger wants to teleport")
if Object is Crate:
teleportSignal.emit(Object)
func _on_bullet_hit(body, bullet) -> void:
print("GC knows bullet hit")
if body is Crate:
body.queue_free()
bullet.queue_free()