map
This commit is contained in:
parent
512f573fb0
commit
50cac5c47b
30 changed files with 413 additions and 56 deletions
|
@ -11,10 +11,11 @@ var ishud = true
|
|||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
Global.live = 1
|
||||
add_child(bgsound)
|
||||
add_child(sfx1)
|
||||
level = load(Global.cutscenes[Global.ccutscene][0]).instantiate()
|
||||
musictrack = Global.cutscenes[Global.ccutscene][2]
|
||||
musictrack = Global.musictracks[Global.cutscenes[Global.ccutscene][2]]
|
||||
music = load(musictrack)
|
||||
get_tree().root.add_child.call_deferred(level)
|
||||
get_tree().root.add_child.call_deferred(bhud)
|
||||
|
@ -71,9 +72,9 @@ func _input(event):
|
|||
Global.ccutscene += 1
|
||||
get_tree().root.remove_child(level)
|
||||
level = load(Global.cutscenes[Global.ccutscene][0]).instantiate()
|
||||
if musictrack != Global.cutscenes[Global.ccutscene][2]:
|
||||
if musictrack != Global.musictracks[Global.cutscenes[Global.ccutscene][2]]:
|
||||
bgsound.stop()
|
||||
musictrack = Global.cutscenes[Global.ccutscene][2]
|
||||
musictrack = Global.musictracks[Global.cutscenes[Global.ccutscene][2]]
|
||||
music = load(musictrack)
|
||||
bgsound.stream = music
|
||||
bgsound.play(0)
|
||||
|
|
|
@ -50,3 +50,9 @@ func _on_l_20_pressed():
|
|||
Global.dplace = [1, 11, 19]
|
||||
Global.live = 1
|
||||
get_tree().change_scene_to_file("res://levels/ui/gameplay.tscn")
|
||||
|
||||
|
||||
func _on_lilytest_pressed() -> void:
|
||||
Global.dplace = [0, 0, 0]
|
||||
Global.live = 1
|
||||
get_tree().change_scene_to_file("res://levels/ui/gameplay.tscn")
|
||||
|
|
|
@ -61,7 +61,7 @@ text = "CERES_L20_DESC"
|
|||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs")
|
||||
text = "BUTTON_PLACEHOLDER"
|
||||
text = "MENU_MAP"
|
||||
|
||||
[node name="Dialogtest" type="Button" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
@ -94,4 +94,5 @@ theme_override_styles/focus = SubResource("StyleBoxFlat_r2qrn")
|
|||
text = "BUTTON_RETURN"
|
||||
|
||||
[connection signal="pressed" from="VBoxContainer/L20" to="." method="_on_l_20_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/Lilytest" to="." method="_on_lilytest_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/Back" to="." method="_on_back_pressed"]
|
||||
|
|
|
@ -92,7 +92,7 @@ Provided as a replacement for a HP 14 laptop that died while running Genshin Imp
|
|||
Steam Deck
|
||||
Arch Linux Rolling
|
||||
Used as development device since 0.0.0-dev release
|
||||
Provided by Evelyn Freeman
|
||||
Provided by Evelyn Freeman and killed by Valve Corporation
|
||||
|
||||
HP Pavilion x360
|
||||
Debian 12
|
||||
|
|
|
@ -67,8 +67,9 @@ func _on_disclaimer_pressed():
|
|||
|
||||
|
||||
func _on_testrooms_pressed():
|
||||
#get_tree().change_scene_to_file("res://levels/ui/testrooms.tscn")
|
||||
pass
|
||||
#Global.debug = false
|
||||
Global.ccutscene = 6
|
||||
get_tree().change_scene_to_file("res://levels/ui/Cutscenes.tscn")
|
||||
|
||||
|
||||
func _on_ceres_pressed():
|
||||
|
|
|
@ -61,7 +61,7 @@ text = "CUTSCENE_0_NAME"
|
|||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs")
|
||||
text = "BUTTON_PLACEHOLDER"
|
||||
text = "CUTSCENE_1_NAME"
|
||||
|
||||
[node name="Ceres" type="Button" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
|
|
@ -139,6 +139,7 @@ func _pausemenu():
|
|||
pmenu = load("res://levels/ui/pause.tscn").instantiate()
|
||||
Global.live = 1
|
||||
func _exit():
|
||||
Global.cdialog = []
|
||||
Global.exitgame = false
|
||||
ishud = false
|
||||
Global.bossready = false
|
||||
|
|
|
@ -87,29 +87,28 @@ visible = false
|
|||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_yb7nc")
|
||||
text = "Character"
|
||||
text = "MENU_CHARACTER"
|
||||
|
||||
[node name="Team" type="Button" parent="CanvasLayer/HBoxContainer2/VBoxContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_yb7nc")
|
||||
text = "Team"
|
||||
text = "MENU_TEAM"
|
||||
|
||||
[node name="Warp" type="Button" parent="CanvasLayer/HBoxContainer2/VBoxContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_yb7nc")
|
||||
text = "Warp
|
||||
"
|
||||
text = "MENU_MAP"
|
||||
|
||||
[node name="Settings" type="Button" parent="CanvasLayer/HBoxContainer2/VBoxContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_yb7nc")
|
||||
text = "Settings"
|
||||
text = "MENU_SETTINGS"
|
||||
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="CanvasLayer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
|
@ -119,26 +118,26 @@ visible = false
|
|||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_yb7nc")
|
||||
text = "Journal"
|
||||
text = "MENU_BOUKEN"
|
||||
|
||||
[node name="Challenges" type="Button" parent="CanvasLayer/HBoxContainer2/VBoxContainer2"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_yb7nc")
|
||||
text = "Challenges"
|
||||
text = "MENU_CHALLENGES"
|
||||
|
||||
[node name="Backpack" type="Button" parent="CanvasLayer/HBoxContainer2/VBoxContainer2"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_yb7nc")
|
||||
text = "Backpack"
|
||||
text = "MENU_BACKPACK"
|
||||
|
||||
[node name="Exit" type="Button" parent="CanvasLayer/HBoxContainer2/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_yb7nc")
|
||||
text = "Exit"
|
||||
text = "MENU_EXIT"
|
||||
|
||||
[connection signal="pressed" from="CanvasLayer/HBoxContainer2/VBoxContainer2/Exit" to="." method="_on_exit_pressed"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue