Files
HorrorGame/Assets/components/Pause Screen.tscn
2024-05-09 18:41:23 -05:00

138 lines
3.5 KiB
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://bwo6gvmi3jcqt"]
[ext_resource type="Script" path="res://Assets/components/Pause Screen.gd" id="1_tqif2"]
[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
script = ExtResource("1_tqif2")
[node name="Pause Menu" type="Control" parent="."]
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
offset_left = -23.0
offset_top = 42.0
offset_right = -23.0
offset_bottom = 42.0
grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="Label" parent="Settings"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -20.0
offset_right = 20.0
offset_bottom = 23.0
grow_horizontal = 2
text = "Settings"
[node name="VBoxContainer" type="VBoxContainer" parent="Settings"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -223.0
offset_top = -430.5
offset_right = 223.0
offset_bottom = 430.5
grow_horizontal = 2
grow_vertical = 2
[node name="ColorRect" type="ColorRect" parent="Settings/VBoxContainer"]
custom_minimum_size = Vector2(0, 35)
layout_mode = 2
color = Color(0.184314, 0.184314, 0.184314, 1)
[node name="HSplitContainer" type="HSplitContainer" parent="Settings/VBoxContainer/ColorRect"]
layout_mode = 2
offset_top = 4.0
offset_right = 446.0
offset_bottom = 27.0
[node name="Label" type="Label" parent="Settings/VBoxContainer/ColorRect/HSplitContainer"]
layout_mode = 2
text = "Mouse Sensitity"
[node name="HSlider" type="HSlider" parent="Settings/VBoxContainer/ColorRect/HSplitContainer"]
layout_mode = 2
[node name="ColorRect2" type="ColorRect" parent="Settings/VBoxContainer"]
custom_minimum_size = Vector2(0, 35)
layout_mode = 2
color = Color(0.184314, 0.184314, 0.184314, 1)
[node name="HSplitContainer" type="HSplitContainer" parent="Settings/VBoxContainer/ColorRect2"]
layout_mode = 2
offset_top = 4.0
offset_right = 446.0
offset_bottom = 27.0
[node name="Label" type="Label" parent="Settings/VBoxContainer/ColorRect2/HSplitContainer"]
layout_mode = 2
text = "Joystick Sensativity"
[node name="HSlider" type="HSlider" parent="Settings/VBoxContainer/ColorRect2/HSplitContainer"]
layout_mode = 2
size_flags_horizontal = 4
[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"]