- A Quiz settings button under the player bar opens a small card above it with the quiz settings, including Auto repeat, which moves there from under the player bar. The card does not dim the quiz, so it can be changed during a song, and grows to fit its rows. - A Settings button in the top bar opens the application settings: server, fullscreen and songs to download ahead. Quick sync is gone, as the server no longer has it, and the server list is in Settings. - Labels use sentence case, and seconds to hide show as whole numbers. - Debug builds switch to the local server and a low winning score in the Settings autoload, before any scene asks the server for anything. The DEBUG label moves to the top bar, so it shows on every tab. - Search moves from the top bar back to the quiz toolbar, as the Statistics tab has its own search.
184 lines
5.0 KiB
Plaintext
184 lines
5.0 KiB
Plaintext
[gd_scene format=3]
|
|
|
|
[ext_resource type="Script" path="res://quiz/quiz_settings_card.gd" id="1_card_script"]
|
|
|
|
[node name="QuizSettingsCard" type="Control" node_paths=PackedStringArray("panel")]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
mouse_filter = 2
|
|
script = ExtResource("1_card_script")
|
|
panel = NodePath("CardPanel")
|
|
|
|
[node name="CardPanel" type="Panel" parent="."]
|
|
unique_name_in_owner = true
|
|
layout_mode = 0
|
|
offset_top = -470.0
|
|
offset_right = 440.0
|
|
theme_type_variation = &"PopupBackground"
|
|
|
|
[node name="VBox" type="VBoxContainer" parent="CardPanel"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 0
|
|
offset_left = 16.0
|
|
offset_top = 12.0
|
|
offset_right = 424.0
|
|
|
|
[node name="TitleLabel" type="Label" parent="CardPanel/VBox"]
|
|
layout_mode = 2
|
|
theme_type_variation = &"Title"
|
|
text = "Quiz settings"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="AutoRepeatCheckButton" type="CheckButton" parent="CardPanel/VBox"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "Auto repeat"
|
|
|
|
[node name="StopAfterCurrentCheckButton" type="CheckButton" parent="CardPanel/VBox"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "Stop after current"
|
|
|
|
[node name="HideNextTrackCheckButton" type="CheckButton" parent="CardPanel/VBox"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "Hide next track"
|
|
|
|
[node name="HideBeginningCheckButton" type="CheckButton" parent="CardPanel/VBox"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "Hide the beginning of songs"
|
|
|
|
[node name="HideForSecondsRow" type="HBoxContainer" parent="CardPanel/VBox"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
|
|
[node name="Title" type="Label" parent="CardPanel/VBox/HideForSecondsRow"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_type_variation = &"SettingsRowLabel"
|
|
text = "Seconds to hide"
|
|
|
|
[node name="HideForSecondsLabel" type="Label" parent="CardPanel/VBox/HideForSecondsRow"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(48, 0)
|
|
layout_mode = 2
|
|
text = "5"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="LowerHideForSecondsButton" type="Button" parent="CardPanel/VBox/HideForSecondsRow"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(30, 0)
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "-1"
|
|
|
|
[node name="IncreaseHideForSecondsButton" type="Button" parent="CardPanel/VBox/HideForSecondsRow"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(30, 0)
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "+1"
|
|
|
|
[node name="HideLengthCheckButton" type="CheckButton" parent="CardPanel/VBox"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "Hide song length"
|
|
|
|
[node name="HideTicksCheckButton" type="CheckButton" parent="CardPanel/VBox"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "Hide ticks in the playbar"
|
|
|
|
[node name="LowPlayedCheckButton" type="CheckButton" parent="CardPanel/VBox"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "Prefer less played soundtracks"
|
|
|
|
[node name="AddToDatabaseCheckButton" type="CheckButton" parent="CardPanel/VBox"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "Count plays in statistics"
|
|
|
|
[node name="WinningScoreRow" type="HBoxContainer" parent="CardPanel/VBox"]
|
|
layout_mode = 2
|
|
|
|
[node name="Title" type="Label" parent="CardPanel/VBox/WinningScoreRow"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_type_variation = &"SettingsRowLabel"
|
|
text = "Winning score"
|
|
|
|
[node name="ScoreLabel" type="Label" parent="CardPanel/VBox/WinningScoreRow"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(48, 0)
|
|
layout_mode = 2
|
|
text = "20"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="LowerButton" type="Button" parent="CardPanel/VBox/WinningScoreRow"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(30, 0)
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "-1"
|
|
|
|
[node name="IncreaseButton" type="Button" parent="CardPanel/VBox/WinningScoreRow"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(30, 0)
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "+1"
|
|
|
|
[node name="InspirationRow" type="HBoxContainer" parent="CardPanel/VBox"]
|
|
layout_mode = 2
|
|
|
|
[node name="Title" type="Label" parent="CardPanel/VBox/InspirationRow"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_type_variation = &"SettingsRowLabel"
|
|
text = "Inspiration list speed"
|
|
|
|
[node name="InspirationListSpeedLabel" type="Label" parent="CardPanel/VBox/InspirationRow"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(48, 0)
|
|
layout_mode = 2
|
|
text = "1"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="LowerInspirationSpeedButton" type="Button" parent="CardPanel/VBox/InspirationRow"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(30, 0)
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "-1"
|
|
|
|
[node name="IncreaseInspirationSpeedButton" type="Button" parent="CardPanel/VBox/InspirationRow"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(30, 0)
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "+1"
|