2024-08-19 17:19:03 +02:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://c670g1qg5gaug"]
|
2024-08-18 18:06:01 +02:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/PauseMenu.cs" id="1_p5jo3"]
|
|
|
|
|
2024-08-19 17:19:03 +02:00
|
|
|
[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)
|
2024-08-19 15:51:51 +02:00
|
|
|
|
|
|
|
[node name="PauseMenu" type="Control" node_paths=PackedStringArray("InitialFocusTarget", "VolumeSlider", "CameraSensitivityX", "CameraSensitivityY", "CameraInvertX", "CameraInvertY")]
|
|
|
|
process_mode = 3
|
2024-08-18 18:06:01 +02:00
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
script = ExtResource("1_p5jo3")
|
2024-08-19 17:19:03 +02:00
|
|
|
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")
|
2024-08-18 18:06:01 +02:00
|
|
|
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="."]
|
2024-08-19 15:51:51 +02:00
|
|
|
process_mode = 2
|
2024-08-18 18:06:01 +02:00
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
|
2024-08-19 17:19:03 +02:00
|
|
|
[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)
|
2024-08-19 15:51:51 +02:00
|
|
|
layout_mode = 2
|
|
|
|
|
2024-08-19 17:19:03 +02:00
|
|
|
[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"]
|
2024-08-19 15:51:51 +02:00
|
|
|
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
|
|
|
|
|
2024-08-19 17:19:03 +02:00
|
|
|
[node name="Options and buttons" type="VBoxContainer" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer"]
|
2024-08-19 15:51:51 +02:00
|
|
|
layout_mode = 2
|
|
|
|
theme_override_constants/separation = 16
|
|
|
|
|
2024-08-19 17:19:03 +02:00
|
|
|
[node name="ContinueButton" type="Button" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons"]
|
2024-08-18 18:06:01 +02:00
|
|
|
layout_mode = 2
|
2024-08-19 15:51:51 +02:00
|
|
|
focus_neighbor_top = NodePath("../QuitButton")
|
2024-08-18 18:06:01 +02:00
|
|
|
text = "Continue"
|
|
|
|
|
2024-08-19 17:19:03 +02:00
|
|
|
[node name="Options" type="GridContainer" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons"]
|
2024-08-19 15:51:51 +02:00
|
|
|
layout_mode = 2
|
|
|
|
theme_override_constants/h_separation = 14
|
|
|
|
theme_override_constants/v_separation = 9
|
|
|
|
columns = 2
|
|
|
|
|
2024-08-19 17:19:03 +02:00
|
|
|
[node name="VolumeLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options"]
|
2024-08-19 15:51:51 +02:00
|
|
|
layout_mode = 2
|
|
|
|
text = "Volume"
|
|
|
|
|
2024-08-19 17:19:03 +02:00
|
|
|
[node name="VolumeSlider" type="HSlider" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options"]
|
2024-08-19 15:51:51 +02:00
|
|
|
custom_minimum_size = Vector2(100, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 1
|
|
|
|
max_value = 1.0
|
2024-08-19 17:19:03 +02:00
|
|
|
step = 0.05
|
2024-08-19 15:51:51 +02:00
|
|
|
|
2024-08-19 17:19:03 +02:00
|
|
|
[node name="CameraXLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options"]
|
2024-08-19 15:51:51 +02:00
|
|
|
layout_mode = 2
|
|
|
|
text = "Camera yaw speed"
|
|
|
|
|
2024-08-19 17:19:03 +02:00
|
|
|
[node name="CameraXSlider" type="HSlider" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options"]
|
2024-08-19 15:51:51 +02:00
|
|
|
layout_mode = 2
|
|
|
|
size_flags_vertical = 1
|
|
|
|
max_value = 10.0
|
|
|
|
step = 0.25
|
|
|
|
|
2024-08-19 17:19:03 +02:00
|
|
|
[node name="CameraXInvLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options"]
|
2024-08-19 15:51:51 +02:00
|
|
|
layout_mode = 2
|
|
|
|
text = "Camera invert yaw"
|
|
|
|
|
2024-08-19 17:19:03 +02:00
|
|
|
[node name="CameraXInvCheck" type="CheckButton" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options"]
|
2024-08-19 15:51:51 +02:00
|
|
|
layout_mode = 2
|
|
|
|
action_mode = 0
|
|
|
|
|
2024-08-19 17:19:03 +02:00
|
|
|
[node name="CameraYLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options"]
|
2024-08-19 15:51:51 +02:00
|
|
|
layout_mode = 2
|
|
|
|
text = "Camera pitch speed"
|
|
|
|
|
2024-08-19 17:19:03 +02:00
|
|
|
[node name="CameraYSlider" type="HSlider" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options"]
|
2024-08-19 15:51:51 +02:00
|
|
|
layout_mode = 2
|
|
|
|
size_flags_vertical = 1
|
|
|
|
max_value = 10.0
|
|
|
|
step = 0.25
|
|
|
|
|
2024-08-19 17:19:03 +02:00
|
|
|
[node name="CameraYInvLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options"]
|
2024-08-19 15:51:51 +02:00
|
|
|
layout_mode = 2
|
|
|
|
text = "Camera invert pitch"
|
|
|
|
|
2024-08-19 17:19:03 +02:00
|
|
|
[node name="CameraYInvCheck" type="CheckButton" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/Options"]
|
2024-08-19 15:51:51 +02:00
|
|
|
layout_mode = 2
|
|
|
|
action_mode = 0
|
|
|
|
|
2024-08-19 17:19:03 +02:00
|
|
|
[node name="QuitButton" type="Button" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons"]
|
2024-08-19 15:51:51 +02:00
|
|
|
layout_mode = 2
|
|
|
|
focus_neighbor_bottom = NodePath("../ContinueButton")
|
|
|
|
text = "Quit"
|
|
|
|
|
2024-08-19 17:19:03 +02:00
|
|
|
[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]
|
2024-08-19 20:35:43 +02:00
|
|
|
[font_size=16]Textures from ambientcg.com[/font_size]
|
2024-08-19 17:19:03 +02:00
|
|
|
[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"]
|