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

92 lines
2.7 KiB
Text
Raw Normal View History

2022-02-15 22:21:57 +00:00
[gd_scene load_steps=6 format=3 uid="uid://cdyi1a858p7em"]
2022-02-12 19:45:44 +00:00
2022-02-15 22:21:57 +00:00
[ext_resource type="Theme" uid="uid://bi1js53ni6ehd" path="res://UI/themes/khanat/khanat.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-02-15 22:21:57 +00:00
[ext_resource type="PackedScene" uid="uid://cb0gfweooxdsl" path="res://scenes/themes/themes.tscn" id="4_1poje"]
2022-02-12 19:45:44 +00:00
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
2022-02-15 22:21:57 +00:00
theme = ExtResource( "1_iq3fo" )
2022-02-12 19:45:44 +00:00
script = ExtResource( "1_s6f6d" )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Message" type="HBoxContainer" parent="."]
anchor_right = 1.0
size_flags_horizontal = 0
size_flags_vertical = 0
alignment = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Message"]
2022-02-15 22:21:57 +00:00
offset_left = 918.0
2022-02-12 19:45:44 +00:00
offset_right = 1024.0
2022-02-15 22:21:57 +00:00
offset_bottom = 27.0
2022-02-12 19:45:44 +00:00
size_flags_vertical = 1
text = "Echap = Menu"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Menu" type="HBoxContainer" parent="."]
visible = false
anchor_right = 1.0
offset_right = 40.0
offset_bottom = 40.0
alignment = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Keys" type="Button" parent="Menu"]
2022-02-12 22:15:01 +00:00
offset_left = 510.0
offset_right = 554.0
2022-02-12 19:45:44 +00:00
offset_bottom = 40.0
text = "Keys"
2022-02-15 22:21:57 +00:00
[node name="Themes" type="Button" parent="Menu"]
offset_right = 8.0
offset_bottom = 31.0
text = "Themes"
2022-02-12 19:45:44 +00:00
[node name="Languages" type="Button" parent="Menu"]
offset_left = 492.0
offset_right = 574.0
offset_bottom = 40.0
text = "Languages"
[node name="Quit" type="Button" parent="Menu"]
offset_left = 578.0
offset_right = 619.0
offset_bottom = 40.0
text = "Quit"
[node name="Timer" type="Timer" parent="."]
wait_time = 10.0
one_shot = true
autostart = true
[node name="ConfirmQuit" type="ConfirmationDialog" parent="."]
dialog_text = "Do you want quit?"
[node name="MenuOption" parent="." instance=ExtResource( "2_um8fw" )]
visible = false
2022-02-12 22:15:01 +00:00
[node name="MenuControl" parent="." instance=ExtResource( "3_08xl7" )]
2022-02-15 22:21:57 +00:00
[node name="MenuTheme" parent="." instance=ExtResource( "4_1poje" )]
visible = false
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"]
[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"]