[gd_scene load_steps=14 format=2]

[ext_resource path="res://scenes/levels/00/interlude_00.gd" type="Script" id=1]
[ext_resource path="res://scenes/levels/01/assets/grass1.png" type="Texture" id=2]
[ext_resource path="res://scenes/levels/01/assets/grass2.png" type="Texture" id=3]
[ext_resource path="res://scenes/levels/00/assets/bg.png" type="Texture" id=4]
[ext_resource path="res://scenes/levels/00/assets/monster_01.svg" type="Texture" id=5]
[ext_resource path="res://scenes/levels/00/assets/monster_02.svg" type="Texture" id=6]
[ext_resource path="res://scenes/levels/00/assets/monster_03.svg" type="Texture" id=7]
[ext_resource path="res://objects/speech_bubble/speech_bubble.tscn" type="PackedScene" id=8]
[ext_resource path="res://scenes/levels/00/snore.tscn" type="PackedScene" id=9]

[sub_resource type="Animation" id=1]
resource_name = "monster1_fade"
tracks/0/type = "value"
tracks/0/path = NodePath("Monster1:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 0.25098, 0.25098, 0.25098, 0 ), Color( 0.25, 0.25, 0.25, 1 ) ]
}

[sub_resource type="Animation" id=2]
resource_name = "monster2_fade"
tracks/0/type = "value"
tracks/0/path = NodePath("Monster2:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 0.25098, 0.25098, 0.25098, 0 ), Color( 0.25, 0.25, 0.25, 1 ) ]
}

[sub_resource type="Animation" id=3]
resource_name = "monster3_fade"
tracks/0/type = "value"
tracks/0/path = NodePath("Monster3:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 0.25098, 0.25098, 0.25098, 0 ), Color( 0.25, 0.25, 0.25, 1 ) ]
}

[sub_resource type="Animation" id=4]
resource_name = "fade"
tracks/0/type = "value"
tracks/0/path = NodePath("Snore2:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Snore3:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Snore4:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("Snore5:modulate")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("Snore6:modulate")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
}
tracks/5/type = "value"
tracks/5/path = NodePath("Snore7:modulate")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
}
tracks/6/type = "value"
tracks/6/path = NodePath("Snore8:modulate")
tracks/6/interp = 1
tracks/6/loop_wrap = true
tracks/6/imported = false
tracks/6/enabled = true
tracks/6/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
}

[node name="Interlude 00" type="Node2D"]
script = ExtResource( 1 )
bgm_path = "res://scenes/levels/00/assets/bgm.ogg"
hud_visible = false
clear_color = Color( 0.0196078, 0.180392, 0.247059, 1 )
next_level = "res://scenes/levels/01/level_01.tscn"

[node name="CanvasLayer" type="CanvasLayer" parent="."]

[node name="TextureRect" type="TextureRect" parent="CanvasLayer"]
margin_right = 2048.0
margin_bottom = 1536.0
texture = ExtResource( 4 )

[node name="Grass2" type="TextureRect" parent="CanvasLayer"]
modulate = Color( 0.25, 0.25, 0.25, 1 )
anchor_right = 1.0
anchor_bottom = 1.0
texture = ExtResource( 3 )
expand = true

[node name="Monster1" type="TextureRect" parent="CanvasLayer"]
modulate = Color( 0.25, 0.25, 0.25, 1 )
margin_left = 1365.0
margin_top = 350.0
margin_right = 1750.0
margin_bottom = 875.0
texture = ExtResource( 5 )
expand = true
stretch_mode = 5

[node name="Monster2" type="TextureRect" parent="CanvasLayer"]
modulate = Color( 0.25, 0.25, 0.25, 1 )
margin_left = 910.0
margin_top = 385.0
margin_right = 1260.0
margin_bottom = 806.0
texture = ExtResource( 6 )
expand = true
stretch_mode = 5

[node name="Monster3" type="TextureRect" parent="CanvasLayer"]
modulate = Color( 0.25, 0.25, 0.25, 1 )
margin_left = 420.0
margin_top = 455.0
margin_right = 840.0
margin_bottom = 840.0
texture = ExtResource( 7 )
expand = true
stretch_mode = 5

[node name="Grass1" type="TextureRect" parent="CanvasLayer"]
modulate = Color( 0.25, 0.25, 0.25, 1 )
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = 665.0
margin_bottom = 665.0
texture = ExtResource( 2 )
expand = true

[node name="MonsterAnimation" type="AnimationPlayer" parent="CanvasLayer"]
anims/monster1_fade = SubResource( 1 )
anims/monster2_fade = SubResource( 2 )
anims/monster3_fade = SubResource( 3 )

[node name="speech_monster1" parent="CanvasLayer" instance=ExtResource( 8 )]
margin_left = 1155.0
margin_top = 420.0
margin_right = 1505.0
margin_bottom = 525.0
pitch = 0.7

[node name="speech_monster3" parent="CanvasLayer" instance=ExtResource( 8 )]
margin_left = 210.0
margin_top = 385.0
margin_right = 560.0
margin_bottom = 490.0
pitch = 0.8

[node name="speech_monster2" parent="CanvasLayer" instance=ExtResource( 8 )]
margin_left = 630.0
margin_top = 315.0
margin_right = 980.0
margin_bottom = 420.0

[node name="Snore" parent="CanvasLayer" instance=ExtResource( 9 )]
margin_left = 105.0
margin_top = 805.0
margin_right = 490.0
margin_bottom = 1225.0
rect_scale = Vector2( 0.5, 0.5 )

[node name="Snore2" parent="CanvasLayer" instance=ExtResource( 9 )]
margin_left = 280.0
margin_top = 805.0
margin_right = 665.0
margin_bottom = 1225.0
rect_scale = Vector2( 0.5, 0.5 )

[node name="Snore3" parent="CanvasLayer" instance=ExtResource( 9 )]
margin_left = 525.0
margin_top = 805.0
margin_right = 910.0
margin_bottom = 1225.0
rect_scale = Vector2( 0.5, 0.5 )

[node name="Snore4" parent="CanvasLayer" instance=ExtResource( 9 )]
margin_left = 805.0
margin_top = 805.0
margin_right = 1190.0
margin_bottom = 1225.0
rect_scale = Vector2( 0.5, 0.5 )

[node name="Snore5" parent="CanvasLayer" instance=ExtResource( 9 )]
margin_left = 1050.0
margin_top = 805.0
margin_right = 1435.0
margin_bottom = 1225.0
rect_scale = Vector2( 0.5, 0.5 )

[node name="Snore6" parent="CanvasLayer" instance=ExtResource( 9 )]
margin_left = 1225.0
margin_top = 805.0
margin_right = 1610.0
margin_bottom = 1225.0
rect_scale = Vector2( 0.5, 0.5 )

[node name="Snore7" parent="CanvasLayer" instance=ExtResource( 9 )]
margin_left = 1470.0
margin_top = 805.0
margin_right = 1855.0
margin_bottom = 1225.0
rect_scale = Vector2( 0.5, 0.5 )

[node name="Snore8" parent="CanvasLayer" instance=ExtResource( 9 )]
margin_left = 1645.0
margin_top = 805.0
margin_right = 2030.0
margin_bottom = 1225.0
rect_scale = Vector2( 0.5, 0.5 )

[node name="ZZZAnimation" type="AnimationPlayer" parent="CanvasLayer"]
anims/fade = SubResource( 4 )

[connection signal="animation_ready" from="CanvasLayer/speech_monster1" to="." method="_on_speech_ready"]
[connection signal="animation_ready" from="CanvasLayer/speech_monster3" to="." method="_on_speech_ready"]
[connection signal="animation_ready" from="CanvasLayer/speech_monster2" to="." method="_on_speech_ready"]
