basic skill
This commit is contained in:
parent
24e5cbfea9
commit
52c5f20d3a
2 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,7 @@ var boss
|
||||||
# Called when the node enters the scene tree for the first time.
|
# Called when the node enters the scene tree for the first time.
|
||||||
func _ready():
|
func _ready():
|
||||||
boss = $Natasha
|
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.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
|
Global.live = 0
|
||||||
get_tree().root.add_child.call(talk)
|
get_tree().root.add_child.call(talk)
|
||||||
|
|
|
@ -19,6 +19,8 @@ func _on_body_entered(body):
|
||||||
# Global.live = 2
|
# Global.live = 2
|
||||||
#elif body.is_in_group("enemies"):
|
#elif body.is_in_group("enemies"):
|
||||||
# Global.live = 3
|
# Global.live = 3
|
||||||
|
#elif body.is_in_group("boss"):
|
||||||
|
# Global.live = 3
|
||||||
queue_free()
|
queue_free()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue