pause menu WIP

This commit is contained in:
Fabio 2024-08-20 04:52:54 +02:00
parent 033718351e
commit 9d43b070af
7 changed files with 258 additions and 8 deletions

View file

@ -62,9 +62,9 @@ layout_mode = 2
theme_override_fonts/font = ExtResource("1_1tx2i")
text = ">"
[node name="credits" type="Button" parent="Control/VBoxContainer/Buttons/HBoxContainer2"]
[node name="level_select" type="Button" parent="Control/VBoxContainer/Buttons/HBoxContainer2"]
layout_mode = 2
text = "credits"
text = "level selection"
flat = true
[node name="HBoxContainer3" type="HBoxContainer" parent="Control/VBoxContainer/Buttons"]
@ -77,11 +77,27 @@ layout_mode = 2
theme_override_fonts/font = ExtResource("1_1tx2i")
text = ">"
[node name="quit" type="Button" parent="Control/VBoxContainer/Buttons/HBoxContainer3"]
[node name="credits" type="Button" parent="Control/VBoxContainer/Buttons/HBoxContainer3"]
layout_mode = 2
text = "credits"
flat = true
[node name="HBoxContainer4" type="HBoxContainer" parent="Control/VBoxContainer/Buttons"]
visible = false
layout_mode = 2
[node name="Label" type="Label" parent="Control/VBoxContainer/Buttons/HBoxContainer4"]
custom_minimum_size = Vector2(8, 0)
layout_mode = 2
theme_override_fonts/font = ExtResource("1_1tx2i")
text = ">"
[node name="quit" type="Button" parent="Control/VBoxContainer/Buttons/HBoxContainer4"]
layout_mode = 2
text = "quit"
flat = true
[connection signal="pressed" from="Control/VBoxContainer/Buttons/HBoxContainer/start" to="Control" method="_on_start_button_pressed"]
[connection signal="pressed" from="Control/VBoxContainer/Buttons/HBoxContainer2/credits" to="Control" method="_on_credits_button_pressed"]
[connection signal="pressed" from="Control/VBoxContainer/Buttons/HBoxContainer3/quit" to="Control" method="_on_quit_button_pressed"]
[connection signal="pressed" from="Control/VBoxContainer/Buttons/HBoxContainer2/level_select" to="Control" method="_on_level_select_pressed"]
[connection signal="pressed" from="Control/VBoxContainer/Buttons/HBoxContainer3/credits" to="Control" method="_on_credits_button_pressed"]
[connection signal="pressed" from="Control/VBoxContainer/Buttons/HBoxContainer4/quit" to="Control" method="_on_quit_button_pressed"]