the-lost-memory/project/Level1.tscn

109 lines
3.4 KiB
Plaintext

[gd_scene load_steps=11 format=2]
[ext_resource path="res://sprites/level1.png" type="Texture" id=1]
[ext_resource path="res://Player.tscn" type="PackedScene" id=2]
[ext_resource path="res://Shattered1.tscn" type="PackedScene" id=3]
[ext_resource path="res://Fairy2.tscn" type="PackedScene" id=4]
[ext_resource path="res://Fairy1.tscn" type="PackedScene" id=5]
[ext_resource path="res://Level.gd" type="Script" id=6]
[ext_resource path="res://bgm/level1.ogg" type="AudioStream" id=7]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 35.5, 37 )
[sub_resource type="SegmentShape2D" id=2]
a = Vector2( 640, 360 )
b = Vector2( 639, 0 )
[sub_resource type="SegmentShape2D" id=3]
a = Vector2( 66, 339 )
b = Vector2( 711, 339 )
[node name="Level1" type="Node2D"]
script = ExtResource( 6 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
centered = false
[node name="DonationStall" type="StaticBody2D" parent="."]
position = Vector2( 532, 177 )
__meta__ = {
"_edit_group_": true,
"_edit_lock_": true
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="DonationStall"]
position = Vector2( -0.5, -6 )
shape = SubResource( 1 )
[node name="Torii" type="Node2D" parent="."]
__meta__ = {
"_edit_group_": true,
"_edit_lock_": true
}
[node name="ToriiLeft" type="StaticBody2D" parent="Torii"]
position = Vector2( 132, 56 )
__meta__ = {
"_edit_group_": true
}
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Torii/ToriiLeft"]
polygon = PoolVector2Array( -7, 36, -5, 18, 4, -56, 26, -56, 16, 25, 10, 40 )
[node name="ToriiRight" type="StaticBody2D" parent="Torii"]
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Torii/ToriiRight"]
position = Vector2( 252, 56 )
polygon = PoolVector2Array( 13, 32, 6, -7, 4, -56, 25, -56, 24, -12, 38, 45, 23, 52 )
[node name="Shattered1" parent="." instance=ExtResource( 3 )]
position = Vector2( 555, 336 )
[node name="Fairy2" parent="." instance=ExtResource( 4 )]
position = Vector2( 114, 296 )
[node name="Fairy3" parent="." instance=ExtResource( 4 )]
position = Vector2( 179, 296 )
[node name="Fairy1" parent="." instance=ExtResource( 5 )]
position = Vector2( 462, 186 )
[node name="Player" parent="." instance=ExtResource( 2 )]
position = Vector2( 203, 58 )
__meta__ = {
"_edit_group_": true
}
[node name="Border" type="StaticBody2D" parent="."]
__meta__ = {
"_edit_lock_": true
}
[node name="Right" type="CollisionShape2D" parent="Border"]
shape = SubResource( 2 )
[node name="Down" type="CollisionShape2D" parent="Border"]
position = Vector2( -69, 21 )
shape = SubResource( 3 )
[node name="Up" type="CollisionShape2D" parent="Border"]
position = Vector2( -70, -338 )
shape = SubResource( 3 )
[node name="Left" type="CollisionShape2D" parent="Border"]
position = Vector2( -640, -1 )
shape = SubResource( 2 )
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 7 )
[connection signal="dead" from="Fairy2" to="." method="_on_Fairy_dead"]
[connection signal="shoot" from="Fairy2" to="." method="_on_Fairy_shoot"]
[connection signal="dead" from="Fairy3" to="." method="_on_Fairy_dead"]
[connection signal="shoot" from="Fairy3" to="." method="_on_Fairy_shoot"]
[connection signal="dead" from="Fairy1" to="." method="_on_Fairy_dead"]
[connection signal="shoot" from="Fairy1" to="." method="_on_Fairy_shoot"]
[connection signal="shoot" from="Player" to="." method="_on_Player_shoot"]