262 lines
8.1 KiB
Plaintext
262 lines
8.1 KiB
Plaintext
[gd_scene load_steps=10 format=3 uid="uid://b07dvegdyt8yk"]
|
|
|
|
[ext_resource type="Script" uid="uid://dcmglfhifv32l" path="res://Game/Menu/options.gd" id="1_ed6ki"]
|
|
[ext_resource type="Texture2D" uid="uid://bgy114b67j3kg" path="res://Assets/Others/8-bit-graphics-pixels-scene-with-castle.jpg" id="2_jxn2r"]
|
|
[ext_resource type="FontFile" uid="uid://bu44ne346ymoe" path="res://Assets/Others/Canterbury.ttf" id="3_j0ebt"]
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_lksfn"]
|
|
texture = ExtResource("2_jxn2r")
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ed6ki"]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_scbv7"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0b84r"]
|
|
bg_color = Color(0.485703, 0.485704, 0.485703, 0.447059)
|
|
corner_radius_top_left = 20
|
|
corner_radius_top_right = 20
|
|
corner_radius_bottom_right = 20
|
|
corner_radius_bottom_left = 20
|
|
shadow_size = 5
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ndngw"]
|
|
bg_color = Color(0.117647, 0.117647, 0.117647, 0.682353)
|
|
corner_radius_top_left = 20
|
|
corner_radius_top_right = 20
|
|
corner_radius_bottom_right = 20
|
|
corner_radius_bottom_left = 20
|
|
shadow_size = 5
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_617je"]
|
|
bg_color = Color(1, 1, 1, 0.447059)
|
|
corner_radius_top_left = 20
|
|
corner_radius_top_right = 20
|
|
corner_radius_bottom_right = 20
|
|
corner_radius_bottom_left = 20
|
|
shadow_size = 5
|
|
|
|
[node name="Options" 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_ed6ki")
|
|
|
|
[node name="Panel" type="Panel" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxTexture_lksfn")
|
|
|
|
[node name="VBoxContainer2" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -179.0
|
|
offset_right = 179.0
|
|
offset_bottom = 200.0
|
|
grow_horizontal = 2
|
|
alignment = 1
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer2"]
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("3_j0ebt")
|
|
theme_override_font_sizes/font_size = 64
|
|
text = "Options"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="TabContainer" type="TabContainer" parent="."]
|
|
custom_minimum_size = Vector2(700, 300)
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -139.5
|
|
offset_top = -15.5
|
|
offset_right = 139.5
|
|
offset_bottom = 15.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
tab_alignment = 1
|
|
current_tab = 1
|
|
clip_tabs = false
|
|
tab_focus_mode = 1
|
|
|
|
[node name="Screen & Video" type="TabBar" parent="TabContainer"]
|
|
visible = false
|
|
layout_mode = 2
|
|
metadata/_tab_index = 0
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/Screen & Video"]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -288.5
|
|
offset_top = -20.0
|
|
offset_right = 288.5
|
|
offset_bottom = 20.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
alignment = 1
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="TabContainer/Screen & Video/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
|
|
[node name="Label" type="Label" parent="TabContainer/Screen & Video/VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Resolution"
|
|
|
|
[node name="VSeparator" type="VSeparator" parent="TabContainer/Screen & Video/VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 50
|
|
theme_override_styles/separator = SubResource("StyleBoxEmpty_ed6ki")
|
|
|
|
[node name="OptionButton" type="OptionButton" parent="TabContainer/Screen & Video/VBoxContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(250, 40)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
|
|
[node name="HBoxContainer2" type="HBoxContainer" parent="TabContainer/Screen & Video/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
|
|
[node name="Label" type="Label" parent="TabContainer/Screen & Video/VBoxContainer/HBoxContainer2"]
|
|
layout_mode = 2
|
|
text = "Display Mode"
|
|
|
|
[node name="VSeparator" type="VSeparator" parent="TabContainer/Screen & Video/VBoxContainer/HBoxContainer2"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 50
|
|
theme_override_styles/separator = SubResource("StyleBoxEmpty_ed6ki")
|
|
|
|
[node name="OptionButton" type="OptionButton" parent="TabContainer/Screen & Video/VBoxContainer/HBoxContainer2"]
|
|
custom_minimum_size = Vector2(250, 40)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
|
|
[node name="Music & Sound" type="TabBar" parent="TabContainer"]
|
|
layout_mode = 2
|
|
metadata/_tab_index = 1
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/Music & Sound"]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -288.5
|
|
offset_top = -20.0
|
|
offset_right = 288.5
|
|
offset_bottom = 20.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
alignment = 1
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="TabContainer/Music & Sound/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
|
|
[node name="Label" type="Label" parent="TabContainer/Music & Sound/VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Master Volume"
|
|
|
|
[node name="VSeparator" type="VSeparator" parent="TabContainer/Music & Sound/VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 50
|
|
theme_override_styles/separator = SubResource("StyleBoxEmpty_ed6ki")
|
|
|
|
[node name="HSlider" type="HSlider" parent="TabContainer/Music & Sound/VBoxContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(150, 0)
|
|
layout_mode = 2
|
|
step = 5.0
|
|
value = 100.0
|
|
|
|
[node name="HBoxContainer2" type="HBoxContainer" parent="TabContainer/Music & Sound/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
|
|
[node name="Label" type="Label" parent="TabContainer/Music & Sound/VBoxContainer/HBoxContainer2"]
|
|
layout_mode = 2
|
|
text = "Music Volume"
|
|
|
|
[node name="VSeparator" type="VSeparator" parent="TabContainer/Music & Sound/VBoxContainer/HBoxContainer2"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 50
|
|
theme_override_styles/separator = SubResource("StyleBoxEmpty_ed6ki")
|
|
|
|
[node name="HSlider" type="HSlider" parent="TabContainer/Music & Sound/VBoxContainer/HBoxContainer2"]
|
|
custom_minimum_size = Vector2(150, 0)
|
|
layout_mode = 2
|
|
step = 5.0
|
|
value = 100.0
|
|
|
|
[node name="HBoxContainer3" type="HBoxContainer" parent="TabContainer/Music & Sound/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
|
|
[node name="Label" type="Label" parent="TabContainer/Music & Sound/VBoxContainer/HBoxContainer3"]
|
|
layout_mode = 2
|
|
text = "SFX Volume"
|
|
|
|
[node name="VSeparator" type="VSeparator" parent="TabContainer/Music & Sound/VBoxContainer/HBoxContainer3"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 50
|
|
theme_override_styles/separator = SubResource("StyleBoxEmpty_ed6ki")
|
|
|
|
[node name="HSlider" type="HSlider" parent="TabContainer/Music & Sound/VBoxContainer/HBoxContainer3"]
|
|
custom_minimum_size = Vector2(150, 0)
|
|
layout_mode = 2
|
|
step = 5.0
|
|
value = 100.0
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 12
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = -8.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
alignment = 1
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="HBoxContainer"]
|
|
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="Button" type="Button" parent="HBoxContainer/MarginContainer"]
|
|
custom_minimum_size = Vector2(250, 0)
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
|
theme_override_font_sizes/font_size = 30
|
|
theme_override_styles/focus = SubResource("StyleBoxEmpty_scbv7")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_0b84r")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_ndngw")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_617je")
|
|
text = "Main Menu"
|
|
|
|
[connection signal="pressed" from="HBoxContainer/MarginContainer/Button" to="." method="_on_button_pressed"]
|