50 lines
7.8 KiB
Plaintext
50 lines
7.8 KiB
Plaintext
|
[gd_scene load_steps=9 format=2]
|
||
|
|
||
|
[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]
|
||
|
[ext_resource path="res://ai/Scenes/Demon.tscn" type="PackedScene" id=4]
|
||
|
[ext_resource path="res://ai/Scenes/Skeleton Enemy.tscn" type="PackedScene" id=5]
|
||
|
[ext_resource path="res://ai/Scenes/ogre.tscn" type="PackedScene" id=6]
|
||
|
[ext_resource path="res://levels/Campaign/Level 2/Area2D.gd" type="Script" id=7]
|
||
|
|
||
|
[sub_resource type="RectangleShape2D" id=1]
|
||
|
extents = Vector2( 237, 13 )
|
||
|
|
||
|
[node name="Level 2" type="Node"]
|
||
|
|
||
|
[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 )
|
||
|
format = 1
|
||
|
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, 10, -65475, 0, 10, -65474, 0, 10, -65473, 0, 10, -65472, 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, 131081, 61, 0, 131081, 62, 0, 131081, 63, 0, 131081, 64, 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, 131077, 65584, 0, 131081, 65585, 0, 131081, 65586, 0, 131081, 65587, 0, 131081, 65588, 0, 131081, 65589, 0, 131078, 65590, 0, 196617, 65591, 0, 196617, 65592, 0, 196617, 65593, 0, 196617, 65594, 0, 196617, 65595, 0, 196617, 65596, 0, 196617, 65597, 0, 196617, 65598, 0, 196617, 65599, 0, 196617, 65600, 0, 196619, 196605, 0, 65544, 196606, 0, 131081, 196607, 0, 131083, 131119, 0, 65544, 131120, 0, 131081, 131121, 0, 131081, 131122, 0, 131081, 131123, 0, 131081, 131124, 0, 131078, 131125, 0, 196619, 262141, 0, 65544, 262142, 0, 131081, 262143, 0, 131083, 196655, 0, 65544, 196656, 0, 131081, 196657, 0, 131081, 196658, 0, 131081, 196659, 0, 131078, 196660, 0, 196619, 327677, 0, 65544, 327678, 0, 131081, 327679, 0, 131083, 262191, 0, 65544, 262192, 0, 131081, 262193, 0, 131081, 262194, 0, 131078, 262195, 0, 196619, 393213, 0, 65544, 393214, 0, 131081, 393215, 0, 131083, 327727, 0, 65544, 327728, 0, 131081, 327729, 0, 131078, 327730, 0, 196619, 458749, 0, 65544, 458750, 0, 131081, 458751, 0, 131083, 393263, 0, 65544, 393264, 0, 131078, 393265, 0, 196619, 524285, 0, 65544, 524286, 0, 131081, 524287, 0, 131083, 458799, 0, 1
|
||
|
|
||
|
[node name="Player" parent="." instance=ExtResource( 2 )]
|
||
|
position = Vector2( 108, 164 )
|
||
|
|
||
|
[node name="Enemies" type="Node" parent="."]
|
||
|
|
||
|
[node name="Demon" parent="Enemies" instance=ExtResource( 4 )]
|
||
|
position = Vector2( 952, 163 )
|
||
|
|
||
|
[node name="Skeleton Enemy" parent="Enemies" instance=ExtResource( 5 )]
|
||
|
position = Vector2( 295, 165 )
|
||
|
|
||
|
[node name="Ogre" parent="Enemies" instance=ExtResource( 6 )]
|
||
|
position = Vector2( 330, 171 )
|
||
|
|
||
|
[node name="Area2D" type="Area2D" parent="."]
|
||
|
script = ExtResource( 7 )
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||
|
position = Vector2( 621, 255 )
|
||
|
shape = SubResource( 1 )
|
||
|
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_Area2D_body_entered"]
|