Files
HorrorGame/Assets/components/Pause Screen.tscn

143 lines
3.9 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://bwo6gvmi3jcqt"]
[ext_resource type="Script" path="res://Assets/scripts/Pause Screen.gd" id="1_tqif2"]
[ext_resource type="Theme" uid="uid://bm7gkjfqwmc3i" path="res://Assets/Resources/main_menu_theme.tres" id="1_yky8a"]
[ext_resource type="Theme" uid="uid://cma1dv10wxujx" path="res://Assets/Resources/Themes/Settings_UI_Theme.tres" id="3_3n0hv"]
[ext_resource type="PackedScene" uid="uid://dmut5abf8v8c1" path="res://Assets/components/Settings_Option.tscn" id="4_6nahw"]
[node name="Menus" 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_yky8a")
script = ExtResource("1_tqif2")
[node name="Pause Menu" type="Control" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Pause Label" type="RichTextLabel" parent="Pause Menu"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -35.0
offset_right = 35.0
offset_bottom = 28.0
grow_horizontal = 2
text = "Paused"
[node name="Menu" type="VBoxContainer" parent="Pause Menu"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -35.0
offset_top = -50.5
offset_right = 35.0
offset_bottom = 50.5
grow_horizontal = 2
grow_vertical = 2
[node name="Resume" type="Button" parent="Pause Menu/Menu"]
layout_mode = 2
text = "Resume"
[node name="Settings" type="Button" parent="Pause Menu/Menu"]
layout_mode = 2
text = "Settings"
[node name="Quit" type="Button" parent="Pause Menu/Menu"]
layout_mode = 2
text = "Quit
"
[node name="Settings" type="Control" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("3_3n0hv")
[node name="ColorRect" type="ColorRect" parent="Settings"]
clip_contents = true
layout_mode = 1
anchors_preset = -1
anchor_left = 0.253
anchor_top = 0.128
anchor_right = 0.747
anchor_bottom = 0.872
offset_left = 0.23996
offset_top = -0.240005
offset_right = -0.240112
offset_bottom = 0.239929
grow_horizontal = 2
grow_vertical = 2
color = Color(0.164706, 0.172549, 0.215686, 0.662745)
[node name="Label" type="Label" parent="Settings/ColorRect"]
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
anchor_bottom = 0.063
offset_left = 398.0
offset_top = 25.0
offset_right = -398.0
offset_bottom = 0.348
grow_horizontal = 2
text = "Settings"
[node name="VBoxContainer" type="VBoxContainer" parent="Settings/ColorRect"]
layout_mode = 1
anchors_preset = -1
anchor_top = 0.088
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 146.0
offset_top = 44.248
offset_right = -151.0
offset_bottom = -16.0
grow_horizontal = 2
grow_vertical = 2
[node name="Setting Option" parent="Settings/ColorRect/VBoxContainer" instance=ExtResource("4_6nahw")]
layout_mode = 2
Setting = 0
[node name="Setting Option2" parent="Settings/ColorRect/VBoxContainer" instance=ExtResource("4_6nahw")]
layout_mode = 2
Setting = 1
[node name="Setting Option3" parent="Settings/ColorRect/VBoxContainer" instance=ExtResource("4_6nahw")]
layout_mode = 2
Setting = 2
[node name="Setting Option4" parent="Settings/ColorRect/VBoxContainer" instance=ExtResource("4_6nahw")]
layout_mode = 2
Setting = 3
[node name="Setting Option5" parent="Settings/ColorRect/VBoxContainer" instance=ExtResource("4_6nahw")]
layout_mode = 2
Setting = 4
[node name="Setting Option6" parent="Settings/ColorRect/VBoxContainer" instance=ExtResource("4_6nahw")]
layout_mode = 2
Setting = 5
[connection signal="pressed" from="Pause Menu/Menu/Resume" to="." method="_on_resume_pressed"]
[connection signal="pressed" from="Pause Menu/Menu/Settings" to="." method="_on_settings_pressed"]
[connection signal="pressed" from="Pause Menu/Menu/Quit" to="." method="_on_quit_pressed"]