[gd_scene load_steps=9 format=2]

[ext_resource path="res://scenes/levels/01/interlude_01.gd" type="Script" id=1]
[ext_resource path="res://scenes/levels/01/assets/cloud1.png" type="Texture" id=2]
[ext_resource path="res://scenes/levels/01/assets/cloud2.png" type="Texture" id=3]
[ext_resource path="res://common/tiles/grasland.tres" type="TileSet" id=4]
[ext_resource path="res://objects/characters/flake/flake.tscn" type="PackedScene" id=5]
[ext_resource path="res://objects/characters/flopsy/flopsy.tscn" type="PackedScene" id=6]
[ext_resource path="res://objects/speech_bubble/speech_bubble.tscn" type="PackedScene" id=7]

[sub_resource type="Animation" id=16]
resource_name = "move_out"
tracks/0/type = "value"
tracks/0/path = NodePath("Flopsy:position")
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": [ Vector2( 245, 686 ), Vector2( 2100, 686 ) ]
}

[node name="Interlude 01" type="Node2D"]
script = ExtResource( 1 )
bgm_path = "res://scenes/levels/01/assets/interlude.ogg"
hud_visible = false
next_level = "res://scenes/levels/02/level_02.tscn"

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

[node name="Cloud1" type="TextureRect" parent="CanvasLayer"]
anchor_right = 1.0
anchor_bottom = 1.0
texture = ExtResource( 2 )
expand = true

[node name="Cloud2" type="TextureRect" parent="CanvasLayer"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = 140.0
margin_bottom = 140.0
texture = ExtResource( 3 )
expand = true

[node name="TileMap" type="TileMap" parent="CanvasLayer"]
tile_set = ExtResource( 4 )
cell_size = Vector2( 70, 70 )
collision_layer = 4
collision_mask = 0
format = 1
tile_data = PoolIntArray( 917502, 4, 0, 917503, 4, 0, 851968, 4, 0, 851969, 4, 0, 851970, 4, 0, 851971, 4, 0, 851972, 4, 0, 851973, 4, 0, 851974, 4, 0, 851975, 4, 0, 851976, 4, 0, 851977, 4, 0, 851978, 4, 0, 851979, 4, 0, 851980, 4, 0, 851981, 4, 0, 851982, 4, 0, 851983, 4, 0, 851984, 4, 0, 851985, 4, 0, 851986, 4, 0, 851987, 4, 0, 851988, 4, 0, 851989, 4, 0, 851990, 4, 0, 851991, 4, 0, 851992, 4, 0, 851993, 4, 0, 851994, 4, 0, 851995, 4, 0, 851996, 4, 0, 851997, 4, 0, 983038, 5, 0, 983039, 5, 0, 917504, 5, 0, 917505, 5, 0, 917506, 5, 0, 917507, 5, 0, 917508, 5, 0, 917509, 5, 0, 917510, 5, 0, 917511, 5, 0, 917512, 5, 0, 917513, 5, 0, 917514, 5, 0, 917515, 5, 0, 917516, 5, 0, 917517, 5, 0, 917518, 5, 0, 917519, 5, 0, 917520, 5, 0, 917521, 5, 0, 917522, 5, 0, 917523, 5, 0, 917524, 5, 0, 917525, 5, 0, 917526, 5, 0, 917527, 5, 0, 917528, 5, 0, 917529, 5, 0, 917530, 5, 0, 917531, 5, 0, 917532, 5, 0, 917533, 5, 0 )

[node name="Flake" parent="CanvasLayer" instance=ExtResource( 5 )]
position = Vector2( 1691, 686 )
reverse_direction = true

[node name="Flopsy" parent="CanvasLayer" instance=ExtResource( 6 )]
position = Vector2( 245, 686 )

[node name="speech_flake" parent="CanvasLayer" instance=ExtResource( 7 )]
margin_left = 1015.0
margin_top = 420.0
margin_right = 1505.0
margin_bottom = 525.0
rect_pivot_offset = Vector2( -210, -140 )
pitch = 2.0

[node name="speech_flopsy" parent="CanvasLayer" instance=ExtResource( 7 )]
margin_left = 385.0
margin_top = 420.0
margin_right = 875.0
margin_bottom = 525.0
rect_pivot_offset = Vector2( -210, -140 )
flip_h = true
pitch = 1.5

[node name="FlopsyMoveOut" type="AnimationPlayer" parent="CanvasLayer"]
anims/move_out = SubResource( 16 )

[connection signal="animation_ready" from="CanvasLayer/speech_flake" to="." method="_on_speech_flake_ready"]
[connection signal="animation_ready" from="CanvasLayer/speech_flopsy" to="." method="_on_speech_flake_ready"]
[connection signal="animation_finished" from="CanvasLayer/FlopsyMoveOut" to="." method="_on_FlopsyMoveOut_finished"]
