[gd_scene load_steps=4 format=3 uid="uid://ct4dek63v5j5j"]

[ext_resource type="Script" path="res://Scenes/credits-scene/credits.gd" id="1_3jpn6"]
[ext_resource type="AudioStream" uid="uid://d2qf6pwwmix0p" path="res://Assets/Sound/Music/Romario_Menu_Music.mp3" id="2_3pmjg"]
[ext_resource type="PackedScene" uid="uid://ci11aotj4jorh" path="res://Scenes/Levels/MainMenu.tscn" id="3_joqjf"]

[node name="credits" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_3jpn6")
creditsFile = "res://Scenes/credits-scene/example-CREDITS"
musicPlaylist = Array[AudioStream]([ExtResource("2_3pmjg")])
nextScene = ExtResource("3_joqjf")
destroyOnEnd = true

[node name="background" type="ColorRect" parent="."]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
color = Color(0, 0, 0, 1)

[node name="backgroundVideo" type="VideoStreamPlayer" parent="."]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
expand = true

[node name="musicPlayer" type="AudioStreamPlayer" parent="."]

[node name="scrollingContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="titleImg" type="TextureRect" parent="scrollingContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 0
stretch_mode = 5

[connection signal="finished" from="backgroundVideo" to="." method="_on_backgroundVideo_finished"]
[connection signal="finished" from="musicPlayer" to="." method="_on_musicPlayer_finished"]
