Cover menu in the soundtrack popup ("Change cover"):
- Choose picture uploads a JPEG, PNG or WebP picture (up to 10 MB).
- Pick by ID uses a game's cover on SteamGridDB or an anime's on AniList.
- Remove cover deletes it, so the server searches for a new one.
- The server's reason is shown when it refuses a change.
After a change the new cover time is fetched, and the popup, the
statistics card and the quiz show the new cover.
Quiz: once the answer is shown, the soundtrack's cover shows to the left of
the titles. Cover and titles are centered together, left and right and up
and down, and each title keeps to two lines. Cover times come from the
soundtrack list, and songs keep their soundtrack's UUID, also in saves.
Requests can now send any body with its content type, and every 2xx answer
counts as success. Cover frames are 2:3 like the server's covers. Small
copies of real covers are used by the tests and screenshots.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
116 lines
3.9 KiB
Plaintext
116 lines
3.9 KiB
Plaintext
[gd_scene format=3]
|
|
|
|
[ext_resource type="Script" path="res://quiz/quiz.gd" id="quiz_script"]
|
|
[ext_resource type="PackedScene" uid="uid://ds15cgsf8vpvc" path="res://player/MusicPlayer.tscn" id="5_emn36"]
|
|
[ext_resource type="PackedScene" uid="uid://cdy4kvemwaiom" path="res://popups/CharacterSelectPopup.tscn" id="6_dhrvg"]
|
|
[ext_resource type="PackedScene" path="res://quiz/QuizSettingsCard.tscn" id="scene_QuizSettingsCard"]
|
|
[ext_resource type="Texture2D" path="res://icons/settings_light_icon.svg" id="settings_icon"]
|
|
[ext_resource type="PackedScene" uid="uid://cxlsmxnrp0agh" path="res://popups/WinnerPopup.tscn" id="17_winner_window"]
|
|
[ext_resource type="PackedScene" path="res://quiz/MusicListPanel.tscn" id="scene_MusicListPanel"]
|
|
[ext_resource type="PackedScene" path="res://quiz/PlayersPanel.tscn" id="scene_PlayersPanel"]
|
|
[ext_resource type="PackedScene" path="res://quiz/InspirationList.tscn" id="scene_InspirationList"]
|
|
[ext_resource type="PackedScene" path="res://quiz/QuizToolbar.tscn" id="scene_QuizToolbar"]
|
|
[ext_resource type="PackedScene" path="res://quiz/SongControls.tscn" id="scene_SongControls"]
|
|
[ext_resource type="PackedScene" path="res://quiz/NowPlaying.tscn" id="scene_NowPlaying"]
|
|
[ext_resource type="Script" path="res://quiz/song_loader.gd" id="song_loader_script"]
|
|
|
|
[node name="Quiz" type="Control" unique_id=1146705218]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
script = ExtResource("quiz_script")
|
|
|
|
[node name="MusicListPanel" parent="." unique_id=2011292375 instance=ExtResource("scene_MusicListPanel")]
|
|
layout_mode = 0
|
|
offset_left = 64.0
|
|
offset_top = 384.0
|
|
offset_right = 1152.0
|
|
offset_bottom = 894.0
|
|
|
|
[node name="InspirationList" parent="." unique_id=498283761 instance=ExtResource("scene_InspirationList")]
|
|
layout_mode = 0
|
|
offset_left = 1216.0
|
|
offset_top = 128.0
|
|
offset_right = 1856.0
|
|
offset_bottom = 512.0
|
|
|
|
[node name="NowPlaying" parent="." unique_id=42468498 instance=ExtResource("scene_NowPlaying")]
|
|
layout_mode = 0
|
|
offset_left = 64.0
|
|
offset_top = 56.0
|
|
offset_right = 1152.0
|
|
offset_bottom = 384.0
|
|
|
|
[node name="MusicPlayer" parent="." unique_id=1990459832 instance=ExtResource("5_emn36")]
|
|
layout_mode = 0
|
|
offset_left = 64.0
|
|
offset_top = 970.0
|
|
offset_right = 1856.0
|
|
offset_bottom = 1012.0
|
|
|
|
[node name="PlayersPanel" parent="." unique_id=1708375945 instance=ExtResource("scene_PlayersPanel")]
|
|
layout_mode = 0
|
|
offset_left = 1216.0
|
|
offset_top = 544.0
|
|
offset_right = 1856.0
|
|
offset_bottom = 954.0
|
|
|
|
[node name="QuizToolbar" parent="." unique_id=1873301941 instance=ExtResource("scene_QuizToolbar")]
|
|
layout_mode = 0
|
|
offset_left = 1216.0
|
|
offset_top = 64.0
|
|
offset_right = 1856.0
|
|
offset_bottom = 100.0
|
|
|
|
[node name="SongControls" parent="." unique_id=1640212773 instance=ExtResource("scene_SongControls")]
|
|
layout_mode = 0
|
|
offset_left = 64.0
|
|
offset_top = 918.0
|
|
offset_right = 704.0
|
|
offset_bottom = 954.0
|
|
|
|
[node name="CharacterSelectPopup" parent="." unique_id=1679856322 instance=ExtResource("6_dhrvg")]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 1
|
|
offset_left = 170.0
|
|
offset_top = 180.0
|
|
offset_right = 1750.0
|
|
offset_bottom = 900.0
|
|
|
|
[node name="WinnerPopup" parent="." unique_id=999999999 instance=ExtResource("17_winner_window")]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 1
|
|
offset_left = 160.0
|
|
offset_top = 80.0
|
|
offset_right = 160.0
|
|
offset_bottom = 80.0
|
|
|
|
[node name="QuizSettingsButton" type="Button" parent="." unique_id=1323246979]
|
|
layout_mode = 0
|
|
offset_left = 64.0
|
|
offset_top = 1028.0
|
|
offset_right = 224.0
|
|
offset_bottom = 1064.0
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "Quiz settings"
|
|
icon = ExtResource("settings_icon")
|
|
expand_icon = true
|
|
|
|
[node name="QuizSettingsCard" parent="." unique_id=1323246980 instance=ExtResource("scene_QuizSettingsCard")]
|
|
visible = false
|
|
layout_mode = 0
|
|
offset_left = 64.0
|
|
offset_top = 962.0
|
|
offset_right = 64.0
|
|
offset_bottom = 962.0
|
|
|
|
[node name="SongLoader" type="Node" parent="." unique_id=1520867349]
|
|
script = ExtResource("song_loader_script")
|