the-crypt/levels/Campaign/Level 2/Level 2.tscn

84 lines
13 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=10 format=2]
2020-07-23 01:44:41 -05:00
[ext_resource path="res://meta/DungeonTilemap.tres" type="TileSet" id=1]
[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=2]
[ext_resource path="res://art/door.png" type="Texture" id=3]
2020-07-23 14:43:42 -05:00
[ext_resource path="res://objects/torch.tscn" type="PackedScene" id=4]
2020-07-23 01:44:41 -05:00
[ext_resource path="res://ai/Scenes/Skeleton Enemy.tscn" type="PackedScene" id=5]
[ext_resource path="res://levels/Campaign/Level 2/Area2D.gd" type="Script" id=7]
[ext_resource path="res://objects/Door.tscn" type="PackedScene" id=8]
2020-07-23 01:44:41 -05:00
[sub_resource type="RectangleShape2D" id=1]
2020-07-23 02:13:08 -05:00
extents = Vector2( 1810, 13 )
2020-07-23 01:44:41 -05:00
2020-07-23 14:43:42 -05:00
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 7, 39 )
2020-07-23 01:44:41 -05:00
[node name="Level 2" type="Node"]
[node name="Door" parent="." instance=ExtResource( 8 )]
2020-07-23 14:43:42 -05:00
position = Vector2( 896, 64 )
2020-07-23 01:44:41 -05:00
[node name="door" type="Sprite" parent="."]
position = Vector2( 16, 161 )
texture = ExtResource( 3 )
hframes = 2
[node name="TileMap" type="TileMap" parent="." groups=[
"Tilemap",
]]
tile_set = ExtResource( 1 )
cell_size = Vector2( 16, 16 )
2020-07-23 02:13:08 -05:00
collision_layer = 2
collision_mask = 0
2020-07-23 01:44:41 -05:00
format = 1
2020-07-23 14:43:42 -05:00
tile_data = PoolIntArray( -3, 0, 8, -2, 0, 10, -1, 0, 10, -65536, 0, 10, -65535, 0, 10, -65534, 0, 10, -65533, 0, 10, -65532, 0, 10, -65531, 0, 10, -65530, 0, 10, -65529, 0, 10, -65528, 0, 10, -65527, 0, 10, -65526, 0, 10, -65525, 0, 10, -65524, 0, 10, -65523, 0, 10, -65522, 0, 10, -65521, 0, 10, -65520, 0, 10, -65519, 0, 10, -65518, 0, 10, -65517, 0, 10, -65516, 0, 10, -65515, 0, 10, -65514, 0, 10, -65513, 0, 10, -65512, 0, 10, -65511, 0, 10, -65510, 0, 10, -65509, 0, 10, -65508, 0, 10, -65507, 0, 10, -65506, 0, 10, -65505, 0, 10, -65504, 0, 10, -65503, 0, 10, -65502, 0, 10, -65501, 0, 10, -65500, 0, 10, -65499, 0, 10, -65498, 0, 10, -65497, 0, 10, -65496, 0, 10, -65495, 0, 10, -65494, 0, 10, -65493, 0, 10, -65492, 0, 10, -65491, 0, 10, -65490, 0, 10, -65489, 0, 10, -65488, 0, 10, -65487, 0, 10, -65486, 0, 10, -65485, 0, 10, -65484, 0, 10, -65483, 0, 10, -65482, 0, 10, -65481, 0, 10, -65480, 0, 10, -65479, 0, 10, -65478, 0, 10, -65477, 0, 10, -65476, 0, 11, 65533, 0, 65544, 65534, 0, 131081, 65535, 0, 131081, 0, 0, 131081, 1, 0, 131081, 2, 0, 131081, 3, 0, 131081, 4, 0, 131081, 5, 0, 131081, 6, 0, 131081, 7, 0, 131081, 8, 0, 131081, 9, 0, 131081, 10, 0, 131081, 11, 0, 131081, 12, 0, 131081, 13, 0, 131081, 14, 0, 131081, 15, 0, 131081, 16, 0, 131081, 17, 0, 131081, 18, 0, 131081, 19, 0, 131081, 20, 0, 131081, 21, 0, 131081, 22, 0, 131081, 23, 0, 131081, 24, 0, 131081, 25, 0, 131081, 26, 0, 131081, 27, 0, 131081, 28, 0, 131081, 29, 0, 131081, 30, 0, 131081, 31, 0, 131081, 32, 0, 131081, 33, 0, 131081, 34, 0, 131081, 35, 0, 131081, 36, 0, 131081, 37, 0, 131081, 38, 0, 131081, 39, 0, 131081, 40, 0, 131081, 41, 0, 131081, 42, 0, 131081, 43, 0, 131081, 44, 0, 131081, 45, 0, 131081, 46, 0, 131081, 47, 0, 131081, 48, 0, 131081, 49, 0, 131081, 50, 0, 131081, 51, 0, 131081, 52, 0, 131081, 53, 0, 131081, 54, 0, 131081, 55, 0, 131081, 56, 0, 131081, 57, 0, 131081, 58, 0, 131081, 59, 0, 131081, 60, 0, 131083, 131069, 0, 65544, 131070, 0, 131081, 131071, 0, 131078, 65536, 0, 196617, 65537, 0, 196617, 65538, 0, 196617, 65539, 0, 196617, 65540, 0, 196617, 65541, 0, 196617, 65542, 0, 196617, 65543, 0, 196617, 65544, 0, 196617, 65545, 0, 196617, 65546, 0, 196617, 65547, 0, 196617, 65548, 0, 196617, 65549, 0, 196617, 65550, 0, 196617, 65551, 0, 196617, 65552, 0, 196617, 65553, 0, 196617, 65554, 0, 196617, 65555, 0, 196617, 65556, 0, 196617, 65557, 0, 196617, 65558, 0, 196617, 65559, 0, 196617, 65560, 0, 196617, 65561, 0, 196617, 65562, 0, 196617, 65563, 0, 196617, 65564, 0, 196617, 65565, 0, 196617, 65566, 0, 196617, 65567, 0, 196617, 65568, 0, 196617, 65569, 0, 196617, 65570, 0, 196617, 65571, 0, 196617, 65572, 0, 196617, 65573, 0, 196617, 65574, 0, 196617, 65575, 0, 196617, 65576, 0, 196617, 65577, 0, 196617, 65578, 0, 196617, 65579, 0, 196617, 65580, 0, 196617, 65581, 0, 196617, 65582, 0, 196617, 65583, 0, 196617, 65584, 0, 196617, 65585, 0, 196617, 65586, 0, 196617, 65587, 0, 196617, 65588, 0, 196617, 65589, 0, 196617, 65590, 0, 196617, 65591, 0, 196617, 65592, 0, 196617, 65593, 0, 196617, 65594, 0, 131077, 65595, 0, 131081, 65596, 0, 131083, 196605, 0, 65544, 196606, 0, 131081, 196607, 0, 131083, 131130, 0, 65544, 131131, 0, 131081, 131132, 0, 131083, 262141, 0, 65544, 262142, 0, 131081, 262143, 0, 131083, 196666, 0, 65544, 196667, 0, 131081, 196668, 0, 131083, 327677, 0, 65544, 327678, 0, 131081, 327679, 0, 131083, 262202, 0, 65544, 262203, 0, 131081, 262204, 0, 131083, 393213, 0, 65544, 393214, 0, 131081, 393215, 0, 131083, 327738, 0, 65544, 327739, 0, 131081, 327740, 0, 131083, 458749, 0, 65544, 458750, 0, 131081, 458751, 0, 131083, 393234, 0, 8, 393235, 0, 10, 393236, 0, 10, 393237, 0, 10, 393238, 0, 10, 393239, 0, 10, 393240, 0, 10, 393241, 0, 10, 393242, 0, 10, 393243, 0, 10, 393244, 0, 10, 393245, 0, 11, 393251, 0, 8, 393252, 0, 11, 393266, 0, 8, 393267, 0, 10, 393268, 0, 10, 393269, 0, 10, 393270, 0, 10, 393271, 0, 10, 393272, 0, 10, 393273, 0, 10, 393274, 0, 65541, 393275, 0, 131081, 393276, 0, 131083, 524285, 0, 65544, 524286, 0, 131081, 524287, 0, 131083, 458769, 0, 8, 458770, 0, 65541, 458771, 0, 131081, 458772, 0, 13108
2020-07-23 01:44:41 -05:00
2020-07-23 14:43:42 -05:00
[node name="Node" type="Node" parent="."]
2020-07-23 12:25:37 -05:00
2020-07-23 14:43:42 -05:00
[node name="torch" parent="Node" instance=ExtResource( 4 )]
position = Vector2( 64, 112 )
2020-07-23 12:25:37 -05:00
2020-07-23 14:43:42 -05:00
[node name="torch2" parent="Node" instance=ExtResource( 4 )]
position = Vector2( 208, 64 )
2020-07-23 12:25:37 -05:00
2020-07-23 14:43:42 -05:00
[node name="torch3" parent="Node" instance=ExtResource( 4 )]
position = Vector2( 400, 64 )
2020-07-23 12:16:10 -05:00
2020-07-23 14:43:42 -05:00
[node name="torch4" parent="Node" instance=ExtResource( 4 )]
position = Vector2( 608, 64 )
2020-07-23 12:16:10 -05:00
2020-07-23 14:43:42 -05:00
[node name="torch6" parent="Node" instance=ExtResource( 4 )]
position = Vector2( 880, 64 )
2020-07-23 12:16:10 -05:00
2020-07-23 14:43:42 -05:00
[node name="torch5" parent="Node" instance=ExtResource( 4 )]
position = Vector2( 752, 64 )
2020-07-23 12:16:10 -05:00
2020-07-23 14:43:42 -05:00
[node name="Player" parent="." instance=ExtResource( 2 )]
position = Vector2( 108, 164 )
2020-07-23 12:25:37 -05:00
[node name="Area2D" type="Area2D" parent="."]
script = ExtResource( 7 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
2020-07-23 14:43:42 -05:00
position = Vector2( 1610, 259 )
2020-07-23 12:25:37 -05:00
shape = SubResource( 1 )
2020-07-23 14:43:42 -05:00
[node name="Skeleton Enemy" parent="." instance=ExtResource( 5 )]
position = Vector2( 843, 85 )
max_range = 999999
stationary = true
[node name="CanvasModulate" type="CanvasModulate" parent="."]
color = Color( 0.564706, 0.564706, 0.564706, 1 )
[node name="StaticBody2D" type="StaticBody2D" parent="."]
position = Vector2( 843, 64 )
collision_layer = 0
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2( -20, 0 )
shape = SubResource( 2 )
2020-07-23 01:44:41 -05:00
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_Area2D_body_entered"]