242 lines
8.0 KiB
Plaintext
242 lines
8.0 KiB
Plaintext
[gd_scene format=3 uid="uid://bmd4mawasoc11"]
|
|
|
|
[ext_resource type="Script" uid="uid://bpb5c5r1yi8um" path="res://UI/Menus/OptionsMenu/graphics_options.gd" id="1_85rh6"]
|
|
|
|
[sub_resource type="ImageTexture" id="ImageTexture_03x6q"]
|
|
|
|
[node name="Graphics" type="VBoxContainer" unique_id=1842224615 node_paths=PackedStringArray("fov_input", "fov_slider", "vsync_dropdown", "aa_dropdown", "window_dropdown", "vertex_jitter_input", "vertex_jitter_slider", "affine_warping_input", "affine_warping_slider", "resolution_scaling_input", "resolution_scaling_slider")]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_85rh6")
|
|
fov_input = NodePath("FOV/HBoxContainer/SpinBox")
|
|
fov_slider = NodePath("FOV/HBoxContainer/HSlider")
|
|
vsync_dropdown = NodePath("VSync/OptionButton")
|
|
aa_dropdown = NodePath("AntiAliasing/OptionButton")
|
|
window_dropdown = NodePath("Windowed/OptionButton")
|
|
vertex_jitter_input = NodePath("VextexJitter/HBoxContainer/SpinBox")
|
|
vertex_jitter_slider = NodePath("VextexJitter/HBoxContainer/HSlider")
|
|
affine_warping_input = NodePath("AffineWarping/HBoxContainer/SpinBox")
|
|
affine_warping_slider = NodePath("AffineWarping/HBoxContainer/HSlider")
|
|
resolution_scaling_input = NodePath("ResolutionScaling/HBoxContainer/SpinBox")
|
|
resolution_scaling_slider = NodePath("ResolutionScaling/HBoxContainer/HSlider")
|
|
|
|
[node name="ResolutionScaling" type="HBoxContainer" parent="." unique_id=1230619872]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="Label" type="Label" parent="ResolutionScaling" unique_id=550655132]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "OPTION_RESOLUTION_SCALING"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="ResolutionScaling" unique_id=1042104415]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="SpinBox" type="SpinBox" parent="ResolutionScaling/HBoxContainer" unique_id=3787654]
|
|
layout_mode = 2
|
|
theme_override_icons/updown = SubResource("ImageTexture_03x6q")
|
|
max_value = 1.0
|
|
step = 0.01
|
|
value = 0.2
|
|
allow_greater = true
|
|
allow_lesser = true
|
|
alignment = 1
|
|
update_on_text_changed = true
|
|
|
|
[node name="HSlider" type="HSlider" parent="ResolutionScaling/HBoxContainer" unique_id=608837003]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
max_value = 1.0
|
|
step = 0.01
|
|
value = 0.2
|
|
scrollable = false
|
|
|
|
[node name="FOV" type="HBoxContainer" parent="." unique_id=693078328]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="Label" type="Label" parent="FOV" unique_id=1333460491]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "OPTION_FOV"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="FOV" unique_id=100259182]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="SpinBox" type="SpinBox" parent="FOV/HBoxContainer" unique_id=1868915881]
|
|
layout_mode = 2
|
|
theme_override_icons/updown = SubResource("ImageTexture_03x6q")
|
|
min_value = 40.0
|
|
max_value = 160.0
|
|
value = 100.0
|
|
allow_greater = true
|
|
allow_lesser = true
|
|
alignment = 1
|
|
update_on_text_changed = true
|
|
|
|
[node name="HSlider" type="HSlider" parent="FOV/HBoxContainer" unique_id=1915723315]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
min_value = 40.0
|
|
max_value = 160.0
|
|
value = 100.0
|
|
scrollable = false
|
|
|
|
[node name="VSync" type="HBoxContainer" parent="." unique_id=394348081]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="VSync" unique_id=2134636415]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "OPTION_VSYNC"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="OptionButton" type="OptionButton" parent="VSync" unique_id=1949378825]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
selected = 1
|
|
item_count = 4
|
|
popup/item_0/text = "OPTION_OFF"
|
|
popup/item_0/id = 0
|
|
popup/item_1/text = "OPTION_ON"
|
|
popup/item_1/id = 1
|
|
popup/item_2/text = "OPTION_ADAPTIVE"
|
|
popup/item_2/id = 2
|
|
popup/item_3/text = "OPTION_TRIPLE_BUFFERED"
|
|
popup/item_3/id = 3
|
|
|
|
[node name="AntiAliasing" type="HBoxContainer" parent="." unique_id=370267058]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="AntiAliasing" unique_id=927045887]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "OPTION_AA"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="OptionButton" type="OptionButton" parent="AntiAliasing" unique_id=945853339]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
selected = 0
|
|
item_count = 3
|
|
popup/item_0/text = "OPTION_OFF"
|
|
popup/item_0/id = 0
|
|
popup/item_1/text = "OPTION_FXAA"
|
|
popup/item_1/id = 1
|
|
popup/item_2/text = "OPTION_TAA"
|
|
popup/item_2/id = 2
|
|
|
|
[node name="Windowed" type="HBoxContainer" parent="." unique_id=588218761]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="Windowed" unique_id=128071246]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "OPTION_WINDOW_TYPE"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="OptionButton" type="OptionButton" parent="Windowed" unique_id=1949707304]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
selected = 0
|
|
item_count = 3
|
|
popup/item_0/text = "OPTION_WINDOWED"
|
|
popup/item_0/id = 0
|
|
popup/item_1/text = "OPTION_BORDERLESS"
|
|
popup/item_1/id = 1
|
|
popup/item_2/text = "OPTION_FULLSCREEN"
|
|
popup/item_2/id = 2
|
|
|
|
[node name="VextexJitter" type="HBoxContainer" parent="." unique_id=624638999]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="Label" type="Label" parent="VextexJitter" unique_id=890349126]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "OPTION_VERTEX_JITTER"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VextexJitter" unique_id=857909591]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="SpinBox" type="SpinBox" parent="VextexJitter/HBoxContainer" unique_id=319711346]
|
|
layout_mode = 2
|
|
theme_override_icons/updown = SubResource("ImageTexture_03x6q")
|
|
max_value = 1.0
|
|
step = 0.01
|
|
value = 0.2
|
|
allow_greater = true
|
|
allow_lesser = true
|
|
alignment = 1
|
|
update_on_text_changed = true
|
|
|
|
[node name="HSlider" type="HSlider" parent="VextexJitter/HBoxContainer" unique_id=451280678]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
max_value = 1.0
|
|
step = 0.01
|
|
value = 0.2
|
|
scrollable = false
|
|
|
|
[node name="AffineWarping" type="HBoxContainer" parent="." unique_id=962591793]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="Label" type="Label" parent="AffineWarping" unique_id=206915184]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "OPTION_AFFINE_WARPING"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="AffineWarping" unique_id=1780949636]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="SpinBox" type="SpinBox" parent="AffineWarping/HBoxContainer" unique_id=1434191726]
|
|
layout_mode = 2
|
|
theme_override_icons/updown = SubResource("ImageTexture_03x6q")
|
|
max_value = 1.0
|
|
step = 0.01
|
|
value = 1.0
|
|
allow_greater = true
|
|
allow_lesser = true
|
|
alignment = 1
|
|
update_on_text_changed = true
|
|
|
|
[node name="HSlider" type="HSlider" parent="AffineWarping/HBoxContainer" unique_id=2037498715]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
max_value = 1.0
|
|
step = 0.01
|
|
value = 1.0
|
|
scrollable = false
|
|
|
|
[connection signal="value_changed" from="ResolutionScaling/HBoxContainer/SpinBox" to="." method="_on_resolution_scaling_spin_box_value_changed"]
|
|
[connection signal="value_changed" from="ResolutionScaling/HBoxContainer/HSlider" to="." method="_on_resolution_scaling_h_slider_value_changed"]
|
|
[connection signal="value_changed" from="FOV/HBoxContainer/SpinBox" to="." method="_on_fov_spin_box_value_changed"]
|
|
[connection signal="value_changed" from="FOV/HBoxContainer/HSlider" to="." method="_on_fov_h_slider_value_changed"]
|
|
[connection signal="value_changed" from="VextexJitter/HBoxContainer/SpinBox" to="." method="_on_vertex_jitter_spin_box_value_changed"]
|
|
[connection signal="value_changed" from="VextexJitter/HBoxContainer/HSlider" to="." method="_on_vertex_jitter_h_slider_value_changed"]
|
|
[connection signal="value_changed" from="AffineWarping/HBoxContainer/SpinBox" to="." method="_on_affine_warping_spin_box_value_changed"]
|
|
[connection signal="value_changed" from="AffineWarping/HBoxContainer/HSlider" to="." method="_on_affine_warping_h_slider_value_changed"]
|