Flopsy/scenes/levels/02/interlude_02.tscn

87 lines
4.7 KiB
Text

[gd_scene load_steps=9 format=2]
[ext_resource path="res://common/tiles/grasland.tres" type="TileSet" id=1]
[ext_resource path="res://objects/characters/flopsy/flopsy.tscn" type="PackedScene" id=2]
[ext_resource path="res://objects/characters/flake/flake.tscn" type="PackedScene" id=3]
[ext_resource path="res://scenes/levels/02/interlude_02.gd" type="Script" id=4]
[ext_resource path="res://scenes/levels/02/assets/castle.svg" type="Texture" id=5]
[ext_resource path="res://scenes/levels/02/assets/castle_door_opened_4.svg" type="Texture" id=6]
[ext_resource path="res://objects/speech_bubble/speech_bubble.tscn" type="PackedScene" id=7]
[sub_resource type="Animation" id=1]
resource_name = "fade"
length = 2.0
tracks/0/type = "value"
tracks/0/path = NodePath("Flopsy:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
}
[node name="Interlude 02" type="Node2D"]
script = ExtResource( 4 )
bgm_path = "res://scenes/levels/02/assets/interlude.ogg"
hud_visible = false
clear_color = Color( 0, 0, 0, 1 )
next_level = "res://scenes/levels/credits/credits.tscn"
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Castle" type="TextureRect" parent="CanvasLayer"]
margin_left = -665.0
margin_top = -2310.0
margin_right = 525.0
margin_bottom = -1260.0
texture = ExtResource( 5 )
[node name="Door" type="TextureRect" parent="CanvasLayer"]
margin_left = 1225.0
margin_top = -210.0
margin_right = 1505.0
margin_bottom = 140.0
texture = ExtResource( 6 )
[node name="TileMap" type="TileMap" parent="CanvasLayer"]
tile_set = ExtResource( 1 )
cell_size = Vector2( 70, 70 )
collision_layer = 4
collision_mask = 0
format = 1
tile_data = PoolIntArray( 851965, 4, 0, 851966, 4, 0, 851967, 4, 0, 786432, 4, 0, 786433, 4, 0, 786434, 4, 0, 786435, 4, 0, 786436, 4, 0, 786437, 4, 0, 786438, 4, 0, 786439, 4, 0, 786440, 4, 0, 786441, 4, 0, 786442, 4, 0, 786443, 4, 0, 786444, 4, 0, 786445, 4, 0, 786446, 4, 0, 786447, 4, 0, 786448, 4, 0, 786449, 4, 0, 786450, 4, 0, 786451, 4, 0, 786452, 4, 0, 786453, 4, 0, 786454, 4, 0, 786455, 4, 0, 786456, 4, 0, 786457, 4, 0, 786458, 4, 0, 786459, 4, 0, 786460, 4, 0, 786461, 4, 0, 917501, 5, 0, 917502, 5, 0, 917503, 5, 0, 851968, 5, 0, 851969, 5, 0, 851970, 5, 0, 851971, 5, 0, 851972, 5, 0, 851973, 5, 0, 851974, 5, 0, 851975, 5, 0, 851976, 5, 0, 851977, 5, 0, 851978, 5, 0, 851979, 5, 0, 851980, 5, 0, 851981, 5, 0, 851982, 5, 0, 851983, 5, 0, 851984, 5, 0, 851985, 5, 0, 851986, 5, 0, 851987, 5, 0, 851988, 5, 0, 851989, 5, 0, 851990, 5, 0, 851991, 5, 0, 851992, 5, 0, 851993, 5, 0, 851994, 5, 0, 851995, 5, 0, 851996, 5, 0, 851997, 5, 0, 983037, 5, 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, 1048573, 5, 0, 1048574, 5, 0, 1048575, 5, 0, 983040, 5, 0, 983041, 5, 0, 983042, 5, 0, 983043, 5, 0, 983044, 5, 0, 983045, 5, 0, 983046, 5, 0, 983047, 5, 0, 983048, 5, 0, 983049, 5, 0, 983050, 5, 0, 983051, 5, 0, 983052, 5, 0, 983053, 5, 0, 983054, 5, 0, 983055, 5, 0, 983056, 5, 0, 983057, 5, 0, 983058, 5, 0, 983059, 5, 0, 983060, 5, 0, 983061, 5, 0, 983062, 5, 0, 983063, 5, 0, 983064, 5, 0, 983065, 5, 0, 983066, 5, 0, 983067, 5, 0, 983068, 5, 0, 983069, 5, 0 )
[node name="Flake" parent="CanvasLayer" instance=ExtResource( 3 )]
position = Vector2( 280, 595 )
[node name="Flopsy" parent="CanvasLayer" instance=ExtResource( 2 )]
position = Vector2( 1645, 595 )
reverse_direction = true
[node name="speech_flopsy" parent="CanvasLayer" instance=ExtResource( 7 )]
margin_left = 1015.0
margin_top = 350.0
margin_right = 1505.0
margin_bottom = 455.0
rect_pivot_offset = Vector2( -210, -140 )
pitch = 1.5
[node name="speech_flake" parent="CanvasLayer" instance=ExtResource( 7 )]
margin_left = 420.0
margin_top = 350.0
margin_right = 910.0
margin_bottom = 455.0
rect_pivot_offset = Vector2( -210, -140 )
flip_h = true
pitch = 2.0
[node name="FlopsyFader" type="AnimationPlayer" parent="CanvasLayer"]
anims/fade = SubResource( 1 )
[connection signal="animation_ready" from="CanvasLayer/speech_flopsy" to="." method="_on_speech_flopsy_ready"]
[connection signal="animation_ready" from="CanvasLayer/speech_flake" to="." method="_on_speech_flake_ready"]
[connection signal="animation_finished" from="CanvasLayer/FlopsyFader" to="." method="_on_FlopsyFader_finished"]