2023-01-26 13:23:13 -07:00
|
|
|
[gd_scene load_steps=3 format=3 uid="uid://dy5lqto7557fg"]
|
2023-01-26 12:17:54 -07:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/settings.gd" id="1_gpx88"]
|
2023-03-11 14:18:11 -07:00
|
|
|
[ext_resource type="Texture2D" uid="uid://yg8aqnkfjqjf" path="res://2DArt/settings/SettingsMenu.png" id="2_1lv8m"]
|
2023-01-26 13:23:13 -07:00
|
|
|
|
2023-01-26 12:17:54 -07:00
|
|
|
[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")
|
|
|
|
|
2023-03-11 14:18:11 -07:00
|
|
|
[node name="SettingsMenu" type="Sprite2D" parent="."]
|
|
|
|
position = Vector2(578.112, 326.125)
|
|
|
|
scale = Vector2(0.954846, 0.954846)
|
|
|
|
texture = ExtResource("2_1lv8m")
|
2023-01-26 13:23:13 -07:00
|
|
|
|
2023-01-26 12:17:54 -07:00
|
|
|
[node name="h_slider" type="HSlider" parent="."]
|
|
|
|
layout_mode = 2
|
2023-02-02 13:28:14 -07:00
|
|
|
offset_left = 487.0
|
2023-01-26 13:23:13 -07:00
|
|
|
offset_top = 238.0
|
2023-02-02 13:28:14 -07:00
|
|
|
offset_right = 671.0
|
2023-01-26 13:23:13 -07:00
|
|
|
offset_bottom = 254.0
|
2023-01-26 12:17:54 -07:00
|
|
|
max_value = 0.02
|
|
|
|
step = 0.001
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
|
|
layout_mode = 2
|
2023-02-02 13:28:14 -07:00
|
|
|
offset_left = 486.0
|
2023-01-26 13:23:13 -07:00
|
|
|
offset_top = 213.0
|
2023-02-02 13:28:14 -07:00
|
|
|
offset_right = 674.0
|
2023-01-26 13:23:13 -07:00
|
|
|
offset_bottom = 239.0
|
2023-01-26 12:17:54 -07:00
|
|
|
size_flags_vertical = 0
|
2023-03-17 00:20:54 -06:00
|
|
|
text = "Adjust Mouse Sensitivity"
|
2023-01-26 12:17:54 -07:00
|
|
|
|
2023-01-26 13:23:13 -07:00
|
|
|
[node name="Button" type="Button" parent="."]
|
|
|
|
layout_mode = 0
|
2023-03-11 14:18:11 -07:00
|
|
|
offset_left = 862.0
|
|
|
|
offset_top = 82.0
|
|
|
|
offset_right = 893.0
|
|
|
|
offset_bottom = 113.0
|
2023-01-26 13:23:13 -07:00
|
|
|
text = "X"
|
2023-03-11 14:18:11 -07:00
|
|
|
flat = true
|
|
|
|
|
|
|
|
[node name="Label2" type="Label" parent="."]
|
|
|
|
layout_mode = 0
|
2023-03-17 00:20:54 -06:00
|
|
|
offset_left = 522.0
|
|
|
|
offset_top = 501.0
|
|
|
|
offset_right = 606.0
|
|
|
|
offset_bottom = 527.0
|
2023-03-11 14:18:11 -07:00
|
|
|
text = "Fullscreen:"
|
|
|
|
|
|
|
|
[node name="fullscreenBox" type="CheckBox" parent="."]
|
|
|
|
layout_mode = 0
|
2023-03-17 00:20:54 -06:00
|
|
|
offset_left = 611.0
|
|
|
|
offset_top = 501.0
|
|
|
|
offset_right = 635.0
|
|
|
|
offset_bottom = 525.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="."]
|
2023-03-17 12:11:47 -06:00
|
|
|
layout_mode = 0
|
2023-03-17 00:20:54 -06:00
|
|
|
offset_left = 487.0
|
|
|
|
offset_top = 380.0
|
|
|
|
offset_right = 671.0
|
|
|
|
offset_bottom = 396.0
|
|
|
|
max_value = 1.0
|
|
|
|
step = 0.01
|
2023-01-26 13:23:13 -07:00
|
|
|
|
2023-01-26 12:17:54 -07:00
|
|
|
[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"]
|
2023-01-26 13:23:13 -07:00
|
|
|
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
|
2023-05-11 23:53:18 -06:00
|
|
|
[connection signal="pressed" from="fullscreenBox" to="." method="_on_fullscreen_box_pressed"]
|
2023-03-17 00:20:54 -06:00
|
|
|
[connection signal="ready" from="volumeSlider" to="." method="_on_volume_slider_ready"]
|
|
|
|
[connection signal="value_changed" from="volumeSlider" to="." method="_on_volume_slider_value_changed"]
|