65 lines
1.8 KiB
Plaintext
65 lines
1.8 KiB
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://bqscbwk67fkf5"]
|
|
|
|
[ext_resource type="Script" uid="uid://cydmxkxpei0o3" path="res://scripts/user_interface/pause_menu/pause_menu.gd" id="1_m2jqd"]
|
|
[ext_resource type="PackedScene" uid="uid://cki48fruo8bym" path="res://scenes/user_interface/settings_menu.tscn" id="2_r41ql"]
|
|
|
|
[node name="PauseMenu" type="Control"]
|
|
process_mode = 3
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_m2jqd")
|
|
|
|
[node name="SettingsMenu" parent="." instance=ExtResource("2_r41ql")]
|
|
layout_mode = 2
|
|
anchors_preset = 0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
offset_left = 526.0
|
|
offset_top = 376.5
|
|
offset_right = 626.0
|
|
offset_bottom = 376.5
|
|
|
|
[node name="Background" type="ColorRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
color = Color(0.0774, 0.18, 0.14922, 0.498039)
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" 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 = -47.5
|
|
offset_top = -50.5
|
|
offset_right = 47.5
|
|
offset_bottom = 50.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="ResumeButton" type="Button" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Resume"
|
|
|
|
[node name="SettingsButton" type="Button" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Settings"
|
|
|
|
[node name="QuitButton" type="Button" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Quit to Title"
|
|
|
|
[connection signal="pressed" from="VBoxContainer/ResumeButton" to="." method="_on_resume_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/SettingsButton" to="." method="_on_settings_button_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/QuitButton" to="." method="_on_quit_button_pressed"]
|