2022-06-26 13:20:42 +00:00
|
|
|
[gd_scene load_steps=8 format=3 uid="uid://cdyi1a858p7em"]
|
2022-02-12 19:45:44 +00:00
|
|
|
|
2022-02-24 22:08:03 +00:00
|
|
|
[ext_resource type="Theme" uid="uid://bi1js53ni6ehd" path="res://UI/themes/zbasu/zbasu.theme" id="1_iq3fo"]
|
2022-02-12 19:45:44 +00:00
|
|
|
[ext_resource type="Script" path="res://scenes/hud/hud.gd" id="1_s6f6d"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dpvequp5fv27k" path="res://scenes/languages/languages.tscn" id="2_um8fw"]
|
2022-02-12 22:15:01 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://cl8xk8w3jmta0" path="res://scenes/controls/controls.tscn" id="3_08xl7"]
|
2022-06-26 13:20:42 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://otvln5ol34bj" path="res://scenes/languages/languages2.tscn" id="3_gyqw8"]
|
2022-02-15 22:21:57 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://cb0gfweooxdsl" path="res://scenes/themes/themes.tscn" id="4_1poje"]
|
2022-04-15 07:53:44 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://ebfrhgrluixd" path="res://scenes/music/music_manager.tscn" id="6_0ivsi"]
|
2022-02-12 19:45:44 +00:00
|
|
|
|
|
|
|
[node name="Control" type="Control"]
|
2022-10-31 18:43:59 +00:00
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
2022-02-12 19:45:44 +00:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2023-04-13 17:35:20 +00:00
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2022-09-05 19:56:40 +00:00
|
|
|
theme = ExtResource("1_iq3fo")
|
|
|
|
script = ExtResource("1_s6f6d")
|
2022-02-12 19:45:44 +00:00
|
|
|
|
|
|
|
[node name="Message" type="HBoxContainer" parent="."]
|
2023-04-13 17:35:20 +00:00
|
|
|
layout_mode = 0
|
2022-02-12 19:45:44 +00:00
|
|
|
anchor_right = 1.0
|
|
|
|
size_flags_horizontal = 0
|
|
|
|
size_flags_vertical = 0
|
|
|
|
alignment = 2
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Message"]
|
2023-04-13 17:35:20 +00:00
|
|
|
layout_mode = 2
|
2022-02-12 19:45:44 +00:00
|
|
|
size_flags_vertical = 1
|
|
|
|
text = "Echap = Menu"
|
|
|
|
|
|
|
|
[node name="Menu" type="HBoxContainer" parent="."]
|
|
|
|
visible = false
|
2023-04-13 17:35:20 +00:00
|
|
|
layout_mode = 0
|
2022-02-12 19:45:44 +00:00
|
|
|
anchor_right = 1.0
|
|
|
|
offset_right = 40.0
|
|
|
|
offset_bottom = 40.0
|
|
|
|
alignment = 1
|
|
|
|
|
|
|
|
[node name="Keys" type="Button" parent="Menu"]
|
2023-04-13 17:35:20 +00:00
|
|
|
layout_mode = 2
|
|
|
|
focus_neighbor_right = NodePath("../Themes")
|
2022-02-24 22:08:03 +00:00
|
|
|
text = "HUD/KEYS"
|
2022-02-12 19:45:44 +00:00
|
|
|
|
2022-02-15 22:21:57 +00:00
|
|
|
[node name="Themes" type="Button" parent="Menu"]
|
2023-04-13 17:35:20 +00:00
|
|
|
layout_mode = 2
|
|
|
|
focus_neighbor_left = NodePath("../Keys")
|
|
|
|
focus_neighbor_right = NodePath("../Languages")
|
2022-02-24 22:08:03 +00:00
|
|
|
text = "HUD/THEMES"
|
2022-02-15 22:21:57 +00:00
|
|
|
|
2022-02-12 19:45:44 +00:00
|
|
|
[node name="Languages" type="Button" parent="Menu"]
|
2023-04-13 17:35:20 +00:00
|
|
|
layout_mode = 2
|
|
|
|
focus_neighbor_left = NodePath("../Themes")
|
|
|
|
focus_neighbor_right = NodePath("../Music")
|
2022-02-24 22:08:03 +00:00
|
|
|
text = "HUD/LANGUAGES"
|
2022-02-12 19:45:44 +00:00
|
|
|
|
2022-04-15 07:53:44 +00:00
|
|
|
[node name="Music" type="Button" parent="Menu"]
|
2023-04-13 17:35:20 +00:00
|
|
|
layout_mode = 2
|
|
|
|
focus_neighbor_left = NodePath("../Languages")
|
|
|
|
focus_neighbor_right = NodePath("../About")
|
2022-04-15 07:53:44 +00:00
|
|
|
text = "HUD/MUSIC"
|
|
|
|
|
2022-03-30 20:32:56 +00:00
|
|
|
[node name="About" type="Button" parent="Menu"]
|
2023-04-13 17:35:20 +00:00
|
|
|
layout_mode = 2
|
|
|
|
focus_neighbor_left = NodePath("../Music")
|
|
|
|
focus_neighbor_right = NodePath("../Quit")
|
2022-03-30 20:32:56 +00:00
|
|
|
text = "HUD/ABOUT"
|
|
|
|
|
2022-02-12 19:45:44 +00:00
|
|
|
[node name="Quit" type="Button" parent="Menu"]
|
2023-04-13 17:35:20 +00:00
|
|
|
layout_mode = 2
|
|
|
|
focus_neighbor_left = NodePath("../About")
|
2022-02-24 22:08:03 +00:00
|
|
|
text = "HUD/QUIT"
|
2022-02-12 19:45:44 +00:00
|
|
|
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
|
|
wait_time = 10.0
|
|
|
|
one_shot = true
|
|
|
|
autostart = true
|
|
|
|
|
|
|
|
[node name="ConfirmQuit" type="ConfirmationDialog" parent="."]
|
2022-02-24 22:08:03 +00:00
|
|
|
title = "POPUP_CONFIRM_QUIT/TITLE"
|
|
|
|
dialog_text = "POPUP_CONFIRM_QUIT/MESSAGE"
|
2022-02-12 19:45:44 +00:00
|
|
|
|
2022-03-30 20:32:56 +00:00
|
|
|
[node name="AboutMessage" type="AcceptDialog" parent="."]
|
|
|
|
title = "POPUP_ABOUT_MESSAGE/TITLE"
|
|
|
|
|
2022-09-05 19:56:40 +00:00
|
|
|
[node name="MenuLanguage" parent="." instance=ExtResource("3_gyqw8")]
|
2022-06-26 13:20:42 +00:00
|
|
|
visible = false
|
2023-04-13 17:35:20 +00:00
|
|
|
layout_mode = 1
|
2022-06-26 13:20:42 +00:00
|
|
|
anchor_left = 0.096
|
|
|
|
anchor_top = 0.137
|
|
|
|
offset_left = -0.304001
|
|
|
|
offset_right = 0.807983
|
|
|
|
offset_bottom = 3.20001
|
|
|
|
metadata/_edit_layout_mode = 1
|
|
|
|
|
2022-09-05 19:56:40 +00:00
|
|
|
[node name="MenuLanguage2" parent="." instance=ExtResource("2_um8fw")]
|
2022-02-12 19:45:44 +00:00
|
|
|
visible = false
|
|
|
|
|
2022-09-05 19:56:40 +00:00
|
|
|
[node name="MenuControl" parent="." instance=ExtResource("3_08xl7")]
|
2023-04-13 17:35:20 +00:00
|
|
|
layout_mode = 1
|
2022-02-12 22:15:01 +00:00
|
|
|
|
2022-09-05 19:56:40 +00:00
|
|
|
[node name="MenuTheme" parent="." instance=ExtResource("4_1poje")]
|
2022-02-15 22:21:57 +00:00
|
|
|
visible = false
|
2023-04-13 17:35:20 +00:00
|
|
|
layout_mode = 1
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2022-02-15 22:21:57 +00:00
|
|
|
|
2022-09-05 19:56:40 +00:00
|
|
|
[node name="MusicManager" parent="." instance=ExtResource("6_0ivsi")]
|
2023-04-13 17:35:20 +00:00
|
|
|
visible = false
|
2022-04-15 07:53:44 +00:00
|
|
|
|
2022-02-12 22:15:01 +00:00
|
|
|
[connection signal="pressed" from="Menu/Keys" to="." method="_on_keys_pressed"]
|
2022-02-15 22:21:57 +00:00
|
|
|
[connection signal="pressed" from="Menu/Themes" to="." method="_on_themes_pressed"]
|
2022-02-12 19:45:44 +00:00
|
|
|
[connection signal="pressed" from="Menu/Languages" to="." method="_on_languages_pressed"]
|
2022-04-15 07:53:44 +00:00
|
|
|
[connection signal="pressed" from="Menu/Music" to="." method="_on_music_pressed"]
|
2022-03-30 20:32:56 +00:00
|
|
|
[connection signal="pressed" from="Menu/About" to="." method="_on_about_pressed"]
|
2022-02-12 19:45:44 +00:00
|
|
|
[connection signal="pressed" from="Menu/Quit" to="." method="_on_quit_pressed"]
|
|
|
|
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|
|
|
|
[connection signal="confirmed" from="ConfirmQuit" to="." method="_on_confirmation_dialog_confirmed"]
|