mirror of
https://github.com/litruv/PNGTuber-Plus.git
synced 2026-07-24 02:26:02 +10:00
Add experimental mic loudness UI toggle to settings
This commit is contained in:
@@ -213,6 +213,7 @@ func _on_stream_deck_check_toggled(button_pressed):
|
|||||||
func _on_experimental_mic_loudness_toggle(checked):
|
func _on_experimental_mic_loudness_toggle(checked):
|
||||||
Global.experimentalMicLoudness = checked
|
Global.experimentalMicLoudness = checked
|
||||||
Saving.settings["experimentalMicLoudness"] = checked
|
Saving.settings["experimentalMicLoudness"] = checked
|
||||||
|
print("Experimental mic loudness: ", checked)
|
||||||
|
|
||||||
|
|
||||||
func _process(delta):
|
func _process(delta):
|
||||||
|
|||||||
@@ -14289,46 +14289,67 @@ offset_bottom = 28.0
|
|||||||
text = "confirm"
|
text = "confirm"
|
||||||
|
|
||||||
[node name="StreamDeck" type="Node2D" parent="."]
|
[node name="StreamDeck" type="Node2D" parent="."]
|
||||||
position = Vector2(16, 373)
|
position = Vector2(16, 337)
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="StreamDeck"]
|
[node name="Label" type="Label" parent="StreamDeck"]
|
||||||
offset_right = 138.0
|
offset_right = 138.0
|
||||||
offset_bottom = 34.0
|
offset_bottom = 34.0
|
||||||
text = "use streamdeck"
|
text = "use streamdeck"
|
||||||
|
metadata/_edit_use_anchors_ = true
|
||||||
|
|
||||||
[node name="streamDeckCheck" type="CheckBox" parent="StreamDeck"]
|
[node name="streamDeckCheck" type="CheckBox" parent="StreamDeck"]
|
||||||
offset_left = 130.0
|
offset_left = 130.0
|
||||||
offset_top = 1.0
|
offset_top = 1.0
|
||||||
offset_right = 154.0
|
offset_right = 154.0
|
||||||
offset_bottom = 25.0
|
offset_bottom = 25.0
|
||||||
|
metadata/_edit_use_anchors_ = true
|
||||||
|
|
||||||
|
[node name="experimentalMicLoudness" type="Node2D" parent="."]
|
||||||
|
position = Vector2(16, 369)
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="experimentalMicLoudness"]
|
||||||
|
offset_right = 200.0
|
||||||
|
offset_bottom = 34.0
|
||||||
|
text = "mic loudness"
|
||||||
|
|
||||||
|
[node name="checkmark" type="CheckBox" parent="experimentalMicLoudness"]
|
||||||
|
offset_left = 130.0
|
||||||
|
offset_top = 1.0
|
||||||
|
offset_right = 154.0
|
||||||
|
offset_bottom = 25.0
|
||||||
|
metadata/_edit_use_anchors_ = true
|
||||||
|
|
||||||
[node name="AntiAliasing" type="Node2D" parent="."]
|
[node name="AntiAliasing" type="Node2D" parent="."]
|
||||||
position = Vector2(16, 405)
|
position = Vector2(16, 401)
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="AntiAliasing"]
|
[node name="Label" type="Label" parent="AntiAliasing"]
|
||||||
offset_right = 138.0
|
offset_right = 138.0
|
||||||
offset_bottom = 34.0
|
offset_bottom = 34.0
|
||||||
text = "texture filtering"
|
text = "texture filtering"
|
||||||
|
metadata/_edit_use_anchors_ = true
|
||||||
|
|
||||||
[node name="CheckBox" type="CheckBox" parent="AntiAliasing"]
|
[node name="CheckBox" type="CheckBox" parent="AntiAliasing"]
|
||||||
offset_left = 130.0
|
offset_left = 130.0
|
||||||
offset_top = 1.0
|
offset_top = 1.0
|
||||||
offset_right = 154.0
|
offset_right = 154.0
|
||||||
offset_bottom = 25.0
|
offset_bottom = 25.0
|
||||||
|
metadata/_edit_use_anchors_ = true
|
||||||
|
|
||||||
[node name="bounceOnCostume" type="Node2D" parent="."]
|
[node name="bounceOnCostume" type="Node2D" parent="."]
|
||||||
position = Vector2(17, 341)
|
position = Vector2(17, 305)
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="bounceOnCostume"]
|
[node name="Label" type="Label" parent="bounceOnCostume"]
|
||||||
offset_right = 138.0
|
offset_right = 138.0
|
||||||
offset_bottom = 34.0
|
offset_bottom = 34.0
|
||||||
text = "costume bounce"
|
text = "costume bounce"
|
||||||
|
metadata/_edit_use_anchors_ = true
|
||||||
|
|
||||||
[node name="costumeCheck" type="CheckBox" parent="bounceOnCostume"]
|
[node name="costumeCheck" type="CheckBox" parent="bounceOnCostume"]
|
||||||
offset_left = 130.0
|
offset_left = 130.0
|
||||||
offset_top = 1.0
|
offset_top = 1.0
|
||||||
offset_right = 154.0
|
offset_right = 154.0
|
||||||
offset_bottom = 25.0
|
offset_bottom = 25.0
|
||||||
|
metadata/_edit_use_anchors_ = true
|
||||||
|
|
||||||
[node name="BounceForce" type="Node2D" parent="."]
|
[node name="BounceForce" type="Node2D" parent="."]
|
||||||
position = Vector2(22, 115)
|
position = Vector2(22, 115)
|
||||||
@@ -14832,7 +14853,7 @@ offset_bottom = -75.0
|
|||||||
text = "costume hotkeys"
|
text = "costume hotkeys"
|
||||||
|
|
||||||
[node name="BlinkSpeed" type="Node2D" parent="."]
|
[node name="BlinkSpeed" type="Node2D" parent="."]
|
||||||
position = Vector2(17, 283)
|
position = Vector2(17, 253)
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="BlinkSpeed"]
|
[node name="Label" type="Label" parent="BlinkSpeed"]
|
||||||
offset_left = -10.0
|
offset_left = -10.0
|
||||||
@@ -14841,6 +14862,7 @@ offset_right = 158.0
|
|||||||
offset_bottom = 27.0
|
offset_bottom = 27.0
|
||||||
text = "blink speed: 1"
|
text = "blink speed: 1"
|
||||||
horizontal_alignment = 1
|
horizontal_alignment = 1
|
||||||
|
metadata/_edit_use_anchors_ = true
|
||||||
|
|
||||||
[node name="blinkSpeed" type="HSlider" parent="BlinkSpeed"]
|
[node name="blinkSpeed" type="HSlider" parent="BlinkSpeed"]
|
||||||
offset_left = -9.0
|
offset_left = -9.0
|
||||||
@@ -14851,9 +14873,10 @@ theme = SubResource("Theme_e6tc4")
|
|||||||
max_value = 20.0
|
max_value = 20.0
|
||||||
value = 1.0
|
value = 1.0
|
||||||
scrollable = false
|
scrollable = false
|
||||||
|
metadata/_edit_use_anchors_ = true
|
||||||
|
|
||||||
[node name="BlinkChance" type="Node2D" parent="."]
|
[node name="BlinkChance" type="Node2D" parent="."]
|
||||||
position = Vector2(17, 235)
|
position = Vector2(17, 205)
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="BlinkChance"]
|
[node name="Label" type="Label" parent="BlinkChance"]
|
||||||
offset_left = -10.0
|
offset_left = -10.0
|
||||||
@@ -14862,6 +14885,7 @@ offset_right = 160.0
|
|||||||
offset_bottom = 27.0
|
offset_bottom = 27.0
|
||||||
text = "blink chance: 1 in 200"
|
text = "blink chance: 1 in 200"
|
||||||
horizontal_alignment = 1
|
horizontal_alignment = 1
|
||||||
|
metadata/_edit_use_anchors_ = true
|
||||||
|
|
||||||
[node name="blinkChance" type="HSlider" parent="BlinkChance"]
|
[node name="blinkChance" type="HSlider" parent="BlinkChance"]
|
||||||
offset_left = -8.0
|
offset_left = -8.0
|
||||||
@@ -14873,6 +14897,7 @@ min_value = 1.0
|
|||||||
max_value = 300.0
|
max_value = 300.0
|
||||||
value = 200.0
|
value = 200.0
|
||||||
scrollable = false
|
scrollable = false
|
||||||
|
metadata/_edit_use_anchors_ = true
|
||||||
|
|
||||||
[connection signal="pressed" from="Background/Transparent/Button" to="." method="_on_button_pressed"]
|
[connection signal="pressed" from="Background/Transparent/Button" to="." method="_on_button_pressed"]
|
||||||
[connection signal="pressed" from="Background/Green/greenButton" to="." method="_on_green_button_pressed"]
|
[connection signal="pressed" from="Background/Green/greenButton" to="." method="_on_green_button_pressed"]
|
||||||
@@ -14883,6 +14908,7 @@ scrollable = false
|
|||||||
[connection signal="value_changed" from="MaxFPS/fpsDrag" to="." method="_on_fps_drag_value_changed"]
|
[connection signal="value_changed" from="MaxFPS/fpsDrag" to="." method="_on_fps_drag_value_changed"]
|
||||||
[connection signal="pressed" from="MaxFPS/confirm" to="." method="_on_confirm_pressed"]
|
[connection signal="pressed" from="MaxFPS/confirm" to="." method="_on_confirm_pressed"]
|
||||||
[connection signal="toggled" from="StreamDeck/streamDeckCheck" to="." method="_on_stream_deck_check_toggled"]
|
[connection signal="toggled" from="StreamDeck/streamDeckCheck" to="." method="_on_stream_deck_check_toggled"]
|
||||||
|
[connection signal="toggled" from="experimentalMicLoudness/checkmark" to="." method="_on_experimental_mic_loudness_toggle"]
|
||||||
[connection signal="toggled" from="AntiAliasing/CheckBox" to="." method="_on_check_box_toggled"]
|
[connection signal="toggled" from="AntiAliasing/CheckBox" to="." method="_on_check_box_toggled"]
|
||||||
[connection signal="toggled" from="bounceOnCostume/costumeCheck" to="." method="_on_costume_check_toggled"]
|
[connection signal="toggled" from="bounceOnCostume/costumeCheck" to="." method="_on_costume_check_toggled"]
|
||||||
[connection signal="value_changed" from="BounceForce/bounceForce" to="." method="_on_bounce_force_value_changed"]
|
[connection signal="value_changed" from="BounceForce/bounceForce" to="." method="_on_bounce_force_value_changed"]
|
||||||
|
|||||||
Reference in New Issue
Block a user