Add independent pixelation controls
This commit is contained in:
parent
6fadca19b4
commit
c7504d2585
21 changed files with 735 additions and 122 deletions
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
[node name="SettingsPanel" type="PanelContainer"]
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(600, 490)
|
||||
custom_minimum_size = Vector2(720, 600)
|
||||
theme = ExtResource("2_theme")
|
||||
script = ExtResource("1_script")
|
||||
|
||||
|
|
@ -16,35 +16,42 @@ theme_override_constants/margin_top = 24
|
|||
theme_override_constants/margin_right = 28
|
||||
theme_override_constants/margin_bottom = 24
|
||||
|
||||
[node name="Content" type="VBoxContainer" parent="Margin"]
|
||||
[node name="Scroll" type="ScrollContainer" parent="Margin"]
|
||||
layout_mode = 2
|
||||
horizontal_scroll_mode = 0
|
||||
|
||||
[node name="Content" type="VBoxContainer" parent="Margin/Scroll"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="Heading" type="Label" parent="Margin/Content"]
|
||||
[node name="Heading" type="Label" parent="Margin/Scroll/Content"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 26
|
||||
theme_override_font_sizes/font_size = 39
|
||||
text = "settings"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="AutoClickToggle" type="CheckButton" parent="Margin/Content"]
|
||||
[node name="AutoClickToggle" type="CheckButton" parent="Margin/Scroll/Content"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "accessibility auto-click"
|
||||
|
||||
[node name="AutoClickHelp" type="Label" parent="Margin/Content"]
|
||||
[node name="AutoClickHelp" type="Label" parent="Margin/Scroll/Content"]
|
||||
layout_mode = 2
|
||||
text = "lower intervals click barriers faster while held."
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="AutoClickRow" type="HBoxContainer" parent="Margin/Content"]
|
||||
[node name="AutoClickRow" type="HBoxContainer" parent="Margin/Scroll/Content"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="Label" type="Label" parent="Margin/Content/AutoClickRow"]
|
||||
custom_minimum_size = Vector2(190, 0)
|
||||
[node name="Label" type="Label" parent="Margin/Scroll/Content/AutoClickRow"]
|
||||
custom_minimum_size = Vector2(260, 0)
|
||||
layout_mode = 2
|
||||
text = "auto-click interval"
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="AutoClickInterval" type="HSlider" parent="Margin/Content/AutoClickRow"]
|
||||
[node name="AutoClickInterval" type="HSlider" parent="Margin/Scroll/Content/AutoClickRow"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
|
@ -53,22 +60,23 @@ max_value = 0.5
|
|||
step = 0.01
|
||||
value = 0.2
|
||||
|
||||
[node name="AutoClickIntervalValue" type="Label" parent="Margin/Content/AutoClickRow"]
|
||||
[node name="AutoClickIntervalValue" type="Label" parent="Margin/Scroll/Content/AutoClickRow"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(62, 0)
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
text = "0.20 s"
|
||||
|
||||
[node name="MouseRow" type="HBoxContainer" parent="Margin/Content"]
|
||||
[node name="MouseRow" type="HBoxContainer" parent="Margin/Scroll/Content"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="Label" type="Label" parent="Margin/Content/MouseRow"]
|
||||
custom_minimum_size = Vector2(190, 0)
|
||||
[node name="Label" type="Label" parent="Margin/Scroll/Content/MouseRow"]
|
||||
custom_minimum_size = Vector2(260, 0)
|
||||
layout_mode = 2
|
||||
text = "mouse camera sensitivity"
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="MouseSensitivity" type="HSlider" parent="Margin/Content/MouseRow"]
|
||||
[node name="MouseSensitivity" type="HSlider" parent="Margin/Scroll/Content/MouseRow"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
|
@ -77,22 +85,23 @@ max_value = 0.012
|
|||
step = 0.0005
|
||||
value = 0.005
|
||||
|
||||
[node name="MouseSensitivityValue" type="Label" parent="Margin/Content/MouseRow"]
|
||||
[node name="MouseSensitivityValue" type="Label" parent="Margin/Scroll/Content/MouseRow"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(62, 0)
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
text = "0.0050"
|
||||
|
||||
[node name="ControllerRow" type="HBoxContainer" parent="Margin/Content"]
|
||||
[node name="ControllerRow" type="HBoxContainer" parent="Margin/Scroll/Content"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="Label" type="Label" parent="Margin/Content/ControllerRow"]
|
||||
custom_minimum_size = Vector2(190, 0)
|
||||
[node name="Label" type="Label" parent="Margin/Scroll/Content/ControllerRow"]
|
||||
custom_minimum_size = Vector2(260, 0)
|
||||
layout_mode = 2
|
||||
text = "controller camera sensitivity"
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="ControllerSensitivity" type="HSlider" parent="Margin/Content/ControllerRow"]
|
||||
[node name="ControllerSensitivity" type="HSlider" parent="Margin/Scroll/Content/ControllerRow"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
|
@ -101,36 +110,86 @@ max_value = 5.0
|
|||
step = 0.1
|
||||
value = 2.5
|
||||
|
||||
[node name="ControllerSensitivityValue" type="Label" parent="Margin/Content/ControllerRow"]
|
||||
[node name="ControllerSensitivityValue" type="Label" parent="Margin/Scroll/Content/ControllerRow"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(62, 0)
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
text = "2.5"
|
||||
|
||||
[node name="InvertYToggle" type="CheckButton" parent="Margin/Content"]
|
||||
[node name="InvertYToggle" type="CheckButton" parent="Margin/Scroll/Content"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "invert vertical camera"
|
||||
|
||||
[node name="SettingsFeedback" type="Label" parent="Margin/Content"]
|
||||
[node name="WorldPixelRow" type="HBoxContainer" parent="Margin/Scroll/Content"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="Label" type="Label" parent="Margin/Scroll/Content/WorldPixelRow"]
|
||||
custom_minimum_size = Vector2(260, 0)
|
||||
layout_mode = 2
|
||||
text = "world pixelation"
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="WorldPixelSize" type="HSlider" parent="Margin/Scroll/Content/WorldPixelRow"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 28)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
min_value = 1.0
|
||||
max_value = 5.0
|
||||
step = 1.0
|
||||
value = 3.0
|
||||
|
||||
[node name="WorldPixelSizeValue" type="Label" parent="Margin/Scroll/Content/WorldPixelRow"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(170, 0)
|
||||
layout_mode = 2
|
||||
text = "retro"
|
||||
|
||||
[node name="UIPixelRow" type="HBoxContainer" parent="Margin/Scroll/Content"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="Label" type="Label" parent="Margin/Scroll/Content/UIPixelRow"]
|
||||
custom_minimum_size = Vector2(260, 0)
|
||||
layout_mode = 2
|
||||
text = "ui pixelation"
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="UIPixelSize" type="HSlider" parent="Margin/Scroll/Content/UIPixelRow"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
min_value = 1.0
|
||||
max_value = 5.0
|
||||
step = 1.0
|
||||
value = 3.0
|
||||
|
||||
[node name="UIPixelSizeValue" type="Label" parent="Margin/Scroll/Content/UIPixelRow"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(170, 0)
|
||||
layout_mode = 2
|
||||
text = "retro"
|
||||
|
||||
[node name="SettingsFeedback" type="Label" parent="Margin/Scroll/Content"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 44)
|
||||
layout_mode = 2
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Buttons" type="HBoxContainer" parent="Margin/Content"]
|
||||
[node name="Buttons" type="HBoxContainer" parent="Margin/Scroll/Content"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
alignment = 2
|
||||
|
||||
[node name="ApplySettingsButton" type="Button" parent="Margin/Content/Buttons"]
|
||||
[node name="ApplySettingsButton" type="Button" parent="Margin/Scroll/Content/Buttons"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(120, 42)
|
||||
custom_minimum_size = Vector2(150, 64)
|
||||
layout_mode = 2
|
||||
text = "apply"
|
||||
|
||||
[node name="CancelSettingsButton" type="Button" parent="Margin/Content/Buttons"]
|
||||
[node name="CancelSettingsButton" type="Button" parent="Margin/Scroll/Content/Buttons"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(120, 42)
|
||||
custom_minimum_size = Vector2(150, 64)
|
||||
layout_mode = 2
|
||||
text = "back"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue