This commit is contained in:
Page Asgardius 2024-05-10 18:35:07 -07:00
parent 47dd61c2a1
commit 662da6fe1c
9 changed files with 41 additions and 27 deletions

View file

@ -7,7 +7,7 @@ func _ready():
boss = $Natasha
player = $Player
boss.add_to_group("boss")
Global.cdialog = [["What are you doing here?", true, 0, 0], ["Your father need help to debug this game", false, 9], ["Ok, i'll help too", true, 0, 0]]
Global.cdialog = [[tr("DIALOG_DANMAKUTEST_0"), true, 0, 0], [tr("DIALOG_DANMAKUTEST_1"), false, 9], [tr("DIALOG_DANMAKUTEST_2"), true, 0, 0]]
Global.live = 0
get_tree().root.add_child.call(talk)

View file

@ -2,7 +2,7 @@ extends Node2D
var talk = load("res://levels/ui/talk.tscn").instantiate()
# Called when the node enters the scene tree for the first time.
func _ready():
Global.cdialog = [["What is this place?", true, 0, 0], ["I'm here", false, 9], ["I got you, cheap copy", false, 0]]
Global.cdialog = [[tr("DIALOG_TEST_0"), true, 0, 0], [tr("DIALOG_TEST_1"), false, 9], [tr("DIALOG_TEST_2"), false, 0]]
Global.live = 0
get_tree().root.add_child.call(talk)

View file

@ -46,6 +46,11 @@ func _on_exit_pressed():
func _on_noob_pressed():
Global.dificulty = 1
Global.cplace = [1, 11, 19]
Global.live = 1
Global.party = [[0,0], null, null, null]
get_tree().change_scene_to_file("res://levels/ui/gameplay.tscn")
pass # Replace with function body.

View file

@ -13,7 +13,7 @@ bg_color = Color(0, 0.8, 0, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_r2qrn"]
bg_color = Color(0, 0.8, 0, 1)
[node name="Tmenu" type="Control"]
[node name="Newgame" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0