gotta go fast, hit that BLJgit status

This commit is contained in:
Haze Weathers 2024-12-07 21:58:34 -05:00
parent b54e9272c6
commit 32189c29a4
10 changed files with 115 additions and 6 deletions

View file

@ -13,6 +13,7 @@ onready var select_tab: HBoxContainer = $"%SelectTab"
# options nodes
onready var rumble: HBoxContainer = $"%SelectRumble"
onready var gore: HBoxContainer = $"%SelectGore"
onready var speedrun_timer: HBoxContainer = $"%SelectSpeedrunTimer"
onready var fullscreen: HBoxContainer = $"%SelectFullscreen"
onready var window_size: HBoxContainer = $"%SelectWindowSize"
onready var scaling: HBoxContainer = $"%SelectScaling"
@ -47,6 +48,7 @@ func _init_values() -> void:
# game
rumble.selection = Options.rumble
gore.selection = Options.gore
speedrun_timer.selection = 1 if Options.speedrun_timer else 0
# video
fullscreen.selection = 1 if Options.fullscreen else 0
window_size.selection = int(Options.window_size) - 1
@ -81,6 +83,9 @@ func _on_Rumble_selected(selection) -> void:
func _on_Gore_selected(selection) -> void:
Options.gore = selection
func _on_SelectSpeedrunTimer_selected(selection) -> void:
Options.speedrun_timer = selection == 1
#
# VIDEO

View file

@ -160,16 +160,41 @@ margin_left = 39.0
margin_right = 218.0
margin_bottom = 12.0
focus_neighbour_top = NodePath("../../Rumble/SelectRumble")
focus_neighbour_bottom = NodePath("../../ScoreBoardName/PlayerNameInput")
focus_neighbour_bottom = NodePath("../../SpeedrunTimer/SelectSpeedrunTimer")
focus_mode = 2
size_flags_horizontal = 3
script = ExtResource( 3 )
options = [ "none", "no stains", "full" ]
[node name="ScoreBoardName" type="HBoxContainer" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Game"]
[node name="SpeedrunTimer" type="HBoxContainer" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Game"]
margin_top = 32.0
margin_right = 218.0
margin_bottom = 42.0
margin_bottom = 44.0
rect_min_size = Vector2( 0, 12 )
[node name="Label" type="Label" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Game/SpeedrunTimer"]
margin_top = 1.0
margin_right = 105.0
margin_bottom = 11.0
text = "Speedrun Timer:"
[node name="SelectSpeedrunTimer" type="HBoxContainer" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Game/SpeedrunTimer"]
unique_name_in_owner = true
margin_left = 109.0
margin_right = 218.0
margin_bottom = 12.0
focus_neighbour_top = NodePath("../../Gore/SelectGore")
focus_neighbour_bottom = NodePath("../../ScoreBoardName/PlayerNameInput")
focus_mode = 2
size_flags_horizontal = 3
script = ExtResource( 3 )
condense = true
options = [ "off", "on" ]
[node name="ScoreBoardName" type="HBoxContainer" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Game"]
margin_top = 48.0
margin_right = 218.0
margin_bottom = 58.0
[node name="Label" type="Label" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Game/ScoreBoardName"]
margin_right = 112.0
@ -181,7 +206,7 @@ margin_left = 130.0
margin_right = 203.0
margin_bottom = 10.0
rect_min_size = Vector2( 73, 0 )
focus_neighbour_top = NodePath("../../Gore/SelectGore")
focus_neighbour_top = NodePath("../../SpeedrunTimer/SelectSpeedrunTimer")
size_flags_horizontal = 6
custom_constants/line_spacing = 0
custom_styles/focus = SubResource( 5 )
@ -863,6 +888,7 @@ align = 1
[connection signal="selected" from="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/SelectTab" to="." method="_on_tab_selected"]
[connection signal="selected" from="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Game/Rumble/SelectRumble" to="." method="_on_Rumble_selected"]
[connection signal="selected" from="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Game/Gore/SelectGore" to="." method="_on_Gore_selected"]
[connection signal="selected" from="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Game/SpeedrunTimer/SelectSpeedrunTimer" to="." method="_on_SelectSpeedrunTimer_selected"]
[connection signal="focus_entered" from="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Game/ScoreBoardName/PlayerNameInput" to="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Game/ScoreBoardName/PlayerNameInput" method="_on_focus_entered"]
[connection signal="focus_exited" from="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Game/ScoreBoardName/PlayerNameInput" to="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Game/ScoreBoardName/PlayerNameInput" method="_on_focus_exited"]
[connection signal="gui_input" from="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Game/ScoreBoardName/PlayerNameInput" to="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Tabs/Game/ScoreBoardName/PlayerNameInput" method="_on_gui_input"]