90 lines
3.1 KiB
Plaintext
90 lines
3.1 KiB
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://buvgdem68wtev"]
|
|
|
|
[ext_resource type="Theme" uid="uid://b6a0ip4p72tgx" path="res://new_theme.tres" id="1_gaupv"]
|
|
[ext_resource type="Script" path="res://Scripts/pause_menu.gd" id="2_4pn2l"]
|
|
|
|
[node name="Control" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("1_gaupv")
|
|
script = ExtResource("2_4pn2l")
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0.278431, 0.278431, 0.278431, 0.545098)
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -20.0
|
|
offset_top = -20.0
|
|
offset_right = 20.0
|
|
offset_bottom = 20.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 24
|
|
theme_override_constants/margin_top = 5
|
|
theme_override_constants/margin_right = 24
|
|
theme_override_constants/margin_bottom = 5
|
|
|
|
[node name="Resume" type="Button" parent="PanelContainer/VBoxContainer/MarginContainer"]
|
|
layout_mode = 2
|
|
text = "Resume"
|
|
|
|
[node name="MarginContainer2" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 24
|
|
theme_override_constants/margin_top = 5
|
|
theme_override_constants/margin_right = 24
|
|
theme_override_constants/margin_bottom = 5
|
|
|
|
[node name="Options" type="Button" parent="PanelContainer/VBoxContainer/MarginContainer2"]
|
|
layout_mode = 2
|
|
text = "Options"
|
|
|
|
[node name="MarginContainer3" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 24
|
|
theme_override_constants/margin_top = 5
|
|
theme_override_constants/margin_right = 24
|
|
theme_override_constants/margin_bottom = 5
|
|
|
|
[node name="QuitToMainMenu" type="Button" parent="PanelContainer/VBoxContainer/MarginContainer3"]
|
|
layout_mode = 2
|
|
text = "Quit to main menu"
|
|
|
|
[node name="MarginContainer4" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 24
|
|
theme_override_constants/margin_top = 5
|
|
theme_override_constants/margin_right = 24
|
|
theme_override_constants/margin_bottom = 5
|
|
|
|
[node name="QuitToDesktop" type="Button" parent="PanelContainer/VBoxContainer/MarginContainer4"]
|
|
layout_mode = 2
|
|
text = "Quit to desktop"
|
|
|
|
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer/Resume" to="." method="_on_resume_pressed"]
|
|
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer2/Options" to="." method="_on_options_pressed"]
|
|
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer3/QuitToMainMenu" to="." method="_on_quit_to_main_menu_pressed"]
|
|
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer4/QuitToDesktop" to="." method="_on_quit_to_desktop_pressed"]
|