godot-third-person-basic-scene/scenes/hud/hud.tscn

132 lines
4.2 KiB
Text

[gd_scene load_steps=8 format=3 uid="uid://cdyi1a858p7em"]
[ext_resource type="Theme" uid="uid://bi1js53ni6ehd" path="res://UI/themes/zbasu/zbasu.theme" id="1_iq3fo"]
[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"]
[ext_resource type="PackedScene" uid="uid://cl8xk8w3jmta0" path="res://scenes/controls/controls.tscn" id="3_08xl7"]
[ext_resource type="PackedScene" uid="uid://cb0gfweooxdsl" path="res://scenes/themes/themes.tscn" id="4_1poje"]
[ext_resource type="PackedScene" uid="uid://ebfrhgrluixd" path="res://scenes/music/music_manager.tscn" id="6_0ivsi"]
[ext_resource type="PackedScene" uid="uid://bw4pethe0hrey" path="res://scenes/developper/developper.tscn" id="7_ix5xc"]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( "1_iq3fo" )
script = ExtResource( "1_s6f6d" )
[node name="Message" type="HBoxContainer" parent="."]
visible = false
anchor_right = 1.0
size_flags_horizontal = 0
size_flags_vertical = 0
alignment = 2
[node name="Label" type="Label" parent="Message"]
offset_left = 917.0
offset_right = 1024.0
offset_bottom = 27.0
size_flags_vertical = 1
text = "Echap = Menu"
[node name="Menu" type="HBoxContainer" parent="."]
visible = false
anchor_right = 1.0
offset_right = 40.0
offset_bottom = 40.0
alignment = 1
[node name="Keys" type="Button" parent="Menu"]
offset_left = 205.0
offset_right = 282.0
offset_bottom = 40.0
text = "HUD/KEYS"
[node name="Themes" type="Button" parent="Menu"]
offset_left = 285.0
offset_right = 386.0
offset_bottom = 40.0
text = "HUD/THEMES"
[node name="Languages" type="Button" parent="Menu"]
offset_left = 389.0
offset_right = 520.0
offset_bottom = 40.0
text = "HUD/LANGUAGES"
[node name="Music" type="Button" parent="Menu"]
offset_left = 523.0
offset_right = 610.0
offset_bottom = 40.0
text = "HUD/MUSIC"
[node name="Dev" type="Button" parent="Menu"]
offset_left = 613.0
offset_right = 684.0
offset_bottom = 40.0
text = "HUD/DEV"
[node name="About" type="Button" parent="Menu"]
offset_left = 687.0
offset_right = 779.0
offset_bottom = 40.0
text = "HUD/ABOUT"
[node name="Quit" type="Button" parent="Menu"]
offset_left = 782.0
offset_right = 858.0
offset_bottom = 40.0
text = "HUD/QUIT"
[node name="Timer" type="Timer" parent="."]
wait_time = 10.0
one_shot = true
autostart = true
[node name="ConfirmQuit" type="ConfirmationDialog" parent="."]
title = "POPUP_CONFIRM_QUIT/TITLE"
dialog_text = "POPUP_CONFIRM_QUIT/MESSAGE"
[node name="AboutMessage" type="AcceptDialog" parent="."]
title = "POPUP_ABOUT_MESSAGE/TITLE"
[node name="MenuLanguage" parent="." instance=ExtResource( "2_um8fw" )]
visible = false
[node name="MenuControl" parent="." instance=ExtResource( "3_08xl7" )]
[node name="MenuTheme" parent="." instance=ExtResource( "4_1poje" )]
visible = false
anchor_right = 0.0
anchor_bottom = 0.0
metadata/_edit_layout_mode = 1
metadata/_edit_use_custom_anchors = false
[node name="MusicManager" parent="." instance=ExtResource( "6_0ivsi" )]
visible = false
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
grow_horizontal = 2
grow_vertical = 2
metadata/_edit_layout_mode = 1
metadata/_edit_use_custom_anchors = false
[node name="MenuDev" parent="." instance=ExtResource( "7_ix5xc" )]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
metadata/_edit_layout_mode = 1
metadata/_edit_use_custom_anchors = false
[connection signal="pressed" from="Menu/Keys" to="." method="_on_keys_pressed"]
[connection signal="pressed" from="Menu/Themes" to="." method="_on_themes_pressed"]
[connection signal="pressed" from="Menu/Languages" to="." method="_on_languages_pressed"]
[connection signal="pressed" from="Menu/Music" to="." method="_on_music_pressed"]
[connection signal="pressed" from="Menu/Dev" to="." method="_on_dev_pressed"]
[connection signal="pressed" from="Menu/About" to="." method="_on_about_pressed"]
[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"]