Added pause menu

This commit is contained in:
2025-10-19 00:30:13 +03:00
parent ba81352133
commit 83b14d31cd
20 changed files with 301 additions and 60 deletions
+13 -17
View File
@@ -2,41 +2,37 @@
[ext_resource type="Script" uid="uid://dclkpithyykju" path="res://menu/credits.gd" id="1_wp78b"]
[node name="Credits" type="Node"]
script = ExtResource("1_wp78b")
[node name="Control" type="Control" parent="."]
[node name="Credits" type="Control"]
layout_mode = 3
anchors_preset = 0
script = ExtResource("1_wp78b")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 0
offset_left = 100.0
offset_top = 100.0
offset_right = 140.0
offset_bottom = 140.0
offset_right = 330.0
offset_bottom = 158.0
[node name="VBoxContainer" type="VBoxContainer" parent="Control"]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="GridContainer" type="GridContainer" parent="Control/VBoxContainer"]
[node name="GridContainer" type="GridContainer" parent="VBoxContainer"]
layout_mode = 2
columns = 2
[node name="ProgrammingLabel" type="Label" parent="Control/VBoxContainer/GridContainer"]
[node name="ProgrammingLabel" type="Label" parent="VBoxContainer/GridContainer"]
layout_mode = 2
text = "Programming:"
horizontal_alignment = 2
[node name="ProgrammersLabel" type="Label" parent="Control/VBoxContainer/GridContainer"]
[node name="ProgrammersLabel" type="Label" parent="VBoxContainer/GridContainer"]
layout_mode = 2
text = "Ruslan Ignatov"
[node name="HBoxContainer" type="HBoxContainer" parent="Control/VBoxContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
alignment = 2
[node name="MainMenuButton" type="Button" parent="Control/VBoxContainer/HBoxContainer"]
[node name="MainMenuButton" type="Button" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "Main Menu"
[connection signal="pressed" from="Control/VBoxContainer/HBoxContainer/MainMenuButton" to="." method="_on_main_menu_button_pressed"]
[connection signal="pressed" from="VBoxContainer/HBoxContainer/MainMenuButton" to="." method="_on_main_menu_button_pressed"]