From 52c5f20d3a657ef59a0c39cc861bebdf0baad8dd Mon Sep 17 00:00:00 2001 From: Page Asgardius Date: Sun, 28 Jan 2024 17:57:21 -0700 Subject: [PATCH] basic skill --- levels/Testrooms/bullethell.gd | 2 +- sprites/common/bullet/fireball.gd | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/levels/Testrooms/bullethell.gd b/levels/Testrooms/bullethell.gd index e2413d7..0139a3b 100644 --- a/levels/Testrooms/bullethell.gd +++ b/levels/Testrooms/bullethell.gd @@ -4,7 +4,7 @@ var boss # Called when the node enters the scene tree for the first time. func _ready(): boss = $Natasha - boss.add_to_group("enemies") + boss.add_to_group("boss") Global.cdialog = [["What are you doing heree?", true, 0], ["Your father need help to debug this game", false, 9], ["Ok, i'll help too", true, 0]] Global.live = 0 get_tree().root.add_child.call(talk) diff --git a/sprites/common/bullet/fireball.gd b/sprites/common/bullet/fireball.gd index 505d734..a2ce855 100644 --- a/sprites/common/bullet/fireball.gd +++ b/sprites/common/bullet/fireball.gd @@ -19,6 +19,8 @@ func _on_body_entered(body): # Global.live = 2 #elif body.is_in_group("enemies"): # Global.live = 3 + #elif body.is_in_group("boss"): + # Global.live = 3 queue_free()