[gd_scene load_steps=5 format=3 uid="uid://ce0m8vbjbng6o"] [ext_resource type="Script" uid="uid://bdknvktw033g3" path="res://UI/Menus/GameEndScreen/game_end_screen.gd" id="1_oa7nq"] [ext_resource type="PackedScene" uid="uid://b5hp43bm07b8a" path="res://UI/Menus/GameEndScreen/enemy_row.tscn" id="2_xm8em"] [ext_resource type="AudioStream" uid="uid://cp6ph4ra7u5rk" path="res://UI/drop_003.ogg" id="3_ro1yg"] [sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_dram5"] random_pitch = 1.1 streams_count = 1 stream_0/stream = ExtResource("3_ro1yg") [node name="GameEndScreen" type="PanelContainer" node_paths=PackedStringArray("outcome_label", "winrate_label", "total_games_label", "total_wins_label", "total_losses_label", "undefeated_enemies")] anchors_preset = -1 anchor_left = 0.05 anchor_top = 0.05 anchor_right = 0.95 anchor_bottom = 0.95 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_oa7nq") box = ExtResource("2_xm8em") outcome_label = NodePath("VBoxContainer/Labels/OutcomeLabel") winrate_label = NodePath("VBoxContainer/Labels/VBoxContainer/HBoxContainer/WinRateLabel2") total_games_label = NodePath("VBoxContainer/Labels/VBoxContainer/HBoxContainer2/WinRateLabel3") total_wins_label = NodePath("VBoxContainer/Labels/VBoxContainer/HBoxContainer3/WinRateLabel4") total_losses_label = NodePath("VBoxContainer/Labels/VBoxContainer/HBoxContainer4/WinRateLabel5") undefeated_enemies = NodePath("VBoxContainer/ScrollContainer/UndefeatedEnemies") [node name="VBoxContainer" type="VBoxContainer" parent="."] layout_mode = 2 [node name="Labels" type="VBoxContainer" parent="VBoxContainer"] layout_mode = 2 alignment = 1 [node name="OutcomeLabel" type="Label" parent="VBoxContainer/Labels"] layout_mode = 2 text = "LABEL_WIN_MESSAGE" horizontal_alignment = 1 vertical_alignment = 1 [node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/Labels"] layout_mode = 2 size_flags_horizontal = 4 [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/Labels/VBoxContainer"] layout_mode = 2 [node name="WinRateLabel" type="Label" parent="VBoxContainer/Labels/VBoxContainer/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 text = "LABEL_WINRATE" vertical_alignment = 1 [node name="WinRateLabel2" type="Label" parent="VBoxContainer/Labels/VBoxContainer/HBoxContainer"] auto_translate_mode = 2 layout_mode = 2 size_flags_horizontal = 3 text = "0" horizontal_alignment = 2 vertical_alignment = 1 [node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer/Labels/VBoxContainer"] layout_mode = 2 [node name="TotalGamesLabel" type="Label" parent="VBoxContainer/Labels/VBoxContainer/HBoxContainer2"] layout_mode = 2 size_flags_horizontal = 3 text = "LABEL_GAMES" vertical_alignment = 1 [node name="WinRateLabel3" type="Label" parent="VBoxContainer/Labels/VBoxContainer/HBoxContainer2"] auto_translate_mode = 2 layout_mode = 2 size_flags_horizontal = 3 text = "0" horizontal_alignment = 2 vertical_alignment = 1 [node name="HBoxContainer3" type="HBoxContainer" parent="VBoxContainer/Labels/VBoxContainer"] layout_mode = 2 [node name="TotalWinsLabel" type="Label" parent="VBoxContainer/Labels/VBoxContainer/HBoxContainer3"] layout_mode = 2 size_flags_horizontal = 3 text = "LABEL_WINS" vertical_alignment = 1 [node name="WinRateLabel4" type="Label" parent="VBoxContainer/Labels/VBoxContainer/HBoxContainer3"] auto_translate_mode = 2 layout_mode = 2 size_flags_horizontal = 3 text = "0" horizontal_alignment = 2 vertical_alignment = 1 [node name="HBoxContainer4" type="HBoxContainer" parent="VBoxContainer/Labels/VBoxContainer"] layout_mode = 2 [node name="TotalLossesLabel" type="Label" parent="VBoxContainer/Labels/VBoxContainer/HBoxContainer4"] layout_mode = 2 size_flags_horizontal = 3 text = "LABEL_LOSSES" vertical_alignment = 1 [node name="WinRateLabel5" type="Label" parent="VBoxContainer/Labels/VBoxContainer/HBoxContainer4"] auto_translate_mode = 2 layout_mode = 2 size_flags_horizontal = 3 text = "0" horizontal_alignment = 2 vertical_alignment = 1 [node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 [node name="UndefeatedEnemies" type="VBoxContainer" parent="VBoxContainer/ScrollContainer"] layout_mode = 2 size_flags_vertical = 3 [node name="Buttons" type="HBoxContainer" parent="VBoxContainer"] layout_mode = 2 alignment = 2 [node name="PlayButton" type="Button" parent="VBoxContainer/Buttons"] layout_mode = 2 text = "BUTTON_RESTART" [node name="QuitButton" type="Button" parent="VBoxContainer/Buttons"] layout_mode = 2 text = "BUTTON_MAIN_MENU" [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] stream = SubResource("AudioStreamRandomizer_dram5") bus = &"SFX" [connection signal="mouse_entered" from="VBoxContainer/Buttons/PlayButton" to="." method="_on_button_mouse_entered"] [connection signal="pressed" from="VBoxContainer/Buttons/PlayButton" to="." method="_on_play_button_pressed"] [connection signal="mouse_entered" from="VBoxContainer/Buttons/QuitButton" to="." method="_on_button_mouse_entered"] [connection signal="pressed" from="VBoxContainer/Buttons/QuitButton" to="." method="_on_quit_button_pressed"]