themes/main_theme.tres is the project theme. It holds Godot's default look for every control type the game uses, plus named styles for the game's own look (popups, the background, spacers, list rows, title and text sizes, highlights) and a palette for the popup dimming. Scenes and scripts name these styles instead of setting colours, sizes or style boxes, and the five old theme files are gone. themes/README.md explains the styles and how to make a new theme. The screenshot tour now uses the real character pictures, so the layout baseline is taken again. Screenshots are pixel-identical to before, and test_theme.gd checks that the look stays in the theme.
256 lines
8.8 KiB
Plaintext
256 lines
8.8 KiB
Plaintext
[gd_scene format=3 uid="uid://dldpeo5y3l5hq"]
|
|
|
|
[ext_resource type="Script" uid="uid://dukqyjoduf1af" path="res://popups/settings_popup.gd" id="1_bt55j"]
|
|
|
|
[node name="SettingsPopup" type="Control" unique_id=1298840328 node_paths=PackedStringArray("panel")]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_bt55j")
|
|
panel = NodePath("SettingsPanel")
|
|
|
|
[node name="SettingsPanel" type="Panel" parent="." unique_id=45537159]
|
|
unique_name_in_owner = true
|
|
layout_mode = 0
|
|
offset_right = 500.0
|
|
offset_bottom = 640.0
|
|
theme_type_variation = &"PopupBackground"
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="SettingsPanel" unique_id=1325795358]
|
|
layout_mode = 0
|
|
offset_left = 20.0
|
|
offset_top = 8.0
|
|
offset_right = 480.0
|
|
offset_bottom = 632.0
|
|
horizontal_scroll_mode = 0
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="SettingsPanel/ScrollContainer" unique_id=1796635163]
|
|
clip_contents = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="Label" type="Label" parent="SettingsPanel/ScrollContainer/VBoxContainer" unique_id=1111531402]
|
|
layout_mode = 2
|
|
size_flags_vertical = 0
|
|
theme_type_variation = &"Title"
|
|
text = "Settings"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="StopAfterCurrentCheckButton" type="CheckButton" parent="SettingsPanel/ScrollContainer/VBoxContainer" unique_id=508305575]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
button_pressed = true
|
|
action_mode = 0
|
|
text = "Stop after current"
|
|
|
|
[node name="HideNextTrackCheckButton" type="CheckButton" parent="SettingsPanel/ScrollContainer/VBoxContainer" unique_id=1568244599]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
button_pressed = true
|
|
action_mode = 0
|
|
text = "Hide next track"
|
|
|
|
[node name="AddToDatabaseCheckButton" type="CheckButton" parent="SettingsPanel/ScrollContainer/VBoxContainer" unique_id=1673750542]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
action_mode = 0
|
|
text = "Turn on played to database"
|
|
|
|
[node name="LowPlayedCheckButton" type="CheckButton" parent="SettingsPanel/ScrollContainer/VBoxContainer" unique_id=1672657048]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
action_mode = 0
|
|
text = "Use low played mode"
|
|
|
|
[node name="HideBeginningCheckButton" type="CheckButton" parent="SettingsPanel/ScrollContainer/VBoxContainer" unique_id=1370617867]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
action_mode = 0
|
|
text = "Hide beginning of songs"
|
|
|
|
[node name="HideForSecondsHBoxContainer" type="HBoxContainer" parent="SettingsPanel/ScrollContainer/VBoxContainer" unique_id=1368485120]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
|
|
[node name="HideForSecondsTitle" type="Label" parent="SettingsPanel/ScrollContainer/VBoxContainer/HideForSecondsHBoxContainer" unique_id=1822369383]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Hide Start Seconds: "
|
|
|
|
[node name="HideForSecondsLabel" type="Label" parent="SettingsPanel/ScrollContainer/VBoxContainer/HideForSecondsHBoxContainer" unique_id=1580108945]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(48, 0)
|
|
layout_mode = 2
|
|
text = "5.0"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="LowerHideForSecondsButton" type="Button" parent="SettingsPanel/ScrollContainer/VBoxContainer/HideForSecondsHBoxContainer" unique_id=180643442]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(30, 2.08165e-12)
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "-1"
|
|
|
|
[node name="IncreaseHideForSecondsButton" type="Button" parent="SettingsPanel/ScrollContainer/VBoxContainer/HideForSecondsHBoxContainer" unique_id=340681770]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(30, 2.08165e-12)
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "+1"
|
|
|
|
[node name="HideLengthCheckButton" type="CheckButton" parent="SettingsPanel/ScrollContainer/VBoxContainer" unique_id=67806372]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
action_mode = 0
|
|
text = "Hide length of songs"
|
|
|
|
[node name="HideTicksCheckButton" type="CheckButton" parent="SettingsPanel/ScrollContainer/VBoxContainer" unique_id=706322752]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
action_mode = 0
|
|
text = "Hide ticks in playbar"
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="SettingsPanel/ScrollContainer/VBoxContainer" unique_id=2140610992]
|
|
layout_mode = 2
|
|
|
|
[node name="Label2" type="Label" parent="SettingsPanel/ScrollContainer/VBoxContainer/HBoxContainer" unique_id=1892907487]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Winning Score: "
|
|
|
|
[node name="ScoreLabel" type="Label" parent="SettingsPanel/ScrollContainer/VBoxContainer/HBoxContainer" unique_id=444542662]
|
|
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="SettingsPanel/ScrollContainer/VBoxContainer/HBoxContainer" unique_id=614806355]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(30, 2.08165e-12)
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "-1"
|
|
|
|
[node name="IncreaseButton" type="Button" parent="SettingsPanel/ScrollContainer/VBoxContainer/HBoxContainer" unique_id=1837169457]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(30, 2.08165e-12)
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "+1"
|
|
|
|
[node name="CacheHBoxContainer" type="HBoxContainer" parent="SettingsPanel/ScrollContainer/VBoxContainer" unique_id=658210492]
|
|
layout_mode = 2
|
|
|
|
[node name="CacheTitleLabel" type="Label" parent="SettingsPanel/ScrollContainer/VBoxContainer/CacheHBoxContainer" unique_id=365012193]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Predownload songs: "
|
|
|
|
[node name="CacheLabel" type="Label" parent="SettingsPanel/ScrollContainer/VBoxContainer/CacheHBoxContainer" unique_id=1558370172]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(48, 0)
|
|
layout_mode = 2
|
|
text = "1"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="LowerCacheButton" type="Button" parent="SettingsPanel/ScrollContainer/VBoxContainer/CacheHBoxContainer" unique_id=1990385038]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(30, 2.08165e-12)
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "-1"
|
|
|
|
[node name="IncreaseCacheButton" type="Button" parent="SettingsPanel/ScrollContainer/VBoxContainer/CacheHBoxContainer" unique_id=1806295533]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(30, 2.08165e-12)
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "+1"
|
|
|
|
[node name="InspirationHBoxContainer" type="HBoxContainer" parent="SettingsPanel/ScrollContainer/VBoxContainer" unique_id=1686756540]
|
|
layout_mode = 2
|
|
|
|
[node name="InspirationListSpeedTitle" type="Label" parent="SettingsPanel/ScrollContainer/VBoxContainer/InspirationHBoxContainer" unique_id=1397861506]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Inspiration List Speed: "
|
|
|
|
[node name="InspirationListSpeedLabel" type="Label" parent="SettingsPanel/ScrollContainer/VBoxContainer/InspirationHBoxContainer" unique_id=867387668]
|
|
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="SettingsPanel/ScrollContainer/VBoxContainer/InspirationHBoxContainer" unique_id=845209534]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(30, 2.08165e-12)
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "-1"
|
|
|
|
[node name="IncreaseInspirationSpeedButton" type="Button" parent="SettingsPanel/ScrollContainer/VBoxContainer/InspirationHBoxContainer" unique_id=1122701153]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(30, 2.08165e-12)
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "+1"
|
|
|
|
[node name="SelectServerButton" type="OptionButton" parent="SettingsPanel/ScrollContainer/VBoxContainer" unique_id=434350694]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
selected = 0
|
|
item_count = 5
|
|
popup/item_0/text = "https://music.sanplex.xyz"
|
|
popup/item_0/id = 1
|
|
popup/item_1/text = "https://tmusic.sanplex.xyz"
|
|
popup/item_1/id = 2
|
|
popup/item_2/text = "https://rmusic.sanplex.xyz"
|
|
popup/item_2/id = 3
|
|
popup/item_3/text = "https://old-music.sanplex.xyz"
|
|
popup/item_3/id = 4
|
|
popup/item_4/text = "http://localhost:8080"
|
|
popup/item_4/id = 5
|
|
|
|
[node name="FullscreenButton" type="CheckButton" parent="SettingsPanel/ScrollContainer/VBoxContainer" unique_id=400304684]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Fullscreen"
|
|
|
|
[node name="QuickSyncButton" type="CheckButton" parent="SettingsPanel/ScrollContainer/VBoxContainer" unique_id=49497448]
|
|
visible = false
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
button_pressed = true
|
|
action_mode = 0
|
|
text = "Quick sync"
|
|
|
|
[node name="LocalButton" type="CheckButton" parent="SettingsPanel/ScrollContainer/VBoxContainer" unique_id=905844805]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
disabled = true
|
|
text = "Local"
|