153 lines
6.7 KiB
Plaintext
153 lines
6.7 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://c670g1qg5gaug"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/PauseMenu.cs" id="1_p5jo3"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_k7oof"]
|
|
bg_color = Color(0.2, 0.2, 0.2, 0.921569)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_q40bd"]
|
|
bg_color = Color(0.25, 0.25, 0.25, 0.909804)
|
|
|
|
[node name="PauseMenu" type="Control" node_paths=PackedStringArray("InitialFocusTarget", "VolumeSlider", "CameraSensitivityX", "CameraSensitivityY", "CameraInvertX", "CameraInvertY")]
|
|
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_p5jo3")
|
|
InitialFocusTarget = NodePath("CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/ContinueButton")
|
|
VolumeSlider = NodePath("CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options/VolumeSlider")
|
|
CameraSensitivityX = NodePath("CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options/CameraXSlider")
|
|
CameraSensitivityY = NodePath("CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options/CameraYSlider")
|
|
CameraInvertX = NodePath("CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options/CameraXInvCheck")
|
|
CameraInvertY = NodePath("CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options/CameraYInvCheck")
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="."]
|
|
process_mode = 2
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="CenterContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 0
|
|
|
|
[node name="Control" type="Control" parent="CenterContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(100, 0)
|
|
layout_mode = 2
|
|
|
|
[node name="OptionsAndButtonsContainer" type="PanelContainer" parent="CenterContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_k7oof")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 20
|
|
theme_override_constants/margin_top = 20
|
|
theme_override_constants/margin_right = 20
|
|
theme_override_constants/margin_bottom = 20
|
|
|
|
[node name="Options and buttons" type="VBoxContainer" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 16
|
|
|
|
[node name="ContinueButton" type="Button" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons"]
|
|
layout_mode = 2
|
|
focus_neighbor_top = NodePath("../QuitButton")
|
|
text = "Continue"
|
|
|
|
[node name="Options" type="GridContainer" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons"]
|
|
layout_mode = 2
|
|
theme_override_constants/h_separation = 14
|
|
theme_override_constants/v_separation = 9
|
|
columns = 2
|
|
|
|
[node name="VolumeLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options"]
|
|
layout_mode = 2
|
|
text = "Volume"
|
|
|
|
[node name="VolumeSlider" type="HSlider" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options"]
|
|
custom_minimum_size = Vector2(100, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
max_value = 1.0
|
|
step = 0.05
|
|
|
|
[node name="CameraXLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options"]
|
|
layout_mode = 2
|
|
text = "Camera yaw speed"
|
|
|
|
[node name="CameraXSlider" type="HSlider" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 1
|
|
max_value = 10.0
|
|
step = 0.25
|
|
|
|
[node name="CameraXInvLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options"]
|
|
layout_mode = 2
|
|
text = "Camera invert yaw"
|
|
|
|
[node name="CameraXInvCheck" type="CheckButton" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options"]
|
|
layout_mode = 2
|
|
action_mode = 0
|
|
|
|
[node name="CameraYLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options"]
|
|
layout_mode = 2
|
|
text = "Camera pitch speed"
|
|
|
|
[node name="CameraYSlider" type="HSlider" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 1
|
|
max_value = 10.0
|
|
step = 0.25
|
|
|
|
[node name="CameraYInvLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options"]
|
|
layout_mode = 2
|
|
text = "Camera invert pitch"
|
|
|
|
[node name="CameraYInvCheck" type="CheckButton" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options"]
|
|
layout_mode = 2
|
|
action_mode = 0
|
|
|
|
[node name="QuitButton" type="Button" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons"]
|
|
layout_mode = 2
|
|
focus_neighbor_bottom = NodePath("../ContinueButton")
|
|
text = "Quit"
|
|
|
|
[node name="CreditsContainer" type="PanelContainer" parent="CenterContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(300, 0)
|
|
layout_mode = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_q40bd")
|
|
|
|
[node name="Credits" type="VBoxContainer" parent="CenterContainer/HBoxContainer/CreditsContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="CenterContainer/HBoxContainer/CreditsContainer/Credits"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
theme_override_constants/margin_left = 10
|
|
theme_override_constants/margin_top = 10
|
|
theme_override_constants/margin_right = 10
|
|
theme_override_constants/margin_bottom = 10
|
|
|
|
[node name="CreditsText" type="RichTextLabel" parent="CenterContainer/HBoxContainer/CreditsContainer/Credits/MarginContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
bbcode_enabled = true
|
|
text = "[font_size=20]Asset credits[/font_size]
|
|
[font_size=16]Textures from ambientcg.com[/font_size]
|
|
[font_size=16]Sounds from freesound.org[/font_size]
|
|
[font_size=12]Wind by Leandros.Ntounis
|
|
Footsteps by kyles
|
|
[/font_size]
|
|
"
|
|
|
|
[connection signal="pressed" from="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/ContinueButton" to="." method="Close"]
|
|
[connection signal="pressed" from="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/QuitButton" to="." method="Quit"]
|