|
[gd_scene load_steps=25 format=3 uid="uid://by0gd600mbcr5"]
|
|
|
|
[ext_resource type="Script" uid="uid://bwvwpiwhp52e" path="res://scenes/ui/pause_menu/main_menu.gd" id="1_4xojl"]
|
|
[ext_resource type="Script" uid="uid://domfn2obgmavw" path="res://scenes/ui/pause_menu/pause_menu.gd" id="1_ugqbi"]
|
|
[ext_resource type="Theme" uid="uid://b5q8b0l6qp1dt" path="res://resources/pause_menu_theme.tres" id="2_0jq6q"]
|
|
[ext_resource type="Script" uid="uid://ccei1q7fb022x" path="res://scenes/ui/pause_menu/settings_menu.gd" id="2_ightw"]
|
|
[ext_resource type="PackedScene" uid="uid://cyxieflejsggu" path="res://scenes/ui/pause_menu/saves_manager/save_files_list.tscn" id="4_c1aak"]
|
|
[ext_resource type="Script" uid="uid://di8dm3fdxfwo1" path="res://scenes/ui/pause_menu/saves_menu.gd" id="4_mym86"]
|
|
[ext_resource type="PackedScene" uid="uid://bb7poutsn4ex2" path="res://scenes/ui/pause_menu/saves_manager/save_file.tscn" id="5_mym86"]
|
|
[ext_resource type="Texture2D" uid="uid://ja8bc1h5x85o" path="res://assets/ui/save-normal.png" id="6_fjuhq"]
|
|
[ext_resource type="Texture2D" uid="uid://crqgyft4gfilt" path="res://assets/ui/save-pressed.png" id="7_uedyg"]
|
|
[ext_resource type="Texture2D" uid="uid://o3l0j53mgkan" path="res://assets/ui/save-hover.png" id="8_npsoq"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_4xojl"]
|
|
bg_color = Color(0.176419, 0.176419, 0.176419, 0.462745)
|
|
|
|
[sub_resource type="Animation" id="Animation_ightw"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(-400, 0)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:visible")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [false]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_0jq6q"]
|
|
resource_name = "hide"
|
|
length = 0.2
|
|
step = 0.05
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(0, 0), Vector2(-400, 0)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:visible")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [true, false]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_4xojl"]
|
|
resource_name = "show"
|
|
length = 0.2
|
|
step = 0.05
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(-400, 0), Vector2(0, 0)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:visible")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [true]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_0jq6q"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_ightw"),
|
|
&"hide": SubResource("Animation_0jq6q"),
|
|
&"show": SubResource("Animation_4xojl")
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_vx2qe"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(-400, 0)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:visible")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [false]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_q12vw"]
|
|
resource_name = "hide"
|
|
length = 0.2
|
|
step = 0.05
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(0, 0), Vector2(-400, 0)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:visible")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [true, false]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_3mo8w"]
|
|
resource_name = "show"
|
|
length = 0.2
|
|
step = 0.05
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(-400, 0), Vector2(0, 0)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:visible")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [true]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_q12vw"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_vx2qe"),
|
|
&"hide": SubResource("Animation_q12vw"),
|
|
&"show": SubResource("Animation_3mo8w")
|
|
}
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ightw"]
|
|
content_margin_left = 10.0
|
|
content_margin_top = 10.0
|
|
content_margin_right = 10.0
|
|
content_margin_bottom = 10.0
|
|
bg_color = Color(0, 0, 0, 0.27451)
|
|
corner_radius_top_left = 2
|
|
corner_radius_top_right = 2
|
|
corner_radius_bottom_right = 2
|
|
corner_radius_bottom_left = 2
|
|
|
|
[sub_resource type="Animation" id="Animation_h2y1u"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(-450, 0)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:visible")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [false]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_ba5iv"]
|
|
resource_name = "hide"
|
|
length = 0.2
|
|
step = 0.05
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(0, 0), Vector2(-450, 0)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:visible")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [true, false]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_ugqbi"]
|
|
resource_name = "show"
|
|
length = 0.2
|
|
step = 0.05
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(-450, 0), Vector2(0, 0)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:visible")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [true]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_h2y1u"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_h2y1u"),
|
|
&"hide": SubResource("Animation_ba5iv"),
|
|
&"show": SubResource("Animation_ugqbi")
|
|
}
|
|
|
|
[node name="PauseMenu" type="Panel"]
|
|
process_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_4xojl")
|
|
script = ExtResource("1_ugqbi")
|
|
|
|
[node name="MainMenu" type="ColorRect" parent="." node_paths=PackedStringArray("animation_player")]
|
|
visible = false
|
|
custom_minimum_size = Vector2(400, 0)
|
|
layout_mode = 1
|
|
anchors_preset = 9
|
|
anchor_bottom = 1.0
|
|
offset_left = -400.0
|
|
grow_vertical = 2
|
|
color = Color(0.133333, 0.133333, 0.133333, 0.784314)
|
|
script = ExtResource("1_4xojl")
|
|
animation_player = NodePath("AnimationPlayer")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="MainMenu"]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_0jq6q")
|
|
}
|
|
autoplay = "RESET"
|
|
|
|
[node name="MainContent" type="MarginContainer" parent="MainMenu"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
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="MenuContainer" type="VBoxContainer" parent="MainMenu/MainContent"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
theme_override_constants/separation = 20
|
|
|
|
[node name="Title" type="Label" parent="MainMenu/MainContent/MenuContainer"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 40
|
|
text = "Paused"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="ButtonsContainer" type="VBoxContainer" parent="MainMenu/MainContent/MenuContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 6
|
|
theme_override_constants/separation = 20
|
|
|
|
[node name="ResumeButton" type="Button" parent="MainMenu/MainContent/MenuContainer/ButtonsContainer"]
|
|
layout_mode = 2
|
|
text = "Resume"
|
|
|
|
[node name="SavesButton" type="Button" parent="MainMenu/MainContent/MenuContainer/ButtonsContainer"]
|
|
layout_mode = 2
|
|
text = "Saves"
|
|
|
|
[node name="SettingsButton" type="Button" parent="MainMenu/MainContent/MenuContainer/ButtonsContainer"]
|
|
layout_mode = 2
|
|
text = "Settings"
|
|
|
|
[node name="ExitGameButton" type="Button" parent="MainMenu/MainContent/MenuContainer/ButtonsContainer"]
|
|
layout_mode = 2
|
|
text = "Exit Game"
|
|
|
|
[node name="SettingsMenu" type="ColorRect" parent="." node_paths=PackedStringArray("autosaves_input", "block_highlight_input", "held_block_ui_input", "quick_slots_ui_input", "screenshot_icon_input", "waila_input", "resolution_input", "fullscreen_input", "vsync_input", "fov_slider", "fov_value_label", "animation_player")]
|
|
visible = false
|
|
custom_minimum_size = Vector2(400, 0)
|
|
layout_mode = 1
|
|
anchors_preset = 9
|
|
anchor_bottom = 1.0
|
|
offset_left = -400.0
|
|
grow_vertical = 2
|
|
color = Color(0.133333, 0.133333, 0.133333, 0.784314)
|
|
script = ExtResource("2_ightw")
|
|
autosaves_input = NodePath("MainContent/VBoxContainer/TabContainer/Game/Autosaves/CheckButton")
|
|
block_highlight_input = NodePath("MainContent/VBoxContainer/TabContainer/Game/BlockHighlight/CheckButton")
|
|
held_block_ui_input = NodePath("MainContent/VBoxContainer/TabContainer/Game/HeldBlockUI/CheckButton")
|
|
quick_slots_ui_input = NodePath("MainContent/VBoxContainer/TabContainer/Game/QuickslotsUI/CheckButton")
|
|
screenshot_icon_input = NodePath("MainContent/VBoxContainer/TabContainer/Game/ScreenshotIcon/CheckButton")
|
|
waila_input = NodePath("MainContent/VBoxContainer/TabContainer/Game/Waila/CheckButton")
|
|
resolution_input = NodePath("MainContent/VBoxContainer/TabContainer/Graphics/Resolution/OptionButton")
|
|
fullscreen_input = NodePath("MainContent/VBoxContainer/TabContainer/Graphics/Fullscreen/CheckBox")
|
|
vsync_input = NodePath("MainContent/VBoxContainer/TabContainer/Graphics/VSync/CheckBox")
|
|
fov_slider = NodePath("MainContent/VBoxContainer/TabContainer/Graphics/FOV/HSlider")
|
|
fov_value_label = NodePath("MainContent/VBoxContainer/TabContainer/Graphics/FOV/Value")
|
|
animation_player = NodePath("AnimationPlayer")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="SettingsMenu"]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_q12vw")
|
|
}
|
|
autoplay = "RESET"
|
|
|
|
[node name="MainContent" type="MarginContainer" parent="SettingsMenu"]
|
|
layout_mode = 1
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -155.0
|
|
offset_right = 155.0
|
|
offset_bottom = 310.0
|
|
grow_horizontal = 2
|
|
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="VBoxContainer" type="VBoxContainer" parent="SettingsMenu/MainContent"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
theme_override_constants/separation = 20
|
|
|
|
[node name="Title" type="Label" parent="SettingsMenu/MainContent/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 40
|
|
text = "Settings"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="TabContainer" type="TabContainer" parent="SettingsMenu/MainContent/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/side_margin = 0
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_ightw")
|
|
current_tab = 0
|
|
clip_tabs = false
|
|
|
|
[node name="Game" type="VBoxContainer" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer"]
|
|
layout_mode = 2
|
|
metadata/_tab_index = 0
|
|
|
|
[node name="BlockHighlight" type="HBoxContainer" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game/BlockHighlight"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Enable Block Highlighting"
|
|
|
|
[node name="CheckButton" type="CheckButton" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game/BlockHighlight"]
|
|
layout_mode = 2
|
|
button_pressed = true
|
|
|
|
[node name="Waila" type="HBoxContainer" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game/Waila"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Enable Waila"
|
|
|
|
[node name="CheckButton" type="CheckButton" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game/Waila"]
|
|
layout_mode = 2
|
|
button_pressed = true
|
|
|
|
[node name="QuickslotsUI" type="HBoxContainer" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game/QuickslotsUI"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Enable Quickslots UI"
|
|
|
|
[node name="CheckButton" type="CheckButton" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game/QuickslotsUI"]
|
|
layout_mode = 2
|
|
button_pressed = true
|
|
|
|
[node name="HeldBlockUI" type="HBoxContainer" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game/HeldBlockUI"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Enable Player Held Block"
|
|
|
|
[node name="CheckButton" type="CheckButton" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game/HeldBlockUI"]
|
|
layout_mode = 2
|
|
button_pressed = true
|
|
|
|
[node name="ScreenshotIcon" type="HBoxContainer" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game/ScreenshotIcon"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
tooltip_text = "Enable/Disable the taking of a screenshot to utilize as the save icon."
|
|
mouse_filter = 1
|
|
text = "Enable Save Screenshot"
|
|
|
|
[node name="CheckButton" type="CheckButton" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game/ScreenshotIcon"]
|
|
layout_mode = 2
|
|
tooltip_text = "Enable/Disable the taking of a screenshot to utilize as the save icon."
|
|
button_pressed = true
|
|
|
|
[node name="Autosaves" type="HBoxContainer" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game/Autosaves"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
tooltip_text = "Enable/Disable the taking of a screenshot to utilize as the save icon."
|
|
mouse_filter = 1
|
|
text = "Enable Autosaves"
|
|
|
|
[node name="CheckButton" type="CheckButton" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game/Autosaves"]
|
|
layout_mode = 2
|
|
tooltip_text = "Enable/Disable the taking of a screenshot to utilize as the save icon."
|
|
button_pressed = true
|
|
|
|
[node name="Graphics" type="VBoxContainer" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer"]
|
|
visible = false
|
|
layout_mode = 2
|
|
metadata/_tab_index = 1
|
|
|
|
[node name="Resolution" type="HBoxContainer" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Graphics"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Graphics/Resolution"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Resolution"
|
|
|
|
[node name="OptionButton" type="OptionButton" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Graphics/Resolution"]
|
|
layout_mode = 2
|
|
selected = 0
|
|
item_count = 6
|
|
popup/item_0/text = "1280x720"
|
|
popup/item_0/id = 0
|
|
popup/item_1/text = "1280x800"
|
|
popup/item_1/id = 4
|
|
popup/item_2/text = "1920x1080"
|
|
popup/item_2/id = 1
|
|
popup/item_3/text = "2560x1440"
|
|
popup/item_3/id = 2
|
|
popup/item_4/text = "3440x1440"
|
|
popup/item_4/id = 3
|
|
popup/item_5/text = "3840 x 2160"
|
|
popup/item_5/id = 5
|
|
|
|
[node name="Fullscreen" type="HBoxContainer" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Graphics"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Graphics/Fullscreen"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Fullscreen"
|
|
|
|
[node name="CheckBox" type="CheckBox" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Graphics/Fullscreen"]
|
|
layout_mode = 2
|
|
|
|
[node name="VSync" type="HBoxContainer" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Graphics"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Graphics/VSync"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "VSync"
|
|
|
|
[node name="CheckBox" type="CheckBox" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Graphics/VSync"]
|
|
layout_mode = 2
|
|
|
|
[node name="FOV" type="HBoxContainer" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Graphics"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Graphics/FOV"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "FOV"
|
|
|
|
[node name="HSlider" type="HSlider" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Graphics/FOV"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
min_value = 60.0
|
|
max_value = 120.0
|
|
value = 75.0
|
|
rounded = true
|
|
ticks_on_borders = true
|
|
|
|
[node name="Value" type="Label" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Graphics/FOV"]
|
|
layout_mode = 2
|
|
text = "75"
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Graphics"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 20
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Graphics"]
|
|
layout_mode = 2
|
|
|
|
[node name="ApplyButton" type="Button" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer/Graphics/CenterContainer"]
|
|
layout_mode = 2
|
|
text = "Apply/Save"
|
|
|
|
[node name="Audio" type="VBoxContainer" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer"]
|
|
visible = false
|
|
layout_mode = 2
|
|
metadata/_tab_index = 2
|
|
|
|
[node name="Inputs" type="VBoxContainer" parent="SettingsMenu/MainContent/VBoxContainer/TabContainer"]
|
|
visible = false
|
|
layout_mode = 2
|
|
metadata/_tab_index = 3
|
|
|
|
[node name="BottomRow" type="MarginContainer" parent="SettingsMenu"]
|
|
layout_mode = 1
|
|
anchors_preset = 7
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -82.5
|
|
offset_top = -46.0
|
|
offset_right = 82.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
theme_override_constants/margin_bottom = 10
|
|
|
|
[node name="CloseButton" type="Button" parent="SettingsMenu/BottomRow"]
|
|
custom_minimum_size = Vector2(141, 36)
|
|
layout_mode = 2
|
|
theme = ExtResource("2_0jq6q")
|
|
text = "Close Settings"
|
|
|
|
[node name="SavesMenu" type="ColorRect" parent="." node_paths=PackedStringArray("show_save_ui_button", "new_save_ui", "save_name_input", "create_save_button", "create_save_cancel_button", "save_files_list_ui", "animation_player")]
|
|
visible = false
|
|
custom_minimum_size = Vector2(450, 0)
|
|
layout_mode = 1
|
|
anchors_preset = 9
|
|
anchor_bottom = 1.0
|
|
offset_left = -450.0
|
|
grow_vertical = 2
|
|
color = Color(0.133333, 0.133333, 0.133333, 0.784314)
|
|
script = ExtResource("4_mym86")
|
|
show_save_ui_button = NodePath("MarginContainer/VBoxContainer/BottomRow/SaveButton")
|
|
new_save_ui = NodePath("NewSaveUI")
|
|
save_name_input = NodePath("NewSaveUI/MarginContainer/VBoxContainer/SaveNameInput")
|
|
create_save_button = NodePath("NewSaveUI/MarginContainer/VBoxContainer/SaveButton")
|
|
create_save_cancel_button = NodePath("NewSaveUI/MarginContainer/VBoxContainer/CancelButton")
|
|
save_files_list_ui = NodePath("MarginContainer/VBoxContainer/ScrollContainer/SaveFilesList")
|
|
animation_player = NodePath("AnimationPlayer")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="SavesMenu"]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_h2y1u")
|
|
}
|
|
autoplay = "RESET"
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="SavesMenu"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 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="VBoxContainer" type="VBoxContainer" parent="SavesMenu/MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="SavesMenu/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 40
|
|
text = "Save/Load Game"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="SavesMenu/MarginContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 500)
|
|
layout_mode = 2
|
|
horizontal_scroll_mode = 0
|
|
|
|
[node name="SaveFilesList" parent="SavesMenu/MarginContainer/VBoxContainer/ScrollContainer" instance=ExtResource("4_c1aak")]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 6
|
|
|
|
[node name="SaveFilePanel" parent="SavesMenu/MarginContainer/VBoxContainer/ScrollContainer/SaveFilesList" instance=ExtResource("5_mym86")]
|
|
layout_mode = 2
|
|
|
|
[node name="BottomRow" type="HBoxContainer" parent="SavesMenu/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="SaveButton" type="TextureButton" parent="SavesMenu/MarginContainer/VBoxContainer/BottomRow"]
|
|
clip_contents = true
|
|
custom_minimum_size = Vector2(32, 32)
|
|
layout_mode = 2
|
|
tooltip_text = "New Save"
|
|
texture_normal = ExtResource("6_fjuhq")
|
|
texture_pressed = ExtResource("7_uedyg")
|
|
texture_hover = ExtResource("8_npsoq")
|
|
ignore_texture_size = true
|
|
stretch_mode = 5
|
|
|
|
[node name="NewSaveUI" type="Panel" parent="SavesMenu"]
|
|
visible = false
|
|
custom_minimum_size = Vector2(450, 100)
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="SavesMenu/NewSaveUI"]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -205.0
|
|
offset_top = -29.5
|
|
offset_right = 205.0
|
|
offset_bottom = 29.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/margin_left = 5
|
|
theme_override_constants/margin_top = 5
|
|
theme_override_constants/margin_right = 5
|
|
theme_override_constants/margin_bottom = 5
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="SavesMenu/NewSaveUI/MarginContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
|
|
[node name="SaveNameLabel" type="Label" parent="SavesMenu/NewSaveUI/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 20
|
|
text = "Create New Save"
|
|
|
|
[node name="SaveNameInput" type="LineEdit" parent="SavesMenu/NewSaveUI/MarginContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(400, 0)
|
|
layout_mode = 2
|
|
placeholder_text = "New Save File Name"
|
|
|
|
[node name="SaveButton" type="Button" parent="SavesMenu/NewSaveUI/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Create Save"
|
|
|
|
[node name="CancelButton" type="Button" parent="SavesMenu/NewSaveUI/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Cancel"
|
|
|
|
[connection signal="pressed" from="MainMenu/MainContent/MenuContainer/ButtonsContainer/ResumeButton" to="MainMenu" method="_on_resume_button_pressed"]
|
|
[connection signal="pressed" from="MainMenu/MainContent/MenuContainer/ButtonsContainer/SavesButton" to="MainMenu" method="_on_saves_button_pressed"]
|
|
[connection signal="pressed" from="MainMenu/MainContent/MenuContainer/ButtonsContainer/SettingsButton" to="MainMenu" method="_on_settings_button_pressed"]
|
|
[connection signal="pressed" from="MainMenu/MainContent/MenuContainer/ButtonsContainer/ExitGameButton" to="MainMenu" method="_on_exit_game_button_pressed"]
|
|
[connection signal="toggled" from="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game/BlockHighlight/CheckButton" to="SettingsMenu" method="_on_block_highlighting_toggled"]
|
|
[connection signal="toggled" from="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game/Waila/CheckButton" to="SettingsMenu" method="_on_enable_waila_toggled"]
|
|
[connection signal="toggled" from="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game/QuickslotsUI/CheckButton" to="SettingsMenu" method="_on_quickslots_ui_toggled"]
|
|
[connection signal="toggled" from="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game/HeldBlockUI/CheckButton" to="SettingsMenu" method="_on_held_block_ui_toggled"]
|
|
[connection signal="toggled" from="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game/ScreenshotIcon/CheckButton" to="SettingsMenu" method="_on_screenshot_icon_button_toggled"]
|
|
[connection signal="toggled" from="SettingsMenu/MainContent/VBoxContainer/TabContainer/Game/Autosaves/CheckButton" to="SettingsMenu" method="_on_autosaves_button_toggled"]
|
|
[connection signal="changed" from="SettingsMenu/MainContent/VBoxContainer/TabContainer/Graphics/FOV/HSlider" to="SettingsMenu" method="_on_fov_slider_changed"]
|
|
[connection signal="pressed" from="SettingsMenu/MainContent/VBoxContainer/TabContainer/Graphics/CenterContainer/ApplyButton" to="SettingsMenu" method="_on_graphics_apply_button_pressed"]
|
|
[connection signal="pressed" from="SettingsMenu/BottomRow/CloseButton" to="SettingsMenu" method="_on_close_button_pressed"]
|