Added ability to adjust mouse settings in game
This commit is contained in:
@ -63,6 +63,7 @@ text = "Quit
|
||||
"
|
||||
|
||||
[node name="Settings" type="Control" parent="."]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@ -112,39 +113,29 @@ offset_bottom = -16.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="HBoxContainer" parent="Settings/ColorRect/VBoxContainer" instance=ExtResource("4_6nahw")]
|
||||
[node name="Setting Option" parent="Settings/ColorRect/VBoxContainer" instance=ExtResource("4_6nahw")]
|
||||
layout_mode = 2
|
||||
Setting = 0
|
||||
|
||||
[node name="HBoxContainer4" parent="Settings/ColorRect/VBoxContainer" instance=ExtResource("4_6nahw")]
|
||||
[node name="Setting Option2" parent="Settings/ColorRect/VBoxContainer" instance=ExtResource("4_6nahw")]
|
||||
layout_mode = 2
|
||||
SettingName = "Joystick Settings"
|
||||
SettingLabel = "Joystick_Settings"
|
||||
Setting = 1
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="Settings/ColorRect/VBoxContainer"]
|
||||
[node name="Setting Option3" parent="Settings/ColorRect/VBoxContainer" instance=ExtResource("4_6nahw")]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
Setting = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Settings/ColorRect/VBoxContainer/HBoxContainer2"]
|
||||
custom_minimum_size = Vector2(400, 0)
|
||||
[node name="Setting Option4" parent="Settings/ColorRect/VBoxContainer" instance=ExtResource("4_6nahw")]
|
||||
layout_mode = 2
|
||||
text = "Joystick Sensativity"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
Setting = 3
|
||||
|
||||
[node name="HSlider" type="HSlider" parent="Settings/ColorRect/VBoxContainer/HBoxContainer2"]
|
||||
custom_minimum_size = Vector2(200, 0)
|
||||
[node name="Setting Option5" parent="Settings/ColorRect/VBoxContainer" instance=ExtResource("4_6nahw")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 4
|
||||
Setting = 4
|
||||
|
||||
[node name="HBoxContainer3" type="HBoxContainer" parent="Settings/ColorRect/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Settings/ColorRect/VBoxContainer/HBoxContainer3"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HSlider" type="HSlider" parent="Settings/ColorRect/VBoxContainer/HBoxContainer3"]
|
||||
[node name="Setting Option6" parent="Settings/ColorRect/VBoxContainer" instance=ExtResource("4_6nahw")]
|
||||
layout_mode = 2
|
||||
Setting = 5
|
||||
|
||||
[connection signal="pressed" from="Pause Menu/Menu/Resume" to="." method="_on_resume_pressed"]
|
||||
[connection signal="pressed" from="Pause Menu/Menu/Settings" to="." method="_on_settings_pressed"]
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
[ext_resource type="Script" path="res://Assets/scripts/Component Scripts/Settings_Option.gd" id="1_aieqa"]
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer"]
|
||||
[node name="Setting Option" type="HBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 40)
|
||||
alignment = 1
|
||||
script = ExtResource("1_aieqa")
|
||||
@ -10,7 +10,7 @@ script = ExtResource("1_aieqa")
|
||||
[node name="Label" type="Label" parent="."]
|
||||
custom_minimum_size = Vector2(400, 0)
|
||||
layout_mode = 2
|
||||
text = "Mouse Sensitity"
|
||||
text = "Temp String"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user