[gd_scene load_steps=6 format=2]

[ext_resource path="res://Rooms/Finale/finale.png" type="Texture" id=1]
[ext_resource path="res://Music/finale.ogg" type="AudioStream" id=2]
[ext_resource path="res://Sounds/noise.ogg" type="AudioStream" id=3]
[ext_resource path="res://Rooms/Finale/Finale.gd" type="Script" id=4]

[sub_resource type="Animation" id=1]
resource_name = "Finale"
length = 40.0
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ),
"update": 1,
"values": [ 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 3 ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Pictures:frame")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 3, 7, 11, 15, 19, 23, 28, 35 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1 ),
"update": 1,
"values": [ 4, 5, 6, 7, 8, 9, 10, 11 ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Pictures:position")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0, 3.001, 3.5, 6, 7, 7.5, 10, 11, 11.5, 14, 15, 15.5, 18, 19, 19.5, 22, 23, 23.5, 26, 28, 29, 32, 35, 36, 40 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ),
"update": 0,
"values": [ Vector2( 0, -32 ), Vector2( 0, -32 ), Vector2( 0, 0 ), Vector2( 0, 0 ), Vector2( -32, 0 ), Vector2( 0, 0 ), Vector2( 0, 0 ), Vector2( 32, 0 ), Vector2( 0, 0 ), Vector2( 0, 0 ), Vector2( 0, 32 ), Vector2( 0, 0 ), Vector2( 0, 0 ), Vector2( 0, -32 ), Vector2( 0, 0 ), Vector2( 0, 0 ), Vector2( 32, 0 ), Vector2( 0, 0 ), Vector2( 0, 0 ), Vector2( 0, 32 ), Vector2( 0, 0 ), Vector2( 0, 0 ), Vector2( 32, 0 ), Vector2( 0, 0 ), Vector2( 0, 0 ) ]
}
tracks/3/type = "audio"
tracks/3/path = NodePath("AudioStreamPlayer")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"clips": [ {
"end_offset": 0.0,
"start_offset": 0.0,
"stream": ExtResource( 3 )
}, {
"end_offset": 0.0,
"start_offset": 0.0,
"stream": ExtResource( 2 )
} ],
"times": PoolRealArray( 0, 1.6 )
}

[node name="Finale" type="Node2D"]
script = ExtResource( 4 )

[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
centered = false
hframes = 12
frame = 3

[node name="Pictures" type="Sprite" parent="."]
texture = ExtResource( 1 )
centered = false
hframes = 12
frame = 11

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "Finale"
anims/Finale = SubResource( 1 )

[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"]
