diff --git a/Music and Fonts(Misc.)/Hell Hit.tres b/Music and Fonts(Misc.)/Hell Hit.tres index 1aff352..b0612ad 100644 --- a/Music and Fonts(Misc.)/Hell Hit.tres +++ b/Music and Fonts(Misc.)/Hell Hit.tres @@ -5,7 +5,7 @@ resource_name = "Hit" length = 0.1 step = 0.05 tracks/0/type = "value" -tracks/0/path = NodePath("../Demon/Hell:modulate") +tracks/0/path = NodePath("Hell:modulate") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false diff --git a/Music and Fonts(Misc.)/Ogre Hit.tres b/Music and Fonts(Misc.)/Ogre Hit.tres index 2569597..924ad64 100644 --- a/Music and Fonts(Misc.)/Ogre Hit.tres +++ b/Music and Fonts(Misc.)/Ogre Hit.tres @@ -5,7 +5,7 @@ resource_name = "Hit" length = 0.1 step = 0.05 tracks/0/type = "value" -tracks/0/path = NodePath("Sprite:modulate") +tracks/0/path = NodePath("../Ogre/Skeleton Enemy3:modulate") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false diff --git a/Music and Fonts(Misc.)/Ogre Run.tres b/Music and Fonts(Misc.)/Ogre Run.tres index 0dc48b9..d208329 100644 --- a/Music and Fonts(Misc.)/Ogre Run.tres +++ b/Music and Fonts(Misc.)/Ogre Run.tres @@ -5,7 +5,7 @@ resource_name = "Run" length = 0.35 loop = true tracks/0/type = "value" -tracks/0/path = NodePath("../Ogre/Sprite:frame") +tracks/0/path = NodePath("../Ogre/Skeleton Enemy3:frame") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false diff --git a/Music and Fonts(Misc.)/Skeleton Hit.tres b/Music and Fonts(Misc.)/Skeleton Hit.tres index 6f61481..c7ac0a6 100644 --- a/Music and Fonts(Misc.)/Skeleton Hit.tres +++ b/Music and Fonts(Misc.)/Skeleton Hit.tres @@ -5,7 +5,7 @@ resource_name = "Hit" length = 0.1 step = 0.05 tracks/0/type = "value" -tracks/0/path = NodePath("Skeleton:modulate") +tracks/0/path = NodePath("../Skeleton Enemy/Demon2:modulate") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false diff --git a/ai/Scenes/Demon.tscn b/ai/Scenes/Demon.tscn index ac29307..917ed83 100644 --- a/ai/Scenes/Demon.tscn +++ b/ai/Scenes/Demon.tscn @@ -26,7 +26,7 @@ tracks/0/keys = { [node name="Demon" type="KinematicBody2D"] collision_layer = 4 -collision_mask = 11 +collision_mask = 15 script = ExtResource( 2 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] diff --git a/ai/Scenes/Skeleton Enemy.tscn b/ai/Scenes/Skeleton Enemy.tscn index b93b093..47ef291 100644 --- a/ai/Scenes/Skeleton Enemy.tscn +++ b/ai/Scenes/Skeleton Enemy.tscn @@ -12,7 +12,7 @@ resource_name = "Skeleton Jump" length = 0.65 loop = true tracks/0/type = "value" -tracks/0/path = NodePath("Skeleton:frame") +tracks/0/path = NodePath("../Skeleton Enemy/Demon2:frame") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false @@ -26,7 +26,7 @@ tracks/0/keys = { [node name="Skeleton Enemy" type="KinematicBody2D"] collision_layer = 4 -collision_mask = 3 +collision_mask = 15 script = ExtResource( 1 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] diff --git a/ai/Scenes/ogre.tscn b/ai/Scenes/ogre.tscn index d6d2d6f..e4217ee 100644 --- a/ai/Scenes/ogre.tscn +++ b/ai/Scenes/ogre.tscn @@ -14,14 +14,14 @@ height = 6.0 [node name="Ogre" type="KinematicBody2D"] collision_layer = 4 -collision_mask = 2147483655 +collision_mask = 2147483663 script = ExtResource( 1 ) [node name="Sprite" type="Sprite" parent="."] position = Vector2( 0, -17 ) texture = ExtResource( 2 ) hframes = 4 -frame = 2 +frame = 3 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] visible = false diff --git a/levels/Campaign/Level 3/Appearing Platform.tres b/levels/Campaign/Level 3/Appearing Platform.tres new file mode 100644 index 0000000..21d1c45 --- /dev/null +++ b/levels/Campaign/Level 3/Appearing Platform.tres @@ -0,0 +1,29 @@ +[gd_resource type="Animation" format=2] + +[resource] +resource_name = "Appearing Platform" +length = 0.3 +tracks/0/type = "value" +tracks/0/path = NodePath(".:collision_layer") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.3 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 1, +"values": [ 0, 2 ] +} +tracks/1/type = "value" +tracks/1/path = NodePath(".:visible") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.3 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 1, +"values": [ false, true ] +} diff --git a/levels/Campaign/Level 3/Level 3.tscn b/levels/Campaign/Level 3/Level 3.tscn index 4a9ca1f..32949e9 100644 --- a/levels/Campaign/Level 3/Level 3.tscn +++ b/levels/Campaign/Level 3/Level 3.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=9 format=2] +[gd_scene load_steps=16 format=2] [ext_resource path="res://Player/Player.tscn" type="PackedScene" id=1] [ext_resource path="res://meta/DungeonTilemap.tres" type="TileSet" id=2] @@ -7,12 +7,43 @@ [ext_resource path="res://ai/Scenes/ogre.tscn" type="PackedScene" id=5] [ext_resource path="res://art/door.png" type="Texture" id=6] [ext_resource path="res://ai/Scenes/Skeleton Enemy.tscn" type="PackedScene" id=7] +[ext_resource path="res://objects/Lever.tscn" type="PackedScene" id=8] +[ext_resource path="res://levels/Campaign/Level 3/TileMap2.gd" type="Script" id=9] +[ext_resource path="res://Music and Fonts(Misc.)/m5x7.ttf" type="DynamicFontData" id=10] +[ext_resource path="res://levels/Campaign/Level 3/TileMap3.gd" type="Script" id=11] +[ext_resource path="res://levels/Campaign/Level 3/Appearing Platform.tres" type="Animation" id=12] +[ext_resource path="res://objects/Door.tscn" type="PackedScene" id=13] + +[sub_resource type="DynamicFont" id=2] +font_data = ExtResource( 10 ) [sub_resource type="RectangleShape2D" id=1] -extents = Vector2( 854, 80 ) +extents = Vector2( 1202, 80 ) [node name="Level 3" type="Node"] +[node name="Door" parent="." instance=ExtResource( 13 )] +position = Vector2( 2312, 208 ) + +[node name="Demon" parent="Door" instance=ExtResource( 4 )] +position = Vector2( -115, -10 ) + +[node name="Label" type="Label" parent="."] +margin_left = 1231.0 +margin_top = 152.0 +margin_right = 1341.0 +margin_bottom = 181.0 +custom_fonts/font = SubResource( 2 ) +text = "Don't Pull This Lever. + but you could" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Lever" parent="." instance=ExtResource( 8 )] +position = Vector2( 1286, 216 ) +lock = false + [node name="door" type="Sprite" parent="."] position = Vector2( 32, 209 ) texture = ExtResource( 6 ) @@ -24,10 +55,25 @@ hframes = 2 tile_set = ExtResource( 2 ) cell_size = Vector2( 16, 16 ) format = 1 -tile_data = PoolIntArray( -1, 0, 8, -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, 11, 65535, 0, 65544, 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, 131078, 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, 131077, 47, 0, 131081, 48, 0, 131078, 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, 196619, 131071, 0, 65544, 65536, 0, 131078, 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, 196619, 65582, 0, 65544, 65583, 0, 131081, 65584, 0, 131083, 196607, 0, 65544, 131072, 0, 131083, 131118, 0, 65544, 131119, 0, 131081, 131120, 0, 131083, 262143, 0, 65544, 196608, 0, 131083, 196654, 0, 196616, 196655, 0, 196618, 196656, 0, 196619, 327679, 0, 65544, 262144, 0, 131083, 262191, 0, 65536, 393215, 0, 65544, 327680, 0, 131083, 327727, 0, 65536, 458751, 0, 65544, 393216, 0, 131083, 393263, 0, 131072, 524287, 0, 65544, 458752, 0, 131083, 589823, 0, 65544, 524288, 0, 131083, 524335, 0, 0, 655359, 0, 65544, 589824, 0, 131083, 589871, 0, 65536, 720895, 0, 65544, 655360, 0, 131083, 655407, 0, 131072, 786431, 0, 65544, 720896, 0, 131083, 851967, 0, 65544, 786432, 0, 131083, 786479, 0, 0, 917503, 0, 65544, 851968, 0, 131083, 852002, 0, 8, 852003, 0, 10, 852004, 0, 10, 852005, 0, 10, 852006, 0, 10, 852007, 0, 10, 852008, 0, 10, 852009, 0, 10, 852010, 0, 10, 852011, 0, 10, 852012, 0, 10, 852013, 0, 11, 852015, 0, 65536, 852017, 0, 8, 852018, 0, 10, 852019, 0, 10, 852020, 0, 10, 852021, 0, 10, 852022, 0, 10, 852023, 0, 10, 852024, 0, 10, 852025, 0, 10, 852026, 0, 11, 983039, 0, 65544, 917504, 0, 65542, 917505, 0, 10, 917506, 0, 10, 917507, 0, 10, 917508, 0, 10, 917509, 0, 10, 917510, 0, 10, 917511, 0, 10, 917512, 0, 10, 917513, 0, 10, 917514, 0, 10, 917515, 0, 10, 917516, 0, 10, 917517, 0, 10, 917518, 0, 10, 917519, 0, 10, 917520, 0, 10, 917521, 0, 10, 917522, 0, 10, 917523, 0, 10, 917524, 0, 10, 917525, 0, 10, 917526, 0, 10, 917527, 0, 10, 917528, 0, 10, 917529, 0, 10, 917530, 0, 10, 917531, 0, 10, 917532, 0, 10, 917533, 0, 10, 917534, 0, 10, 917535, 0, 10, 917536, 0, 10, 917537, 0, 10, 917538, 0, 65541, 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, 917551, 0, 65536, 917553, 0, 65544, 917554, 0, 131081, 917555, 0, 131081, 917556, 0, 131081, 917557, 0, 131081, 917558, 0, 131081, 917559, 0, 131081, 917560, 0, 131081, 917561, 0, 131081, 917562, 0, 131083, 1048575, 0, 196616, 983040, 0, 196617, 983041, 0, 196617, 983042, 0, 196617, 983043, 0, 196617, 983044, 0, 196617, 983045, 0, 196617, 983046, 0, 196617, 983047, 0, 196617, 983048, 0, 196617, 983049, 0, 196617, 983050, 0, 196617, 983051, 0, 196617, 983052, 0, 196617, 983053, 0, 196617, 983054, 0, 196617, 983055, 0, 196617, 983056, 0, 196617, 983057, 0, 196617, 983058, 0, 196617, 983059, 0, 196617, 983060, 0, 196617, 983061, 0, 196617, 983062, 0, 196617, 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, 983087, 0, 131072, 983089, 0, 196616, 983090, 0, 196617, 983091, 0, 196617, 983092, 0, 196617, 983093, 0, 196617, 983094, 0, 196617, 983095, 0, 196617, 983096, 0, 196617, 983097, 0, 196617, 983098, 0, 196619 ) +tile_data = PoolIntArray( -1, 0, 8, -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, 10, -65471, 0, 10, -65470, 0, 10, -65469, 0, 10, -65468, 0, 10, -65467, 0, 10, -65466, 0, 10, -65465, 0, 10, -65464, 0, 10, -65463, 0, 10, -65462, 0, 10, -65461, 0, 10, -65460, 0, 10, -65459, 0, 10, -65458, 0, 10, -65457, 0, 10, -65456, 0, 10, -65455, 0, 10, -65454, 0, 10, -65453, 0, 10, -65452, 0, 10, -65451, 0, 10, -65450, 0, 10, -65449, 0, 10, -65448, 0, 10, -65447, 0, 10, -65446, 0, 10, -65445, 0, 10, -65444, 0, 10, -65443, 0, 10, -65442, 0, 10, -65441, 0, 10, -65440, 0, 10, -65439, 0, 10, -65438, 0, 10, -65437, 0, 10, -65436, 0, 10, -65435, 0, 10, -65434, 0, 10, -65433, 0, 10, -65432, 0, 10, -65431, 0, 10, -65430, 0, 10, -65429, 0, 10, -65428, 0, 10, -65427, 0, 10, -65426, 0, 10, -65425, 0, 10, -65424, 0, 10, -65423, 0, 10, -65422, 0, 10, -65421, 0, 10, -65420, 0, 10, -65419, 0, 10, -65418, 0, 10, -65417, 0, 10, -65416, 0, 10, -65415, 0, 10, -65414, 0, 10, -65413, 0, 10, -65412, 0, 10, -65411, 0, 10, -65410, 0, 10, -65409, 0, 10, -65408, 0, 10, -65407, 0, 10, -65406, 0, 10, -65405, 0, 10, -65404, 0, 10, -65403, 0, 10, -65402, 0, 10, -65401, 0, 10, -65400, 0, 10, -65399, 0, 10, -65398, 0, 10, -65397, 0, 10, -65396, 0, 10, -65395, 0, 10, -65394, 0, 10, -65393, 0, 10, -65392, 0, 10, -65391, 0, 10, -65390, 0, 10, -65389, 0, 10, -65388, 0, 10, -65387, 0, 10, -65386, 0, 10, -65385, 0, 10, -65384, 0, 10, -65383, 0, 10, -65382, 0, 10, -65381, 0, 10, -65380, 0, 10, -65379, 0, 10, -65378, 0, 10, -65377, 0, 10, -65376, 0, 10, -65375, 0, 10, -65374, 0, 11, 65535, 0, 65544, 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, 131078, 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, 131077, 47, 0, 131081, 48, 0, 131078, 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, 131077, 60, 0, 131081, 61, 0, 131081, 62, 0, 131081, 63, 0, 131081, 64, 0, 131081, 65, 0, 131081, 66, 0, 131081, 67, 0, 131081, 68, 0, 131081, 69, 0, 131081, 70, 0, 131081, 71, 0, 131081, 72, 0, 131081, 73, 0, 131081, 74, 0, 131081, 75, 0, 131081, 76, 0, 131081, 77, 0, 131081, 78, 0, 131081, 79, 0, 131081, 80, 0, 131081, 81, 0, 131081, 82, 0, 131081, 83, 0, 131081, 84, 0, 131081, 85, 0, 131081, 86, 0, 131081, 87, 0, 131081, 88, 0, 131081, 89, 0, 131081, 90, 0, 131081, 91, 0, 131081, 92, 0, 131081, 93, 0, 131081, 94, 0, 131081, 95, 0, 131081, 96, 0, 131081, 97, 0, 131081, 98, 0, 131081, 99, 0, 131081, 100, 0, 131081, 101, 0, 131081, 102, 0, 131081, 103, 0, 131081, 104, 0, 131081, 105, 0, 131081, 106, 0, 131081, 107, 0, 131081, 108, 0, 131081, 109, 0, 131081, 110, 0, 131081, 111, 0, 131081, 112, 0, 131081, 113, 0, 131081, 114, 0, 131081, 115, 0, 131081, 116, 0, 131081, 117, 0, 131081, 118, 0, 131081, 119, 0, 131081, 120, 0, 131081, 121, 0, 131081, 122, 0, 131081, 123, 0, 131081, 124, 0, 131081, 125, 0, 131081, 126, 0, 131081, 127, 0, 131081, 128, 0, 131081, 129, 0, 131081, 130, 0, 131081, 131, 0, 131081, 132, 0, 131081, 133, 0, 131081, 134, 0, 131081, 135, 0, 131081, 136, 0, 131081, 137, 0, 131081, 138, 0, 131081, 139, 0, 131081, 140, 0, 131081, 141, 0, 131081, 142, 0, 131081, 143, 0, 131081, 144, 0, 131081, 145, 0, 131081, 146, 0, 131081, 147, 0, 131081, 148, 0, 131081, 149, 0, 131081, 150, 0, 131081, 151, 0, 131081, 152, 0, 131081, 153, 0, 131081, 154, 0, 131081, 155, 0, 131081, 156, 0, 131081, 157, 0, 131081, 158, 0, 131081, 159, 0, 131081, 160, 0, 131081, 161, 0, 131081, 162, 0, 131083, 131071, 0, 65544, 65536, 0, 131078, 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, 196619, 65582, 0, 65544, 65583, 0, 131081, 65584, 0, 131083, 65595, 0, 65544, 65596, 0, 131081, 65597, 0, 131081, 65598, 0, 131081, 65599, 0, 131081, 65600, 0, 131081, 65601, 0, 131078, 65602, 0, 196617, 65603, 0, 196617, 65604, 0, 196617, 65605, 0, 196617, 65606, 0, 196617, 65607, 0, 196617, 65608, 0, 196617, 65609, 0, 196618, 65610, 0, 196617, 65611, 0, 196617, 65612, 0, 196617, 65613, 0, 196617, 65614, 0, 196617, 65615, 0, 196617, 65616, 0, 196617, 65617, 0, 196617, 65618, 0, 196617, 65619, 0, 196617, 65620, 0, 196617, 65621, 0, 196617, 65622, 0, 196617, 65623, 0, 196617, 65624, 0, 196617, 65625, 0, 196617, 65626, 0, 196617, 65627, 0, 196617, 65628, 0, 196617, 65629, 0, 196617, 65630, 0, 196617, 65631, 0, 196617, 65632, 0, 196617, 65633, 0, 196617, 65634, 0, 196617, 65635, 0, 196617, 65636, 0, 196617, 65637, 0, 131077, 65638, 0, 131081, 65639, 0, 131081, 65640, 0, 131081, 65641, 0, 131081, 65642, 0, 131078, 65643, 0, 196617, 65644, 0, 196617, 65645, 0, 196617, 65646, 0, 196617, 65647, 0, 196617, 65648, 0, 196617, 65649, 0, 196617, 65650, 0, 196617, 65651, 0, 196617, 65652, 0, 196617, 65653, 0, 196617, 65654, 0, 196617, 65655, 0, 196617, 65656, 0, 196617, 65657, 0, 196617, 65658, 0, 196617, 65659, 0, 196617, 65660, 0, 196617, 65661, 0, 196617, 65662, 0, 196617, 65663, 0, 196617, 65664, 0, 196617, 65665, 0, 196617, 65666, 0, 196617, 65667, 0, 196617, 65668, 0, 196617, 65669, 0, 196617, 65670, 0, 196617, 65671, 0, 196617, 65672, 0, 196617, 65673, 0, 196617, 65674, 0, 196617, 65675, 0, 196617, 65676, 0, 196617, 65677, 0, 196617, 65678, 0, 196617, 65679, 0, 196617, 65680, 0, 196617, 65681, 0, 196617, 65682, 0, 196617, 65683, 0, 196617, 65684, 0, 196617, 65685, 0, 196617, 65686, 0, 196617, 65687, 0, 196617, 65688, 0, 196617, 65689, 0, 196617, 65690, 0, 196617, 65691, 0, 196617, 65692, 0, 196617, 65693, 0, 196617, 65694, 0, 196617, 65695, 0, 196617, 65696, 0, 196617, 65697, 0, 196617, 65698, 0, 196619, 196607, 0, 65544, 131072, 0, 131083, 131118, 0, 65544, 131119, 0, 131081, 131120, 0, 131083, 131131, 0, 65544, 131132, 0, 131081, 131133, 0, 131081, 131134, 0, 131081, 131135, 0, 131081, 131136, 0, 131081, 131137, 0, 131083, 131145, 0, 131072, 131173, 0, 196616, 131174, 0, 131077, 131175, 0, 131081, 131176, 0, 131081, 131177, 0, 131081, 131178, 0, 131083, 262143, 0, 65544, 196608, 0, 131083, 196654, 0, 196616, 196655, 0, 196618, 196656, 0, 196619, 196667, 0, 65544, 196668, 0, 131081, 196669, 0, 131081, 196670, 0, 131081, 196671, 0, 131081, 196672, 0, 131081, 196673, 0, 131083, 196710, 0, 65544, 196711, 0, 131081, 196712, 0, 131081, 196713, 0, 131081, 196714, 0, 131083, 327679, 0, 65544, 262144, 0, 131083, 262191, 0, 65536, 262203, 0, 65544, 262204, 0, 131081, 262205, 0, 131081, 262206, 0, 131081, 262207, 0, 131081, 262208, 0, 131081, 262209, 0, 131083, 262246, 0, 65544, 262247, 0, 131081, 262248, 0, 131081, 262249, 0, 131081, 262250, 0, 131083, 393215, 0, 65544, 327680, 0, 131083, 327727, 0, 65536, 327739, 0, 65544, 327740, 0, 131081, 327741, 0, 131081, 327742, 0, 131081, 327743, 0, 131081, 327744, 0, 131081, 327745, 0, 131083, 327782, 0, 65544, 327783, 0, 131081, 327784, 0, 131081, 327785, 0, 131081, 327786, 0, 131083, 458751, 0, 65544, 393216, 0, 131083, 393263, 0, 131072, 393275, 0, 196616, 393276, 0, 196617, 393277, 0, 196617, 393278, 0, 196617, 393279, 0, 196617, 393280, 0, 196617, 393281, 0, 196619, 393318, 0, 65544, 393319, 0, 131081, 393320, 0, 131081, 393321, 0, 131081, 393322, 0, 131083, 524287, 0, 65544, 458752, 0, 131083, 458854, 0, 65544, 458855, 0, 131081, 458856, 0, 131081, 458857, 0, 131081, 458858, 0, 131083, 589823, 0, 65544, 524288, 0, 131083, 524335, 0, 0, 524390, 0, 65544, 524391, 0, 131081, 524392, 0, 131081, 524393, 0, 131081, 524394, 0, 131083, 655359, 0, 65544, 589824, 0, 131083, 589871, 0, 65536, 589926, 0, 65544, 589927, 0, 131081, 589928, 0, 131081, 589929, 0, 131081, 589930, 0, 131083, 720895, 0, 65544, 655360, 0, 131083, 655407, 0, 131072, 655419, 0, 8, 655420, 0, 11, 655425, 0, 8, 655426, 0, 11, 655462, 0, 65544, 655463, 0, 131081, 655464, 0, 131081, 655465, 0, 131081, 655466, 0, 131083, 786431, 0, 65544, 720896, 0, 131083, 720954, 0, 8, 720955, 0, 65541, 720956, 0, 131083, 720961, 0, 65544, 720962, 0, 65542, 720963, 0, 11, 720998, 0, 65544, 720999, 0, 131081, 721000, 0, 131081, 721001, 0, 131081, 721002, 0, 131083, 851967, 0, 65544, 786432, 0, 131083, 786479, 0, 0, 786489, 0, 8, 786490, 0, 65541, 786491, 0, 131081, 786492, 0, 131083, 786497, 0, 65544, 786498, 0, 131081, 786499, 0, 65542, 786500, 0, 11, 786534, 0, 196616, 786535, 0, 196617, 786536, 0, 196617, 786537, 0, 196617, 786538, 0, 196619, 917503, 0, 65544, 851968, 0, 131083, 852002, 0, 8, 852003, 0, 10, 852004, 0, 10, 852005, 0, 10, 852006, 0, 10, 852007, 0, 10, 852008, 0, 10, 852009, 0, 10, 852010, 0, 10, 852011, 0, 10, 852012, 0, 10, 852013, 0, 11, 852015, 0, 65536, 852017, 0, 8, 852018, 0, 10, 852019, 0, 10, 852020, 0, 10, 852021, 0, 10, 852022, 0, 10, 852023, 0, 10, 852024, 0, 10, 852025, 0, 65541, 852026, 0, 131081, 852027, 0, 131081, 852028, 0, 65542, 852029, 0, 10, 852030, 0, 10, 852031, 0, 10, 852032, 0, 10, 852033, 0, 65541, 852034, 0, 131081, 852035, 0, 131081, 852036, 0, 65542, 852037, 0, 11, 852102, 0, 8, 852103, 0, 10, 852104, 0, 10, 852105, 0, 10, 852106, 0, 10, 852107, 0, 11, 983039, 0, 65544, 917504, 0, 65542, 917505, 0, 10, 917506, 0, 10, 917507, 0, 10, 917508, 0, 10, 917509, 0, 10, 917510, 0, 10, 917511, 0, 10, 917512, 0, 10, 917513, 0, 10, 917514, 0, 10, 917515, 0, 10, 917516, 0, 10, 917517, 0, 10, 917518, 0, 10, 917519, 0, 10, 917520, 0, 10, 917521, 0, 10, 917522, 0, 10, 917523, 0, 10, 917524, 0, 10, 917525, 0, 10, 917526, 0, 10, 917527, 0, 10, 917528, 0, 10, 917529, 0, 10, 917530, 0, 10, 917531, 0, 10, 917532, 0, 10, 917533, 0, 10, 917534, 0, 10, 917535, 0, 10, 917536, 0, 10, 917537, 0, 10, 917538, 0, 65541, 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, 917551, 0, 65536, 917553, 0, 65544, 917554, 0, 131081, 917555, 0, 131081, 917556, 0, 131081, 917557, 0, 131081, 917558, 0, 131081, 917559, 0, 131081, 917560, 0, 131081, 917561, 0, 131081, 917562, 0, 131081, 917563, 0, 131081, 917564, 0, 131081, 917565, 0, 131081, 917566, 0, 131081, 917567, 0, 131081, 917568, 0, 131081, 917569, 0, 131081, 917570, 0, 131081, 917571, 0, 131081, 917572, 0, 131081, 917573, 0, 65542, 917574, 0, 10, 917575, 0, 10, 917576, 0, 10, 917577, 0, 10, 917578, 0, 10, 917579, 0, 10, 917580, 0, 10, 917581, 0, 10, 917582, 0, 10, 917583, 0, 10, 917584, 0, 11, 917590, 0, 8, 917591, 0, 10, 917592, 0, 10, 917593, 0, 10, 917594, 0, 10, 917595, 0, 11, 917611, 0, 8, 917612, 0, 10, 917613, 0, 10, 917614, 0, 10, 917615, 0, 10, 917616, 0, 10, 917617, 0, 10, 917618, 0, 10, 917619, 0, 10, 917620, 0, 10, 917621, 0, 10, 917622, 0, 10, 917623, 0, 10, 917624, 0, 11, 917626, 0, 8, 917627, 0, 10, 917628, 0, 10, 917629, 0, 10, 917630, 0, 10, 917631, 0, 10, 917632, 0, 10, 917633, 0, 10, 917634, 0, 10, 917635, 0, 10, 917636, 0, 11, 917638, 0, 196616, 917639, 0, 196617, 917640, 0, 196617, 917641, 0, 196617, 917642, 0, 196617, 917643, 0, 196619, 1048575, 0, 196616, 983040, 0, 196617, 983041, 0, 196617, 983042, 0, 196617, 983043, 0, 196617, 983044, 0, 196617, 983045, 0, 196617, 983046, 0, 196617, 983047, 0, 196617, 983048, 0, 196617, 983049, 0, 196617, 983050, 0, 196617, 983051, 0, 196617, 983052, 0, 196617, 983053, 0, 196617, 983054, 0, 196617, 983055, 0, 196617, 983056, 0, 196617, 983057, 0, 196617, 983058, 0, 196617, 983059, 0, 196617, 983060, 0, 196617, 983061, 0, 196617, 983062, 0, 196617, 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, 983087, 0, 131072, 983089, 0, 196616, 983090, 0, 196617, 983091, 0, 196617, 983092, 0, 196617, 983093, 0, 196617, 983094, 0, 196617, 983095, 0, 196617, 983096, 0, 196617, 983097, 0, 196617, 983098, 0, 196617, 983099, 0, 196617, 983100, 0, 196617, 983101, 0, 196617, 983102, 0, 196617, 983103, 0, 196617, 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, 196617, 983115, 0, 196617, 983116, 0, 196617, 983117, 0, 196617, 983118, 0, 196617, 983119, 0, 196617, 983120, 0, 196619, 983126, 0, 196616, 983127, 0, 196617, 983128, 0, 196617, 983129, 0, 196617, 983130, 0, 196617, 983131, 0, 196619, 983147, 0, 196616, 983148, 0, 196617, 983149, 0, 196617, 983150, 0, 196617, 983151, 0, 196617, 983152, 0, 196617, 983153, 0, 196617, 983154, 0, 196617, 983155, 0, 196617, 983156, 0, 196617, 983157, 0, 196617, 983158, 0, 196617, 983159, 0, 196617, 983160, 0, 196619, 983162, 0, 196616, 983163, 0, 196617, 983164, 0, 196617, 983165, 0, 196617, 983166, 0, 196617, 983167, 0, 196617, 983168, 0, 196617, 983169, 0, 196617, 983170, 0, 196617, 983171, 0, 196617, 983172, 0, 196619, 983184, 0, 196609, 983185, 0, 196610, 983186, 0, 196611 ) + +[node name="TileMap2" type="TileMap" parent="." groups=[ +"Tilemap", +]] +visible = false +tile_set = ExtResource( 2 ) +cell_size = Vector2( 16, 16 ) +collision_layer = 0 +collision_mask = 0 +format = 1 +tile_data = PoolIntArray( 720993, 0, 1, 720994, 0, 196611, 720996, 0, 196609, 720997, 0, 196611, 786529, 0, 65536, 852062, 0, 0, 852065, 0, 65536, 917598, 0, 65536, 917601, 0, 65540, 917602, 0, 10, 917603, 0, 10, 917604, 0, 10, 917605, 0, 10, 917606, 0, 10, 917607, 0, 10, 917608, 0, 10, 917609, 0, 10, 917610, 0, 11, 983134, 0, 131072, 983137, 0, 196616, 983138, 0, 196617, 983139, 0, 196617, 983140, 0, 196617, 983141, 0, 196617, 983142, 0, 196617, 983143, 0, 196617, 983144, 0, 196617, 983145, 0, 196617, 983146, 0, 196619 ) +script = ExtResource( 9 ) + +[node name="AnimationPlayer" type="AnimationPlayer" parent="TileMap2"] +"anims/Appearing Platform" = ExtResource( 12 ) [node name="Player" parent="." instance=ExtResource( 1 )] -position = Vector2( 80, 222 ) +position = Vector2( 1198, 204 ) [node name="Enemies" type="Node" parent="."] @@ -40,16 +86,61 @@ position = Vector2( 614, 192 ) [node name="Skeleton Enemy" parent="Enemies" instance=ExtResource( 7 )] position = Vector2( 349, 212 ) -[node name="Ogre2" parent="Enemies" instance=ExtResource( 5 )] -position = Vector2( 207, 221 ) - [node name="Skeleton Enemy2" parent="Enemies" instance=ExtResource( 7 )] position = Vector2( 761, 120 ) +[node name="Ogre3" parent="Enemies" instance=ExtResource( 5 )] +position = Vector2( 988, 205 ) + +[node name="Ogre4" parent="Enemies" instance=ExtResource( 5 )] +position = Vector2( 1010, 205 ) + +[node name="Ogre5" parent="Enemies" instance=ExtResource( 5 )] +position = Vector2( 1029, 205 ) + +[node name="Ogre2" parent="Enemies" instance=ExtResource( 5 )] +position = Vector2( 409, 220 ) + +[node name="Ogre6" parent="Enemies" instance=ExtResource( 5 )] +position = Vector2( 2047, 216 ) + +[node name="Skeleton Enemy3" parent="Enemies" instance=ExtResource( 7 )] +position = Vector2( 1825, 214 ) + [node name="Area2D" type="Area2D" parent="."] script = ExtResource( 3 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] -position = Vector2( 635, 361 ) +position = Vector2( 1380, 350 ) shape = SubResource( 1 ) + +[node name="TileMap3" type="TileMap" parent="."] +tile_set = ExtResource( 2 ) +cell_size = Vector2( 16, 16 ) +format = 1 +tile_data = PoolIntArray( 131145, 0, 0, 131173, 0, 0, 196681, 0, 65536, 196709, 0, 65536, 262217, 0, 65536, 262245, 0, 65536, 327753, 0, 65536, 327781, 0, 65536, 393289, 0, 65536, 393317, 0, 65536, 458825, 0, 131073, 458826, 0, 196610, 458827, 0, 196610, 458828, 0, 196610, 458829, 0, 196610, 458830, 0, 196610, 458831, 0, 196610, 458832, 0, 196610, 458833, 0, 196610, 458834, 0, 196610, 458835, 0, 196610, 458836, 0, 196610, 458837, 0, 196610, 458838, 0, 196610, 458839, 0, 196610, 458840, 0, 196610, 458841, 0, 196610, 458842, 0, 196610, 458843, 0, 196610, 458844, 0, 196610, 458845, 0, 196610, 458846, 0, 196610, 458847, 0, 196610, 458848, 0, 196610, 458849, 0, 196610, 458850, 0, 196610, 458851, 0, 196610, 458852, 0, 196610, 458853, 0, 131075 ) +script = ExtResource( 11 ) + +[node name="Node" type="Node" parent="."] + +[node name="Demon2" parent="Node" instance=ExtResource( 4 )] +position = Vector2( 1273, 97 ) + +[node name="Demon5" parent="Node" instance=ExtResource( 4 )] +position = Vector2( 1276, 42 ) + +[node name="Ogre6" parent="Node" instance=ExtResource( 5 )] +position = Vector2( 1198, 107 ) + +[node name="Ogre7" parent="Node" instance=ExtResource( 5 )] +position = Vector2( 1388, 109 ) + +[node name="Skeleton Enemy3" parent="Node" instance=ExtResource( 7 )] +position = Vector2( 1462, 99 ) + +[node name="Skeleton Enemy4" parent="Node" instance=ExtResource( 7 )] +position = Vector2( 1321, 101 ) +[connection signal="off" from="Lever" to="TileMap2" method="_on_Lever_off"] +[connection signal="on" from="Lever" to="TileMap3" method="_on_Lever_on"] +[connection signal="on" from="Lever" to="TileMap2" method="_on_Lever_on"] [connection signal="body_entered" from="Area2D" to="Area2D" method="_on_Area2D_body_entered"] diff --git a/levels/Campaign/Level 3/TileMap2.gd b/levels/Campaign/Level 3/TileMap2.gd new file mode 100644 index 0000000..4bc9719 --- /dev/null +++ b/levels/Campaign/Level 3/TileMap2.gd @@ -0,0 +1,8 @@ +extends TileMap + +func _on_Lever_on(): + $AnimationPlayer.play("Appearing Platform") + + +func _on_Lever_off(): + queue_free() diff --git a/levels/Campaign/Level 3/TileMap3.gd b/levels/Campaign/Level 3/TileMap3.gd new file mode 100644 index 0000000..ac8ffbd --- /dev/null +++ b/levels/Campaign/Level 3/TileMap3.gd @@ -0,0 +1,6 @@ +extends TileMap + + + +func _on_Lever_on(): + queue_free()