[gd_scene load_steps=15 format=2] [ext_resource path="res://Player/Player.tscn" type="PackedScene" id=1] [ext_resource path="res://meta/DungeonTilemap.tres" type="TileSet" id=2] [ext_resource path="res://levels/Campaign/Level 3/Area2D.gd" type="Script" id=3] [ext_resource path="res://meta/DungeonTilemap.tscn" type="PackedScene" id=4] [ext_resource path="res://levels/Campaign/Level 3/DisappearingTiles.gd" type="Script" id=5] [ext_resource path="res://art/door.png" type="Texture" id=6] [ext_resource path="res://ai/Scenes/ogre.tscn" type="PackedScene" id=7] [ext_resource path="res://objects/Lever.tscn" type="PackedScene" id=8] [ext_resource path="res://objects/torch.tscn" type="PackedScene" id=9] [ext_resource path="res://ai/Scenes/Demon.tscn" type="PackedScene" id=10] [ext_resource path="res://levels/Campaign/Level 3/TileMap3.gd" type="Script" id=11] [ext_resource path="res://objects/Door.tscn" type="PackedScene" id=13] [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 1202, 80 ) [sub_resource type="RectangleShape2D" id=2] extents = Vector2( 10, 45 ) [node name="Level 3" type="Node"] [node name="Node" type="Node" parent="."] [node name="torch8" parent="Node" instance=ExtResource( 9 )] position = Vector2( 480, 48 ) [node name="torch6" parent="Node" instance=ExtResource( 9 )] position = Vector2( 1024, 48 ) [node name="torch7" parent="Node" instance=ExtResource( 9 )] position = Vector2( 1136, 48 ) [node name="torch4" parent="Node" instance=ExtResource( 9 )] position = Vector2( 784, 48 ) [node name="torch2" parent="Node" instance=ExtResource( 9 )] position = Vector2( 576, 48 ) [node name="torch3" parent="Node" instance=ExtResource( 9 )] position = Vector2( 672, 48 ) [node name="torch5" parent="Node" instance=ExtResource( 9 )] position = Vector2( 896, 48 ) [node name="torch9" parent="Node" instance=ExtResource( 9 )] position = Vector2( 912, 128 ) [node name="torch10" parent="Node" instance=ExtResource( 9 )] position = Vector2( 992, 112 ) [node name="torch11" parent="Node" instance=ExtResource( 9 )] position = Vector2( 832, 144 ) [node name="torch12" parent="Node" instance=ExtResource( 9 )] position = Vector2( 752, 160 ) [node name="torch13" parent="Node" instance=ExtResource( 9 )] position = Vector2( 432, 160 ) [node name="Door" parent="." instance=ExtResource( 13 )] position = Vector2( 416, 64 ) [node name="door" type="Sprite" parent="."] position = Vector2( 432, 191 ) texture = ExtResource( 6 ) hframes = 2 [node name="TileMapDisapearing" parent="." instance=ExtResource( 4 )] tile_data = PoolIntArray( -131025, 0, 8, -131024, 0, 10, -131023, 0, 10, -131022, 0, 10, -131021, 0, 10, -131020, 0, 10, -131019, 0, 10, -131018, 0, 10, -131017, 0, 10, -131016, 0, 10, -131015, 0, 10, -131014, 0, 10, -131013, 0, 10, -131012, 0, 10, -131011, 0, 11, -65489, 0, 65544, -65488, 0, 131081, -65487, 0, 131081, -65486, 0, 131081, -65485, 0, 131081, -65484, 0, 131081, -65483, 0, 131081, -65482, 0, 131081, -65481, 0, 131081, -65480, 0, 131081, -65479, 0, 131081, -65478, 0, 131081, -65477, 0, 131081, -65476, 0, 131081, -65475, 0, 131083, 47, 0, 196616, 48, 0, 196617, 49, 0, 196617, 50, 0, 196617, 51, 0, 196617, 52, 0, 196617, 53, 0, 196617, 54, 0, 196617, 55, 0, 196617, 56, 0, 196617, 57, 0, 196617, 58, 0, 196617, 59, 0, 196617, 60, 0, 196617, 61, 0, 196619, 131094, 0, 0, 196630, 0, 65536, 262166, 0, 65536, 327702, 0, 65536, 327754, 0, 0, 393238, 0, 65536, 393274, 0, 8, 393275, 0, 10, 393276, 0, 11, 393290, 0, 65536, 458774, 0, 65536, 458805, 0, 8, 458806, 0, 10, 458807, 0, 11, 458810, 0, 65544, 458811, 0, 131081, 458812, 0, 131083, 458826, 0, 65536, 524310, 0, 65536, 524336, 0, 8, 524337, 0, 10, 524338, 0, 11, 524341, 0, 65544, 524342, 0, 131081, 524343, 0, 131083, 524346, 0, 65544, 524347, 0, 131081, 524348, 0, 131083, 524362, 0, 65536, 589846, 0, 131072, 589872, 0, 65544, 589873, 0, 131081, 589874, 0, 131083, 589877, 0, 65544, 589878, 0, 131081, 589879, 0, 131083, 589882, 0, 65544, 589883, 0, 131081, 589884, 0, 131083, 589898, 0, 65536, 655408, 0, 65544, 655409, 0, 131081, 655410, 0, 131083, 655413, 0, 65544, 655414, 0, 131081, 655415, 0, 131083, 655418, 0, 65544, 655419, 0, 131081, 655420, 0, 131083, 655434, 0, 65536, 720944, 0, 65544, 720945, 0, 131081, 720946, 0, 131083, 720949, 0, 65544, 720950, 0, 131081, 720951, 0, 131083, 720954, 0, 65544, 720955, 0, 131081, 720956, 0, 131083, 720970, 0, 131072, 786480, 0, 65544, 786481, 0, 131081, 786482, 0, 131083, 786485, 0, 65544, 786486, 0, 131081, 786487, 0, 131083, 786490, 0, 65544, 786491, 0, 131081, 786492, 0, 131083, 852016, 0, 65544, 852017, 0, 131081, 852018, 0, 131083, 852021, 0, 65544, 852022, 0, 131081, 852023, 0, 131083, 852026, 0, 65544, 852027, 0, 131081, 852028, 0, 131083, 917552, 0, 65544, 917553, 0, 131081, 917554, 0, 131083, 917557, 0, 65544, 917558, 0, 131081, 917559, 0, 131083, 917562, 0, 65544, 917563, 0, 131081, 917564, 0, 131083, 983074, 0, 196609, 983075, 0, 196610, 983076, 0, 196610, 983077, 0, 196610, 983078, 0, 196611, 983088, 0, 196616, 983089, 0, 196617, 983090, 0, 196619, 983093, 0, 196616, 983094, 0, 196617, 983095, 0, 196619, 983098, 0, 196616, 983099, 0, 196617, 983100, 0, 196619 ) script = ExtResource( 5 ) [node name="TileMap" type="TileMap" parent="." groups=[ "Tilemap", ]] tile_set = ExtResource( 2 ) cell_size = Vector2( 16, 16 ) collision_layer = 2 collision_mask = 0 format = 1 tile_data = PoolIntArray( -131050, 0, 8, -131049, 0, 10, -131048, 0, 10, -131047, 0, 10, -131046, 0, 10, -131045, 0, 10, -131044, 0, 10, -131043, 0, 10, -131042, 0, 10, -131041, 0, 10, -131040, 0, 10, -131039, 0, 10, -131038, 0, 10, -131037, 0, 10, -131036, 0, 10, -131035, 0, 10, -131034, 0, 10, -131033, 0, 10, -131032, 0, 10, -131031, 0, 10, -131030, 0, 10, -131029, 0, 10, -131028, 0, 10, -131027, 0, 10, -131026, 0, 10, -131025, 0, 11, -131011, 0, 8, -131010, 0, 10, -131009, 0, 10, -131008, 0, 10, -131007, 0, 10, -131006, 0, 10, -131005, 0, 10, -131004, 0, 10, -131003, 0, 10, -131002, 0, 10, -131001, 0, 10, -131000, 0, 10, -130999, 0, 10, -130998, 0, 11, -65514, 0, 65544, -65513, 0, 131081, -65512, 0, 131081, -65511, 0, 131081, -65510, 0, 131081, -65509, 0, 131081, -65508, 0, 131081, -65507, 0, 131081, -65506, 0, 131081, -65505, 0, 131081, -65504, 0, 131081, -65503, 0, 131081, -65502, 0, 131081, -65501, 0, 131081, -65500, 0, 131081, -65499, 0, 131081, -65498, 0, 131081, -65497, 0, 131081, -65496, 0, 131081, -65495, 0, 131081, -65494, 0, 131081, -65493, 0, 131081, -65492, 0, 131081, -65491, 0, 131081, -65490, 0, 131081, -65489, 0, 131083, -65475, 0, 65544, -65474, 0, 131081, -65473, 0, 131081, -65472, 0, 131081, -65471, 0, 131081, -65470, 0, 131081, -65469, 0, 131081, -65468, 0, 131081, -65467, 0, 131081, -65466, 0, 131081, -65465, 0, 131081, -65464, 0, 131081, -65463, 0, 131081, -65462, 0, 131083, 22, 0, 65544, 23, 0, 131081, 24, 0, 131078, 25, 0, 196617, 26, 0, 196617, 27, 0, 196617, 28, 0, 196617, 29, 0, 196617, 30, 0, 196617, 31, 0, 196617, 32, 0, 196617, 33, 0, 196617, 34, 0, 196617, 35, 0, 196617, 36, 0, 196617, 37, 0, 196617, 38, 0, 196617, 39, 0, 196617, 40, 0, 196617, 41, 0, 196617, 42, 0, 196617, 43, 0, 196617, 44, 0, 196617, 45, 0, 196617, 46, 0, 196617, 47, 0, 196619, 61, 0, 196616, 62, 0, 196617, 63, 0, 196617, 64, 0, 196617, 65, 0, 196617, 66, 0, 196617, 67, 0, 196617, 68, 0, 196617, 69, 0, 196617, 70, 0, 196617, 71, 0, 196617, 72, 0, 131077, 73, 0, 131081, 74, 0, 131083, 65558, 0, 65544, 65559, 0, 131081, 65560, 0, 131083, 65608, 0, 65544, 65609, 0, 131081, 65610, 0, 131083, 131094, 0, 65544, 131095, 0, 131081, 131096, 0, 131083, 131144, 0, 65544, 131145, 0, 131081, 131146, 0, 131083, 196630, 0, 65544, 196631, 0, 131081, 196632, 0, 131083, 196680, 0, 65544, 196681, 0, 131081, 196682, 0, 131083, 262166, 0, 65544, 262167, 0, 131081, 262168, 0, 131083, 262216, 0, 65544, 262217, 0, 131081, 262218, 0, 131083, 327702, 0, 65544, 327703, 0, 131081, 327704, 0, 131083, 327743, 0, 8, 327744, 0, 10, 327745, 0, 10, 327746, 0, 10, 327747, 0, 10, 327748, 0, 10, 327749, 0, 10, 327750, 0, 10, 327751, 0, 10, 327752, 0, 65541, 327753, 0, 131081, 327754, 0, 131083, 393238, 0, 65544, 393239, 0, 131081, 393240, 0, 65547, 393241, 0, 196610, 393242, 0, 196610, 393243, 0, 196611, 393279, 0, 65544, 393280, 0, 131081, 393281, 0, 131081, 393282, 0, 131081, 393283, 0, 131081, 393284, 0, 131081, 393285, 0, 131081, 393286, 0, 131081, 393287, 0, 131081, 393288, 0, 131081, 393289, 0, 131081, 393290, 0, 131083, 458774, 0, 65544, 458775, 0, 131081, 458776, 0, 131083, 458815, 0, 65544, 458816, 0, 131081, 458817, 0, 131081, 458818, 0, 131081, 458819, 0, 131081, 458820, 0, 131081, 458821, 0, 131081, 458822, 0, 131081, 458823, 0, 131081, 458824, 0, 131081, 458825, 0, 131081, 458826, 0, 131083, 524310, 0, 65544, 524311, 0, 131081, 524312, 0, 131083, 524331, 0, 8, 524332, 0, 10, 524333, 0, 11, 524351, 0, 65544, 524352, 0, 131081, 524353, 0, 131081, 524354, 0, 131081, 524355, 0, 131081, 524356, 0, 131081, 524357, 0, 131081, 524358, 0, 131081, 524359, 0, 131081, 524360, 0, 131081, 524361, 0, 131081, 524362, 0, 131083, 589846, 0, 65544, 589847, 0, 131081, 589848, 0, 131083, 589864, 0, 8, 589865, 0, 10, 589866, 0, 10, 589867, 0, 65541, 589868, 0, 131081, 589869, 0, 131083, 589887, 0, 65544, 589888, 0, 131081, 589889, 0, 131081, 589890, 0, 131081, 589891, 0, 131081, 589892, 0, 131081, 589893, 0, 131081, 589894, 0, 131081, 589895, 0, 131081, 589896, 0, 131081, 589897, 0, 131081, 589898, 0, 131083, 655382, 0, 65544, 655383, 0, 131081, 655384, 0, 131083, 655397, 0, 8, 655398, 0, 10, 655399, 0, 10, 655400, 0, 65541, 655401, 0, 131081, 655402, 0, 131081, 655403, 0, 131081, 655404, 0, 131081, 655405, 0, 131083, 655423, 0, 65544, 655424, 0, 131081, 655425, 0, 131081, 655426, 0, 131081, 655427, 0, 131081, 655428, 0, 131081, 655429, 0, 131081, 655430, 0, 131081, 655431, 0, 131081, 655432, 0, 131081, 655433, 0, 131081, 655434, 0, 131083, 720918, 0, 65544, 720919, 0, 131081, 720920, 0, 131083, 720930, 0, 8, 720931, 0, 10, 720932, 0, 10, 720933, 0, 65541, 720934, 0, 131081, 720935, 0, 131081, 720936, 0, 131081, 720937, 0, 131081, 720938, 0, 131081, 720939, 0, 131081, 720940, 0, 131081, 720941, 0, 131083, 720959, 0, 65544, 720960, 0, 131081, 720961, 0, 131081, 720962, 0, 131081, 720963, 0, 131081, 720964, 0, 131081, 720965, 0, 131081, 720966, 0, 131081, 720967, 0, 131081, 720968, 0, 131081, 720969, 0, 131081, 720970, 0, 131083, 786454, 0, 65544, 786455, 0, 131081, 786456, 0, 131083, 786463, 0, 8, 786464, 0, 10, 786465, 0, 10, 786466, 0, 65541, 786467, 0, 131081, 786468, 0, 131081, 786469, 0, 131081, 786470, 0, 131081, 786471, 0, 131081, 786472, 0, 131081, 786473, 0, 131081, 786474, 0, 131081, 786475, 0, 131081, 786476, 0, 131081, 786477, 0, 131083, 786495, 0, 65544, 786496, 0, 131081, 786497, 0, 131081, 786498, 0, 131081, 786499, 0, 131081, 786500, 0, 131081, 786501, 0, 131081, 786502, 0, 131081, 786503, 0, 131081, 786504, 0, 131081, 786505, 0, 131081, 786506, 0, 131083, 851990, 0, 65544, 851991, 0, 131081, 851992, 0, 65542, 851993, 0, 10, 851994, 0, 10, 851995, 0, 10, 851996, 0, 10, 851997, 0, 10, 851998, 0, 10, 851999, 0, 65541, 852000, 0, 131081, 852001, 0, 131081, 852002, 0, 131081, 852003, 0, 131081, 852004, 0, 131081, 852005, 0, 131081, 852006, 0, 131081, 852007, 0, 131081, 852008, 0, 131081, 852009, 0, 131081, 852010, 0, 131081, 852011, 0, 131081, 852012, 0, 131081, 852013, 0, 131083, 852031, 0, 65544, 852032, 0, 131081, 852033, 0, 131081, 852034, 0, 131081, 852035, 0, 131081, 852036, 0, 131081, 852037, 0, 131081, 852038, 0, 131081, 852039, 0, 131081, 852040, 0, 131081, 852041, 0, 131081, 852042, 0, 131083, 917526, 0, 65544, 917527, 0, 131081, 917528, 0, 131081, 917529, 0, 131081, 917530, 0, 131081, 917531, 0, 131081, 917532, 0, 131081, 917533, 0, 131081, 917534, 0, 131081, 917535, 0, 131081, 917536, 0, 131081, 917537, 0, 131081, 917538, 0, 131081, 917539, 0, 131081, 917540, 0, 131081, 917541, 0, 131081, 917542, 0, 131081, 917543, 0, 131081, 917544, 0, 131081, 917545, 0, 131081, 917546, 0, 131081, 917547, 0, 131081, 917548, 0, 131081, 917549, 0, 131083, 917567, 0, 65544, 917568, 0, 131081, 917569, 0, 131081, 917570, 0, 131081, 917571, 0, 131081, 917572, 0, 131081, 917573, 0, 131081, 917574, 0, 131081, 917575, 0, 131081, 917576, 0, 131081, 917577, 0, 131081, 917578, 0, 131083, 983062, 0, 196616, 983063, 0, 196617, 983064, 0, 196617, 983065, 0, 196617, 983066, 0, 196617, 983067, 0, 196617, 983068, 0, 196617, 983069, 0, 196617, 983070, 0, 196617, 983071, 0, 196617, 983072, 0, 196617, 983073, 0, 196617, 983074, 0, 196617, 983075, 0, 196617, 983076, 0, 196617, 983077, 0, 196617, 983078, 0, 196617, 983079, 0, 196617, 983080, 0, 196617, 983081, 0, 196617, 983082, 0, 196617, 983083, 0, 196617, 983084, 0, 196617, 983085, 0, 196619, 983103, 0, 196616, 983104, 0, 196617, 983105, 0, 196617, 983106, 0, 196617, 983107, 0, 196617, 983108, 0, 196617, 983109, 0, 196617, 983110, 0, 196617, 983111, 0, 196617, 983112, 0, 196617, 983113, 0, 196617, 983114, 0, 196619 ) [node name="TileMapAppearing" type="TileMap" parent="."] visible = false tile_set = ExtResource( 2 ) cell_size = Vector2( 16, 16 ) collision_layer = 0 collision_mask = 0 format = 1 tile_data = PoolIntArray( 262182, 0, 196609, 262183, 0, 196611, 262192, 0, 8, 262193, 0, 10, 262194, 0, 10, 262195, 0, 10, 262196, 0, 10, 262197, 0, 10, 262198, 0, 11, 327713, 0, 196609, 327714, 0, 196611, 327723, 0, 196609, 327724, 0, 196611, 327728, 0, 65544, 327729, 0, 131081, 327730, 0, 131078, 327731, 0, 196617, 327732, 0, 196617, 327733, 0, 131077, 327734, 0, 65542, 327735, 0, 10, 327736, 0, 10, 327737, 0, 10, 327738, 0, 10, 327739, 0, 10, 327740, 0, 10, 327741, 0, 10, 327742, 0, 11, 393264, 0, 65544, 393265, 0, 131081, 393266, 0, 131083, 393269, 0, 65544, 393270, 0, 131081, 393271, 0, 131078, 393272, 0, 196617, 393273, 0, 196617, 393274, 0, 131077, 393275, 0, 131081, 393276, 0, 131078, 393277, 0, 196617, 393278, 0, 196619, 458792, 0, 196609, 458793, 0, 196611, 458800, 0, 65544, 458801, 0, 131081, 458802, 0, 131083, 458805, 0, 65544, 458806, 0, 131081, 458807, 0, 131083, 458810, 0, 65544, 458811, 0, 131081, 458812, 0, 131083, 524336, 0, 65544, 524337, 0, 131081, 524338, 0, 131083, 524341, 0, 65544, 524342, 0, 131081, 524343, 0, 131083, 524346, 0, 65544, 524347, 0, 131081, 524348, 0, 131083, 589872, 0, 65544, 589873, 0, 131081, 589874, 0, 131083, 589877, 0, 65544, 589878, 0, 131081, 589879, 0, 131083, 589882, 0, 65544, 589883, 0, 131081, 589884, 0, 131083, 655408, 0, 65544, 655409, 0, 131081, 655410, 0, 131083, 655413, 0, 65544, 655414, 0, 131081, 655415, 0, 131083, 655418, 0, 65544, 655419, 0, 131081, 655420, 0, 131083, 720944, 0, 65544, 720945, 0, 131081, 720946, 0, 131083, 720949, 0, 65544, 720950, 0, 131081, 720951, 0, 131083, 720954, 0, 65544, 720955, 0, 131081, 720956, 0, 131083, 786480, 0, 65544, 786481, 0, 131081, 786482, 0, 131083, 786485, 0, 65544, 786486, 0, 131081, 786487, 0, 131083, 786490, 0, 65544, 786491, 0, 131081, 786492, 0, 131083, 852016, 0, 65544, 852017, 0, 131081, 852018, 0, 131083, 852021, 0, 65544, 852022, 0, 131081, 852023, 0, 131083, 852026, 0, 65544, 852027, 0, 131081, 852028, 0, 131083, 917552, 0, 65544, 917553, 0, 131081, 917554, 0, 131083, 917557, 0, 65544, 917558, 0, 131081, 917559, 0, 131083, 917562, 0, 65544, 917563, 0, 131081, 917564, 0, 131083, 983088, 0, 196616, 983089, 0, 196617, 983090, 0, 196619, 983093, 0, 196616, 983094, 0, 196617, 983095, 0, 196619, 983098, 0, 196616, 983099, 0, 196617, 983100, 0, 196619 ) script = ExtResource( 11 ) [node name="Lever" parent="." instance=ExtResource( 8 )] position = Vector2( 1120, 72 ) [node name="Player" parent="." instance=ExtResource( 1 )] position = Vector2( 431.5, 202 ) [node name="Area2D" type="Area2D" parent="."] script = ExtResource( 3 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] position = Vector2( 1380, 350 ) shape = SubResource( 1 ) [node name="StaticBody2D" type="StaticBody2D" parent="."] position = Vector2( 876, -65 ) collision_layer = 0 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] position = Vector2( -118, -9 ) shape = SubResource( 2 ) [node name="CollisionShape2D2" type="CollisionShape2D" parent="StaticBody2D"] position = Vector2( 110, -9 ) shape = SubResource( 2 ) [node name="CollisionShape2D3" type="CollisionShape2D" parent="StaticBody2D"] position = Vector2( 42, -9 ) shape = SubResource( 2 ) [node name="CollisionShape2D4" type="CollisionShape2D" parent="StaticBody2D"] position = Vector2( -38, -9 ) shape = SubResource( 2 ) [node name="CollisionShape2D5" type="CollisionShape2D" parent="StaticBody2D"] position = Vector2( 29, -9 ) shape = SubResource( 2 ) [node name="CollisionShape2D6" type="CollisionShape2D" parent="StaticBody2D"] position = Vector2( -49, -9 ) shape = SubResource( 2 ) [node name="Ogre" parent="." instance=ExtResource( 7 )] position = Vector2( 800, -52 ) [node name="Ogre2" parent="." instance=ExtResource( 7 )] position = Vector2( 876, -52 ) [node name="Ogre3" parent="." instance=ExtResource( 7 )] position = Vector2( 956, -53 ) [node name="Ogre4" parent="." instance=ExtResource( 7 )] position = Vector2( 717, 119 ) [node name="CanvasModulate" type="CanvasModulate" parent="."] color = Color( 0.564706, 0.564706, 0.564706, 1 ) [node name="Demon" parent="." instance=ExtResource( 10 )] position = Vector2( 668, 135.5 ) [connection signal="on" from="Lever" to="TileMapDisapearing" method="_on_Lever_on"] [connection signal="on" from="Lever" to="TileMapAppearing" method="_on_Lever_on"] [connection signal="body_entered" from="Area2D" to="Area2D" method="_on_Area2D_body_entered"]