118 lines
3.2 KiB
Text
118 lines
3.2 KiB
Text
[gd_scene load_steps=3 format=3 uid="uid://dy5lqto7557fg"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/settings.gd" id="1_gpx88"]
|
|
[ext_resource type="Texture2D" uid="uid://yg8aqnkfjqjf" path="res://2DArt/settings/SettingsMenu.png" id="2_1lv8m"]
|
|
|
|
[node name="settings" 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_gpx88")
|
|
|
|
[node name="SettingsMenu" type="Sprite2D" parent="."]
|
|
position = Vector2(578.112, 326.125)
|
|
scale = Vector2(0.954846, 0.954846)
|
|
texture = ExtResource("2_1lv8m")
|
|
|
|
[node name="h_slider" type="HSlider" parent="."]
|
|
layout_mode = 2
|
|
offset_left = 487.0
|
|
offset_top = 238.0
|
|
offset_right = 671.0
|
|
offset_bottom = 254.0
|
|
min_value = 0.001
|
|
max_value = 0.02
|
|
step = 0.001
|
|
value = 0.001
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
layout_mode = 2
|
|
offset_left = 486.0
|
|
offset_top = 213.0
|
|
offset_right = 674.0
|
|
offset_bottom = 239.0
|
|
size_flags_vertical = 0
|
|
text = "Adjust Mouse Sensitivity"
|
|
|
|
[node name="Button" type="Button" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 862.0
|
|
offset_top = 82.0
|
|
offset_right = 893.0
|
|
offset_bottom = 113.0
|
|
text = "X"
|
|
flat = true
|
|
|
|
[node name="Label2" type="Label" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 522.0
|
|
offset_top = 435.0
|
|
offset_right = 606.0
|
|
offset_bottom = 461.0
|
|
text = "Fullscreen:"
|
|
|
|
[node name="fullscreenBox" type="CheckBox" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 611.0
|
|
offset_top = 435.0
|
|
offset_right = 635.0
|
|
offset_bottom = 459.0
|
|
|
|
[node name="volLabel" type="Label" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 517.0
|
|
offset_top = 343.0
|
|
offset_right = 635.0
|
|
offset_bottom = 369.0
|
|
text = "Master Volume"
|
|
|
|
[node name="volumeSlider" type="HSlider" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 487.0
|
|
offset_top = 380.0
|
|
offset_right = 671.0
|
|
offset_bottom = 396.0
|
|
max_value = 1.0
|
|
step = 0.01
|
|
|
|
[node name="Label3" type="Label" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 472.0
|
|
offset_top = 468.0
|
|
offset_right = 606.0
|
|
offset_bottom = 491.0
|
|
text = "Force Ultra-Wide:"
|
|
|
|
[node name="wideBox" type="CheckBox" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 611.0
|
|
offset_top = 469.0
|
|
offset_right = 635.0
|
|
offset_bottom = 493.0
|
|
|
|
[node name="Label4" type="Label" parent="."]
|
|
offset_left = 508.0
|
|
offset_top = 503.0
|
|
offset_right = 606.0
|
|
offset_bottom = 526.0
|
|
text = "Health Style:"
|
|
|
|
[node name="healthOptions" type="OptionButton" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 615.0
|
|
offset_top = 504.0
|
|
offset_right = 660.0
|
|
offset_bottom = 524.0
|
|
|
|
[connection signal="ready" from="h_slider" to="." method="_on_h_slider_ready"]
|
|
[connection signal="value_changed" from="h_slider" to="." method="_on_h_slider_value_changed"]
|
|
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
|
|
[connection signal="pressed" from="fullscreenBox" to="." method="_on_fullscreen_box_pressed"]
|
|
[connection signal="ready" from="volumeSlider" to="." method="_on_volume_slider_ready"]
|
|
[connection signal="value_changed" from="volumeSlider" to="." method="_on_volume_slider_value_changed"]
|
|
[connection signal="pressed" from="wideBox" to="." method="_on_wide_box_pressed"]
|
|
[connection signal="item_selected" from="healthOptions" to="." method="_on_health_options_item_selected"]
|
|
[connection signal="ready" from="healthOptions" to="." method="_on_health_options_ready"]
|