[gd_scene format=3 uid="uid://cxlsmxnrp0agh"] [ext_resource type="Script" uid="uid://dxpb22xbwf3t1" path="res://popups/winner_popup.gd" id="1_winner_script"] [ext_resource type="Texture2D" uid="uid://r4as0nmtoa7p" path="res://noCharacter.png" id="2_no_character"] [ext_resource type="Script" path="res://popups/score_graph.gd" id="3_score_graph"] [node name="WinnerPopup" type="Control" unique_id=1111111111 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_winner_script") panel = NodePath("WinnerPanel") [node name="WinnerPanel" type="Panel" parent="." unique_id=89212869] unique_name_in_owner = true layout_mode = 0 offset_right = 1600.0 offset_bottom = 920.0 theme_type_variation = &"PopupBackground" [node name="GameColumn" type="VBoxContainer" parent="WinnerPanel" unique_id=471159351] layout_mode = 0 offset_left = 24.0 offset_top = 20.0 offset_right = 1576.0 offset_bottom = 900.0 theme_override_constants/separation = 12 [node name="Header" type="HBoxContainer" parent="WinnerPanel/GameColumn" unique_id=471159349] layout_mode = 2 alignment = 1 theme_override_constants/separation = 32 [node name="WinnerPicture" type="TextureRect" parent="WinnerPanel/GameColumn/Header" unique_id=1543774067] unique_name_in_owner = true custom_minimum_size = Vector2(360, 180) layout_mode = 2 texture = ExtResource("2_no_character") expand_mode = 3 stretch_mode = 5 [node name="WinnerInfo" type="VBoxContainer" parent="WinnerPanel/GameColumn/Header" unique_id=471159367] custom_minimum_size = Vector2(520, 0) layout_mode = 2 alignment = 1 [node name="WinnerLabel" type="Label" parent="WinnerPanel/GameColumn/Header/WinnerInfo" unique_id=1437597286] unique_name_in_owner = true layout_mode = 2 theme_type_variation = &"TitleMedium" text = "Winner!" autowrap_mode = 3 [node name="PlayersList" type="VBoxContainer" parent="WinnerPanel/GameColumn/Header/WinnerInfo" unique_id=471159350] unique_name_in_owner = true layout_mode = 2 [node name="Legend" type="HBoxContainer" parent="WinnerPanel/GameColumn" unique_id=471159352] unique_name_in_owner = true layout_mode = 2 alignment = 1 theme_override_constants/separation = 20 [node name="ScoreGraph" type="Control" parent="WinnerPanel/GameColumn" unique_id=471159353] unique_name_in_owner = true layout_mode = 2 size_flags_vertical = 3 mouse_filter = 2 script = ExtResource("3_score_graph") [node name="Summary" type="HBoxContainer" parent="WinnerPanel/GameColumn" unique_id=471159354] layout_mode = 2 theme_override_constants/separation = 12 [node name="StreakBox" type="PanelContainer" parent="WinnerPanel/GameColumn/Summary" unique_id=471159355] custom_minimum_size = Vector2(0, 84) layout_mode = 2 size_flags_horizontal = 3 theme_type_variation = &"ListRowEven" [node name="VBox" type="VBoxContainer" parent="WinnerPanel/GameColumn/Summary/StreakBox" unique_id=471159356] layout_mode = 2 [node name="Header" type="Label" parent="WinnerPanel/GameColumn/Summary/StreakBox/VBox" unique_id=471159357] layout_mode = 2 theme_type_variation = &"HighlightMedium" text = "Longest streak" [node name="StreakLabel" type="Label" parent="WinnerPanel/GameColumn/Summary/StreakBox/VBox" unique_id=471159358] unique_name_in_owner = true custom_minimum_size = Vector2(1, 0) layout_mode = 2 autowrap_mode = 3 [node name="StandstillBox" type="PanelContainer" parent="WinnerPanel/GameColumn/Summary" unique_id=471159359] custom_minimum_size = Vector2(0, 84) layout_mode = 2 size_flags_horizontal = 3 theme_type_variation = &"ListRowEven" [node name="VBox" type="VBoxContainer" parent="WinnerPanel/GameColumn/Summary/StandstillBox" unique_id=471159360] layout_mode = 2 [node name="Header" type="Label" parent="WinnerPanel/GameColumn/Summary/StandstillBox/VBox" unique_id=471159361] layout_mode = 2 theme_type_variation = &"HighlightMedium" text = "Longest standstill" [node name="StandstillLabel" type="Label" parent="WinnerPanel/GameColumn/Summary/StandstillBox/VBox" unique_id=471159362] unique_name_in_owner = true custom_minimum_size = Vector2(1, 0) layout_mode = 2 autowrap_mode = 3 [node name="SharedBox" type="PanelContainer" parent="WinnerPanel/GameColumn/Summary" unique_id=471159363] custom_minimum_size = Vector2(0, 84) layout_mode = 2 size_flags_horizontal = 3 theme_type_variation = &"ListRowEven" [node name="VBox" type="VBoxContainer" parent="WinnerPanel/GameColumn/Summary/SharedBox" unique_id=471159364] layout_mode = 2 [node name="Header" type="Label" parent="WinnerPanel/GameColumn/Summary/SharedBox/VBox" unique_id=471159365] layout_mode = 2 theme_type_variation = &"HighlightMedium" text = "Most shared song" [node name="SharedLabel" type="Label" parent="WinnerPanel/GameColumn/Summary/SharedBox/VBox" unique_id=471159366] unique_name_in_owner = true custom_minimum_size = Vector2(1, 0) layout_mode = 2 autowrap_mode = 3