From 5307c54d10c18b0bbb732cb4b0d875298d9ef8aa Mon Sep 17 00:00:00 2001 From: Logan Date: Thu, 23 Jul 2020 14:43:42 -0500 Subject: [PATCH] Level 3 Polished --- Music and Fonts(Misc.)/Ogre Hit.tres | 2 +- Music and Fonts(Misc.)/Ogre Run.tres | 2 +- ai/Scenes/Demon.tscn | 2 +- ai/Scenes/Skeleton Enemy.tscn | 2 +- ai/Scenes/ogre.tscn | 13 +- ai/Script/Demon.gd | 2 +- ai/Script/ogre.gd | 13 +- levels/Campaign/Level 2/Level 2.tscn | 113 ++++------- levels/Campaign/Level 3/DisappearingTiles.gd | 4 + levels/Campaign/Level 3/Level 3.tscn | 197 ++++++++++--------- levels/Campaign/Level 3/TileMap3.gd | 3 +- magic/Beams/PhantomBeam.tscn | 2 +- magic/Projectiles/PhantomProjectile.gd | 3 +- magic/Projectiles/PhantomProjectile.tscn | 4 +- magic/Projectiles/Projectile.gd | 3 +- magic/Wands/PrismWand.gd | 3 + 16 files changed, 183 insertions(+), 185 deletions(-) create mode 100644 levels/Campaign/Level 3/DisappearingTiles.gd diff --git a/Music and Fonts(Misc.)/Ogre Hit.tres b/Music and Fonts(Misc.)/Ogre Hit.tres index 924ad64..2569597 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("../Ogre/Skeleton Enemy3:modulate") +tracks/0/path = NodePath("Sprite: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 d208329..ae36629 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/Skeleton Enemy3:frame") +tracks/0/path = NodePath("Sprite:frame") 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 917ed83..f5a2c15 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 = 15 +collision_mask = 7 script = ExtResource( 2 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] diff --git a/ai/Scenes/Skeleton Enemy.tscn b/ai/Scenes/Skeleton Enemy.tscn index 47ef291..2aeb3ce 100644 --- a/ai/Scenes/Skeleton Enemy.tscn +++ b/ai/Scenes/Skeleton Enemy.tscn @@ -26,7 +26,7 @@ tracks/0/keys = { [node name="Skeleton Enemy" type="KinematicBody2D"] collision_layer = 4 -collision_mask = 15 +collision_mask = 7 script = ExtResource( 1 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] diff --git a/ai/Scenes/ogre.tscn b/ai/Scenes/ogre.tscn index e4217ee..b5c6f86 100644 --- a/ai/Scenes/ogre.tscn +++ b/ai/Scenes/ogre.tscn @@ -5,8 +5,8 @@ [ext_resource path="res://Music and Fonts(Misc.)/Ogre Hit.tres" type="Animation" id=3] [ext_resource path="res://Music and Fonts(Misc.)/Ogre Run.tres" type="Animation" id=4] -[sub_resource type="CapsuleShape2D" id=1] -height = 4.0 +[sub_resource type="RectangleShape2D" id=3] +extents = Vector2( 10, 11 ) [sub_resource type="CapsuleShape2D" id=2] radius = 12.0 @@ -14,19 +14,18 @@ height = 6.0 [node name="Ogre" type="KinematicBody2D"] collision_layer = 4 -collision_mask = 2147483663 +collision_mask = 2147483655 script = ExtResource( 1 ) [node name="Sprite" type="Sprite" parent="."] position = Vector2( 0, -17 ) texture = ExtResource( 2 ) hframes = 4 -frame = 3 +frame = 2 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] -visible = false -position = Vector2( 1, -12 ) -shape = SubResource( 1 ) +position = Vector2( 1, -11 ) +shape = SubResource( 3 ) [node name="DamageCD" type="Timer" parent="."] wait_time = 0.5 diff --git a/ai/Script/Demon.gd b/ai/Script/Demon.gd index 7fefddb..6af6d9c 100644 --- a/ai/Script/Demon.gd +++ b/ai/Script/Demon.gd @@ -23,7 +23,7 @@ func _physics_process(_delta): PlayerRaycast.cast_to = player_position - global_position var collider = PlayerRaycast.get_collider() - if dist <= 200: + if dist >= 200: if collider != null && collider.has_method("get_type") && collider.get_type() == "player": shoot_fireball(position.direction_to(player_position)) diff --git a/ai/Script/ogre.gd b/ai/Script/ogre.gd index d064fbe..621b01e 100644 --- a/ai/Script/ogre.gd +++ b/ai/Script/ogre.gd @@ -1,12 +1,14 @@ extends Enemy var contact_damage = 0.5 +export var stationary: bool = false onready var Spr = $Sprite onready var DamageCD = $DamageCD onready var Hurtbox = $Area2D func _ready(): + gravity = 100 speed = 50 health = 5 @@ -19,18 +21,23 @@ func _physics_process(delta): return var player = Player.position var distance = global_position.distance_to(player) - if distance <= 200: + if distance <= 200 and is_on_floor(): if player.x > global_position.x: Spr.flip_h = false velocity.x = speed elif player.x < global_position.x: Spr.flip_h = true velocity.x = -speed + if stationary: + velocity.x = 0 if health <= 0: queue_free() if not is_on_floor(): - velocity.y = 50 - velocity = move_and_slide(velocity) + velocity.y = gravity + if is_on_floor() and is_on_wall(): + velocity.y = -100 + print("jump") + velocity = move_and_slide(velocity, Vector2.UP) deal_damage() func deal_damage(): diff --git a/levels/Campaign/Level 2/Level 2.tscn b/levels/Campaign/Level 2/Level 2.tscn index 43e4597..6973a07 100644 --- a/levels/Campaign/Level 2/Level 2.tscn +++ b/levels/Campaign/Level 2/Level 2.tscn @@ -3,20 +3,21 @@ [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://objects/torch.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] [ext_resource path="res://objects/Door.tscn" type="PackedScene" id=8] [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 1810, 13 ) +[sub_resource type="RectangleShape2D" id=2] +extents = Vector2( 7, 39 ) + [node name="Level 2" type="Node"] [node name="Door" parent="." instance=ExtResource( 8 )] -position = Vector2( 2246, 144 ) -next_scene = "res://levels/Campaign/Level 3/Level 3.tscn" +position = Vector2( 896, 64 ) [node name="door" type="Sprite" parent="."] position = Vector2( 16, 161 ) @@ -31,80 +32,52 @@ cell_size = Vector2( 16, 16 ) collision_layer = 2 collision_mask = 0 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, 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, 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, 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, 131078, 118, 0, 196617, 119, 0, 196617, 120, 0, 196617, 121, 0, 196617, 122, 0, 196617, 123, 0, 196617, 124, 0, 196617, 125, 0, 196617, 126, 0, 196617, 127, 0, 196617, 128, 0, 196617, 129, 0, 196617, 130, 0, 196617, 131, 0, 196617, 132, 0, 196617, 133, 0, 196617, 134, 0, 196617, 135, 0, 196617, 136, 0, 196617, 137, 0, 196617, 138, 0, 196617, 139, 0, 196617, 140, 0, 196617, 141, 0, 196617, 142, 0, 196617, 143, 0, 131077, 144, 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, 196617, 65601, 0, 196617, 65602, 0, 196617, 65603, 0, 196617, 65604, 0, 196617, 65605, 0, 196617, 65606, 0, 196617, 65607, 0, 196617, 65608, 0, 196617, 65609, 0, 196617, 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, 196617, 65638, 0, 196617, 65639, 0, 196617, 65640, 0, 196617, 65641, 0, 196617, 65642, 0, 196617, 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, 131077, 65653, 0, 131083, 65679, 0, 65544, 65680, 0, 131083, 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, 131188, 0, 65544, 131189, 0, 65547, 131190, 0, 196611, 131215, 0, 65544, 131216, 0, 131083, 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, 196724, 0, 65544, 196725, 0, 131083, 196751, 0, 65544, 196752, 0, 131083, 327677, 0, 65544, 327678, 0, 131081, 327679, 0, 131083, 262191, 0, 65544, 262192, 0, 131081, 262193, 0, 131081, 262194, 0, 131078, 262195, 0, 196619, 262260, 0, 65544, 262261, 0, 65547, 262262, 0, 196611, 262287, 0, 65544, 262288, 0, 131083, 393213, 0, 65544, 393214, 0, 131081, 393215, 0, 131083, 327727, 0, 65544, 327728, 0, 131081, 327729, 0, 131078, 327730, 0, 196619, 327796, 0, 65544, 327797, 0, 131083, 327823, 0, 65544, 327824, 0, 131083, 458749, 0, 65544, 458750, 0, 131081, 458751, 0, 131083, 393263, 0, 65544, 393264, 0, 131078, 393265, 0, 196619, 393332, 0, 65544, 393333, 0, 65547, 393334, 0, 196611, 393359, 0, 65544, 393360, 0, 131083, 524285, 0, 65544, 524286, 0, 131081, 524287, 0, 131083, 458799, 0, 196616, 458800, 0, 196619, 458868, 0, 65544, 458869, 0, 131083, 458895, 0, 65544, 458896, 0, 131083, 589821, 0, 65544, 589822, 0, 131081, 589823, 0, 131083, 524404, 0, 65544, 524405, 0, 65547, 524406, 0, 196611, 524431, 0, 65544, 524432, 0, 131083, 655357, 0, 65544, 655358, 0, 131081, 655359, 0, 131083, 589866, 0, 0, 589940, 0, 196616, 589941, 0, 196619, 589967, 0, 65544, 589968, 0, 131083, 720893, 0, 65544, 720894, 0, 131081, 720895, 0, 131083, 655395, 0, 0, 655400, 0, 0, 655402, 0, 65536, 655503, 0, 65544, 655504, 0, 131083, 786429, 0, 65544, 786430, 0, 131081, 786431, 0, 65542, 720896, 0, 10, 720897, 0, 10, 720898, 0, 10, 720899, 0, 10, 720900, 0, 10, 720901, 0, 10, 720902, 0, 10, 720903, 0, 10, 720904, 0, 10, 720905, 0, 10, 720906, 0, 10, 720907, 0, 10, 720908, 0, 10, 720909, 0, 10, 720910, 0, 10, 720911, 0, 10, 720912, 0, 10, 720913, 0, 10, 720914, 0, 10, 720915, 0, 10, 720916, 0, 10, 720917, 0, 10, 720918, 0, 10, 720919, 0, 10, 720920, 0, 10, 720921, 0, 10, 720922, 0, 10, 720923, 0, 10, 720924, 0, 10, 720925, 0, 11, 720928, 0, 0, 720931, 0, 65536, 720934, 0, 0, 720936, 0, 65536, 720938, 0, 65536, 720940, 0, 0, 720943, 0, 8, 720944, 0, 10, 720945, 0, 10, 720946, 0, 10, 720947, 0, 10, 720948, 0, 10, 720949, 0, 10, 720950, 0, 10, 720951, 0, 10, 720952, 0, 10, 720953, 0, 10, 720954, 0, 10, 720955, 0, 10, 720956, 0, 10, 720957, 0, 10, 720958, 0, 10, 720959, 0, 10, 720960, 0, 10, 720961, 0, 10, 720962, 0, 10, 720963, 0, 10, 720964, 0, 10, 720965, 0, 10, 720966, 0, 10, 720967, 0, 10, 720968, 0, 10, 720969, 0, 10, 720970, 0, 10, 720971, 0, 10, 720972, 0, 10, 720973, 0, 10, 720974, 0, 10, 720975, 0, 11, 720982, 0, 8, 720983, 0, 10, 720984, 0, 10, 720985, 0, 10, 720986, 0, 10, 720987, 0, 10, 720988, 0, 10, 720989, 0, 10, 720990, 0, 11, 720992, 0, 8, 720993, 0, 10, 720994, 0, 10, 720995, 0, 10, 720996, 0, 10, 720997, 0, 10, 720998, 0, 10, 720999, 0, 10, 721000, 0, 10, 721001, 0, 10, 721002, 0, 10, 721003, 0, 10, 721004, 0, 10, 721005, 0, 10, 721006, 0, 10, 721007, 0, 10, 721008, 0, 10, 721009, 0, 10, 721010, 0, 10, 721011, 0, 10, 721012, 0, 10, 721013, 0, 10, 721014, 0, 10, 721015, 0, 10, 721016, 0, 10, 721017, 0, 10, 721018, 0, 10, 721019, 0, 10, 721020, 0, 10, 721021, 0, 10, 721022, 0, 10, 721023, 0, 10, 721024, 0, 10, 721025, 0, 10, 721026, 0, 10, 721027, 0, 10, 721028, 0, 10, 721029, 0, 10, 721030, 0, 10, 721031, 0, 10, 721032, 0, 10, 721033, 0, 10, 721034, 0, 10, 721035, 0, 10, 721036, 0, 10, 721037, 0, 10, 721038, 0, 10, 721039, 0, 65541, 721040, 0, 131083, 851965, 0, 196616, 851966, 0, 196617, 851967, 0, 196617, 786432, 0, 196617, 786433, 0, 196617, 786434, 0, 196617, 786435, 0, 196617, 786436, 0, 196617, 786437, 0, 196617, 786438, 0, 196617, 786439, 0, 196617, 786440, 0, 196617, 786441, 0, 196617, 786442, 0, 196617, 786443, 0, 196617, 786444, 0, 196617, 786445, 0, 196617, 786446, 0, 196617, 786447, 0, 196617, 786448, 0, 196617, 786449, 0, 196617, 786450, 0, 196617, 786451, 0, 196617, 786452, 0, 196617, 786453, 0, 196617, 786454, 0, 196617, 786455, 0, 196617, 786456, 0, 196617, 786457, 0, 196617, 786458, 0, 196617, 786459, 0, 196617, 786460, 0, 196617, 786461, 0, 196619, 786464, 0, 131072, 786467, 0, 131072, 786470, 0, 131072, 786472, 0, 131072, 786474, 0, 131072, 786476, 0, 131072, 786479, 0, 196616, 786480, 0, 196617, 786481, 0, 196617, 786482, 0, 196617, 786483, 0, 196617, 786484, 0, 196617, 786485, 0, 196617, 786486, 0, 196617, 786487, 0, 196617, 786488, 0, 196617, 786489, 0, 196617, 786490, 0, 196617, 786491, 0, 196617, 786492, 0, 196617, 786493, 0, 196617, 786494, 0, 196617, 786495, 0, 196617, 786496, 0, 196617, 786497, 0, 196617, 786498, 0, 196617, 786499, 0, 196617, 786500, 0, 196617, 786501, 0, 196617, 786502, 0, 196617, 786503, 0, 196617, 786504, 0, 196617, 786505, 0, 196617, 786506, 0, 196617, 786507, 0, 196617, 786508, 0, 196617, 786509, 0, 196617, 786510, 0, 196617, 786511, 0, 196619, 786518, 0, 196616, 786519, 0, 196617, 786520, 0, 196617, 786521, 0, 196617, 786522, 0, 196617, 786523, 0, 196617, 786524, 0, 196617, 786525, 0, 196617, 786526, 0, 196619, 786528, 0, 196616, 786529, 0, 196617, 786530, 0, 196617, 786531, 0, 196617, 786532, 0, 196617, 786533, 0, 196617, 786534, 0, 196617, 786535, 0, 196617, 786536, 0, 196617, 786537, 0, 196617, 786538, 0, 196617, 786539, 0, 196617, 786540, 0, 196617, 786541, 0, 196617, 786542, 0, 196617, 786543, 0, 196617, 786544, 0, 196617, 786545, 0, 196617, 786546, 0, 196617, 786547, 0, 196617, 786548, 0, 196617, 786549, 0, 196617, 786550, 0, 196617, 786551, 0, 196617, 786552, 0, 196617, 786553, 0, 196617, 786554, 0, 196617, 786555, 0, 196617, 786556, 0, 196617, 786557, 0, 196617, 786558, 0, 196617, 786559, 0, 196617, 786560, 0, 196617, 786561, 0, 196617, 786562, 0, 196617, 786563, 0, 196617, 786564, 0, 196617, 786565, 0, 196617, 786566, 0, 196617, 786567, 0, 196617, 786568, 0, 196617, 786569, 0, 196617, 786570, 0, 196617, 786571, 0, 196617, 786572, 0, 196617, 786573, 0, 196617, 786574, 0, 196617, 786575, 0, 196617, 786576, 0, 196619 ) +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, 131081, 458773, 0, 131081, 458774, 0, 131081, 458775, 0, 131081, 458776, 0, 131081, 458777, 0, 131081, 458778, 0, 131081, 458779, 0, 131081, 458780, 0, 131081, 458781, 0, 131083, 458783, 0, 8, 458784, 0, 11, 458787, 0, 65544, 458788, 0, 131083, 458792, 0, 8, 458793, 0, 11, 458802, 0, 65544, 458803, 0, 131081, 458804, 0, 131081, 458805, 0, 131081, 458806, 0, 131081, 458807, 0, 131081, 458808, 0, 131081, 458809, 0, 131081, 458810, 0, 131081, 458811, 0, 131081, 458812, 0, 131083, 589821, 0, 65544, 589822, 0, 131081, 589823, 0, 131083, 524304, 0, 8, 524305, 0, 65541, 524306, 0, 131081, 524307, 0, 131081, 524308, 0, 131081, 524309, 0, 131081, 524310, 0, 131081, 524311, 0, 131081, 524312, 0, 131081, 524313, 0, 131081, 524314, 0, 131081, 524315, 0, 131081, 524316, 0, 131081, 524317, 0, 131083, 524319, 0, 65544, 524320, 0, 131083, 524323, 0, 65544, 524324, 0, 131083, 524328, 0, 65544, 524329, 0, 131083, 524334, 0, 8, 524335, 0, 11, 524338, 0, 65544, 524339, 0, 131081, 524340, 0, 131081, 524341, 0, 131081, 524342, 0, 131081, 524343, 0, 131081, 524344, 0, 131081, 524345, 0, 131081, 524346, 0, 131081, 524347, 0, 131081, 524348, 0, 131083, 655357, 0, 65544, 655358, 0, 131081, 655359, 0, 131083, 589839, 0, 8, 589840, 0, 65541, 589841, 0, 131081, 589842, 0, 131081, 589843, 0, 131081, 589844, 0, 131081, 589845, 0, 131081, 589846, 0, 131081, 589847, 0, 131081, 589848, 0, 131081, 589849, 0, 131081, 589850, 0, 131081, 589851, 0, 131081, 589852, 0, 131081, 589853, 0, 65542, 589854, 0, 10, 589855, 0, 65541, 589856, 0, 65542, 589857, 0, 10, 589858, 0, 10, 589859, 0, 65541, 589860, 0, 65542, 589861, 0, 10, 589862, 0, 10, 589863, 0, 10, 589864, 0, 65541, 589865, 0, 131083, 589870, 0, 65544, 589871, 0, 131083, 589874, 0, 65544, 589875, 0, 131081, 589876, 0, 131081, 589877, 0, 131081, 589878, 0, 131081, 589879, 0, 131081, 589880, 0, 131081, 589881, 0, 131081, 589882, 0, 131081, 589883, 0, 131081, 589884, 0, 131083, 720893, 0, 65544, 720894, 0, 131081, 720895, 0, 131083, 655374, 0, 8, 655375, 0, 65541, 655376, 0, 131081, 655377, 0, 131081, 655378, 0, 131081, 655379, 0, 131081, 655380, 0, 131081, 655381, 0, 131081, 655382, 0, 131081, 655383, 0, 131081, 655384, 0, 131081, 655385, 0, 131081, 655386, 0, 131081, 655387, 0, 131081, 655388, 0, 131081, 655389, 0, 131081, 655390, 0, 131081, 655391, 0, 131081, 655392, 0, 131081, 655393, 0, 131081, 655394, 0, 131081, 655395, 0, 131081, 655396, 0, 131081, 655397, 0, 131081, 655398, 0, 131081, 655399, 0, 131081, 655400, 0, 131081, 655401, 0, 65542, 655402, 0, 10, 655403, 0, 10, 655404, 0, 10, 655405, 0, 10, 655406, 0, 65541, 655407, 0, 65542, 655408, 0, 10, 655409, 0, 10, 655410, 0, 65541, 655411, 0, 131081, 655412, 0, 131081, 655413, 0, 131081, 655414, 0, 131081, 655415, 0, 131081, 655416, 0, 131081, 655417, 0, 131081, 655418, 0, 131081, 655419, 0, 131081, 655420, 0, 131083, 786429, 0, 65544, 786430, 0, 131081, 786431, 0, 65542, 720896, 0, 10, 720897, 0, 10, 720898, 0, 10, 720899, 0, 10, 720900, 0, 10, 720901, 0, 10, 720902, 0, 10, 720903, 0, 10, 720904, 0, 10, 720905, 0, 10, 720906, 0, 10, 720907, 0, 10, 720908, 0, 10, 720909, 0, 10, 720910, 0, 65541, 720911, 0, 131081, 720912, 0, 131081, 720913, 0, 131081, 720914, 0, 131081, 720915, 0, 131081, 720916, 0, 131081, 720917, 0, 131081, 720918, 0, 131081, 720919, 0, 131081, 720920, 0, 131081, 720921, 0, 131081, 720922, 0, 131081, 720923, 0, 131081, 720924, 0, 131081, 720925, 0, 131081, 720926, 0, 131081, 720927, 0, 131081, 720928, 0, 131081, 720929, 0, 131081, 720930, 0, 131081, 720931, 0, 131081, 720932, 0, 131081, 720933, 0, 131081, 720934, 0, 131081, 720935, 0, 131081, 720936, 0, 131081, 720937, 0, 131081, 720938, 0, 131081, 720939, 0, 131081, 720940, 0, 131081, 720941, 0, 131081, 720942, 0, 131081, 720943, 0, 131081, 720944, 0, 131081, 720945, 0, 131081, 720946, 0, 131081, 720947, 0, 131081, 720948, 0, 131081, 720949, 0, 131081, 720950, 0, 131081, 720951, 0, 131081, 720952, 0, 131081, 720953, 0, 131081, 720954, 0, 131081, 720955, 0, 131081, 720956, 0, 131083, 851965, 0, 65544, 851966, 0, 131081, 851967, 0, 131081, 786432, 0, 131081, 786433, 0, 131081, 786434, 0, 131081, 786435, 0, 131081, 786436, 0, 131081, 786437, 0, 131081, 786438, 0, 131081, 786439, 0, 131081, 786440, 0, 131081, 786441, 0, 131081, 786442, 0, 131081, 786443, 0, 131081, 786444, 0, 131081, 786445, 0, 131081, 786446, 0, 131081, 786447, 0, 131081, 786448, 0, 131081, 786449, 0, 131081, 786450, 0, 131081, 786451, 0, 131081, 786452, 0, 131081, 786453, 0, 131081, 786454, 0, 131081, 786455, 0, 131081, 786456, 0, 131081, 786457, 0, 131081, 786458, 0, 131081, 786459, 0, 131081, 786460, 0, 131081, 786461, 0, 131081, 786462, 0, 131081, 786463, 0, 131081, 786464, 0, 131081, 786465, 0, 131081, 786466, 0, 131081, 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, 131081, 786478, 0, 131081, 786479, 0, 131081, 786480, 0, 131081, 786481, 0, 131081, 786482, 0, 131081, 786483, 0, 131081, 786484, 0, 131081, 786485, 0, 131081, 786486, 0, 131081, 786487, 0, 131081, 786488, 0, 131081, 786489, 0, 131081, 786490, 0, 131081, 786491, 0, 131081, 786492, 0, 131083, 917501, 0, 196616, 917502, 0, 196617, 917503, 0, 196617, 851968, 0, 196617, 851969, 0, 196617, 851970, 0, 196617, 851971, 0, 196617, 851972, 0, 196617, 851973, 0, 196617, 851974, 0, 196617, 851975, 0, 196617, 851976, 0, 196617, 851977, 0, 196617, 851978, 0, 196617, 851979, 0, 196617, 851980, 0, 196617, 851981, 0, 196617, 851982, 0, 196617, 851983, 0, 196617, 851984, 0, 196617, 851985, 0, 196617, 851986, 0, 196617, 851987, 0, 196617, 851988, 0, 196617, 851989, 0, 196617, 851990, 0, 196617, 851991, 0, 196617, 851992, 0, 196617, 851993, 0, 196617, 851994, 0, 196617, 851995, 0, 196617, 851996, 0, 196617, 851997, 0, 196617, 851998, 0, 196617, 851999, 0, 196617, 852000, 0, 196617, 852001, 0, 196617, 852002, 0, 196617, 852003, 0, 196617, 852004, 0, 196617, 852005, 0, 196617, 852006, 0, 196617, 852007, 0, 196617, 852008, 0, 196617, 852009, 0, 196617, 852010, 0, 196617, 852011, 0, 196617, 852012, 0, 196617, 852013, 0, 196617, 852014, 0, 196617, 852015, 0, 196617, 852016, 0, 196617, 852017, 0, 196617, 852018, 0, 196617, 852019, 0, 196617, 852020, 0, 196617, 852021, 0, 196617, 852022, 0, 196617, 852023, 0, 196617, 852024, 0, 196617, 852025, 0, 196617, 852026, 0, 196617, 852027, 0, 196617, 852028, 0, 196619 ) -[node name="Skeleton Enemy" parent="TileMap" instance=ExtResource( 5 )] -position = Vector2( 1582, 161 ) +[node name="Node" type="Node" parent="."] + +[node name="torch" parent="Node" instance=ExtResource( 4 )] +position = Vector2( 64, 112 ) + +[node name="torch2" parent="Node" instance=ExtResource( 4 )] +position = Vector2( 208, 64 ) + +[node name="torch3" parent="Node" instance=ExtResource( 4 )] +position = Vector2( 400, 64 ) + +[node name="torch4" parent="Node" instance=ExtResource( 4 )] +position = Vector2( 608, 64 ) + +[node name="torch6" parent="Node" instance=ExtResource( 4 )] +position = Vector2( 880, 64 ) + +[node name="torch5" parent="Node" instance=ExtResource( 4 )] +position = Vector2( 752, 64 ) [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="Skeleton Enemy2" parent="Enemies" instance=ExtResource( 5 )] -position = Vector2( 1154, 165 ) - -[node name="Skeleton Enemy3" parent="Enemies" instance=ExtResource( 5 )] -position = Vector2( 1240, 167 ) - -[node name="Skeleton Enemy4" parent="Enemies" instance=ExtResource( 5 )] -position = Vector2( 1240, 167 ) - -[node name="Demon2" parent="Enemies" instance=ExtResource( 4 )] -position = Vector2( 1385, 167 ) - -[node name="Ogre3" parent="Enemies" instance=ExtResource( 6 )] -position = Vector2( 1660, 173 ) - -[node name="Demon3" parent="Enemies" instance=ExtResource( 4 )] -position = Vector2( 1896, 87 ) - -[node name="Demon4" parent="Enemies" instance=ExtResource( 4 )] -position = Vector2( 1896, 20 ) - -[node name="Ogre2" parent="Enemies" instance=ExtResource( 6 )] -position = Vector2( 1198, 169 ) - -[node name="Ogre4" parent="Enemies" instance=ExtResource( 6 )] -position = Vector2( 2162, 166 ) - -[node name="Ogre5" parent="Enemies" instance=ExtResource( 6 )] -position = Vector2( 2097, 167 ) - -[node name="Ogre6" parent="Enemies" instance=ExtResource( 6 )] -position = Vector2( 2209, 170 ) - -[node name="Ogre7" parent="Enemies" instance=ExtResource( 6 )] -position = Vector2( 2027, 168 ) - -[node name="Ogre8" parent="Enemies" instance=ExtResource( 6 )] -position = Vector2( 2054, 168 ) - -[node name="Ogre9" parent="Enemies" instance=ExtResource( 6 )] -position = Vector2( 2128, 167 ) - -[node name="Skeleton Enemy5" parent="Enemies" instance=ExtResource( 5 )] -position = Vector2( 1895, 120 ) - -[node name="Skeleton Enemy6" parent="Enemies" instance=ExtResource( 5 )] -position = Vector2( 1893, 55 ) - -[node name="Skeleton Enemy7" parent="Enemies" instance=ExtResource( 5 )] -position = Vector2( 1893, 55 ) - [node name="Area2D" type="Area2D" parent="."] script = ExtResource( 7 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] -position = Vector2( 1603, 241 ) +position = Vector2( 1610, 259 ) shape = SubResource( 1 ) + +[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 ) [connection signal="body_entered" from="Area2D" to="Area2D" method="_on_Area2D_body_entered"] diff --git a/levels/Campaign/Level 3/DisappearingTiles.gd b/levels/Campaign/Level 3/DisappearingTiles.gd new file mode 100644 index 0000000..f739d9b --- /dev/null +++ b/levels/Campaign/Level 3/DisappearingTiles.gd @@ -0,0 +1,4 @@ +extends TileMap + +func _on_Lever_on(): + queue_free() diff --git a/levels/Campaign/Level 3/Level 3.tscn b/levels/Campaign/Level 3/Level 3.tscn index 32949e9..a710132 100644 --- a/levels/Campaign/Level 3/Level 3.tscn +++ b/levels/Campaign/Level 3/Level 3.tscn @@ -1,111 +1,101 @@ -[gd_scene load_steps=16 format=2] +[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://ai/Scenes/Demon.tscn" type="PackedScene" id=4] -[ext_resource path="res://ai/Scenes/ogre.tscn" type="PackedScene" id=5] +[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/Skeleton Enemy.tscn" type="PackedScene" id=7] +[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://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://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://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( 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( 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 +position = Vector2( 416, 64 ) [node name="door" type="Sprite" parent="."] -position = Vector2( 32, 209 ) +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( -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 ) +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="TileMap2" type="TileMap" parent="." groups=[ -"Tilemap", -]] +[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( 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 ) +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="AnimationPlayer" type="AnimationPlayer" parent="TileMap2"] -"anims/Appearing Platform" = ExtResource( 12 ) +[node name="Lever" parent="." instance=ExtResource( 8 )] +position = Vector2( 1120, 72 ) [node name="Player" parent="." instance=ExtResource( 1 )] -position = Vector2( 1198, 204 ) - -[node name="Enemies" type="Node" parent="."] - -[node name="Demon" parent="Enemies" instance=ExtResource( 4 )] -position = Vector2( 537, 214 ) - -[node name="Ogre" parent="Enemies" instance=ExtResource( 5 )] -position = Vector2( 614, 192 ) - -[node name="Skeleton Enemy" parent="Enemies" instance=ExtResource( 7 )] -position = Vector2( 349, 212 ) - -[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 ) +position = Vector2( 481, 207 ) [node name="Area2D" type="Area2D" parent="."] script = ExtResource( 3 ) @@ -114,33 +104,52 @@ script = ExtResource( 3 ) 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="StaticBody2D" type="StaticBody2D" parent="."] +position = Vector2( 876, -65 ) +collision_layer = 0 +collision_mask = 4 -[node name="Node" type="Node" parent="."] +[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] +position = Vector2( -118, -9 ) +shape = SubResource( 2 ) -[node name="Demon2" parent="Node" instance=ExtResource( 4 )] -position = Vector2( 1273, 97 ) +[node name="CollisionShape2D2" type="CollisionShape2D" parent="StaticBody2D"] +position = Vector2( 110, -9 ) +shape = SubResource( 2 ) -[node name="Demon5" parent="Node" instance=ExtResource( 4 )] -position = Vector2( 1276, 42 ) +[node name="CollisionShape2D3" type="CollisionShape2D" parent="StaticBody2D"] +position = Vector2( 42, -9 ) +shape = SubResource( 2 ) -[node name="Ogre6" parent="Node" instance=ExtResource( 5 )] -position = Vector2( 1198, 107 ) +[node name="CollisionShape2D4" type="CollisionShape2D" parent="StaticBody2D"] +position = Vector2( -38, -9 ) +shape = SubResource( 2 ) -[node name="Ogre7" parent="Node" instance=ExtResource( 5 )] -position = Vector2( 1388, 109 ) +[node name="CollisionShape2D5" type="CollisionShape2D" parent="StaticBody2D"] +position = Vector2( 29, -9 ) +shape = SubResource( 2 ) -[node name="Skeleton Enemy3" parent="Node" instance=ExtResource( 7 )] -position = Vector2( 1462, 99 ) +[node name="CollisionShape2D6" type="CollisionShape2D" parent="StaticBody2D"] +position = Vector2( -49, -9 ) +shape = SubResource( 2 ) -[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"] +[node name="Demon" parent="StaticBody2D" instance=ExtResource( 10 )] +position = Vector2( -316, 225 ) + +[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 ) +[connection signal="on" from="Lever" to="TileMapAppearing" method="_on_Lever_on"] +[connection signal="on" from="Lever" to="TileMapDisapearing" method="_on_Lever_on"] [connection signal="body_entered" from="Area2D" to="Area2D" method="_on_Area2D_body_entered"] diff --git a/levels/Campaign/Level 3/TileMap3.gd b/levels/Campaign/Level 3/TileMap3.gd index ac8ffbd..e851621 100644 --- a/levels/Campaign/Level 3/TileMap3.gd +++ b/levels/Campaign/Level 3/TileMap3.gd @@ -3,4 +3,5 @@ extends TileMap func _on_Lever_on(): - queue_free() + collision_layer = 2 + visible = true diff --git a/magic/Beams/PhantomBeam.tscn b/magic/Beams/PhantomBeam.tscn index 40c3008..a53339f 100644 --- a/magic/Beams/PhantomBeam.tscn +++ b/magic/Beams/PhantomBeam.tscn @@ -29,7 +29,7 @@ collision_mask = 2 [node name="Area2D" type="Area2D" parent="."] monitorable = false collision_layer = 0 -collision_mask = 4 +collision_mask = 2147483652 [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] modulate = Color( 0.945313, 1, 0, 1 ) diff --git a/magic/Projectiles/PhantomProjectile.gd b/magic/Projectiles/PhantomProjectile.gd index db1b6a8..ada39df 100644 --- a/magic/Projectiles/PhantomProjectile.gd +++ b/magic/Projectiles/PhantomProjectile.gd @@ -12,4 +12,5 @@ func _on_body_entered(body): if body.get("health") != null: body.play_hit() body.health -= damage * damage_mod - + + diff --git a/magic/Projectiles/PhantomProjectile.tscn b/magic/Projectiles/PhantomProjectile.tscn index 59b1195..6355d5c 100644 --- a/magic/Projectiles/PhantomProjectile.tscn +++ b/magic/Projectiles/PhantomProjectile.tscn @@ -12,7 +12,7 @@ radius = 4.0 height = 7.99999 [node name="PhantomProjectile" type="KinematicBody2D"] -collision_layer = 8 +collision_layer = 2147483648 collision_mask = 2 script = ExtResource( 2 ) @@ -27,7 +27,7 @@ shape = SubResource( 1 ) [node name="Area2D" type="Area2D" parent="."] monitorable = false collision_layer = 0 -collision_mask = 4 +collision_mask = 2147483652 [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] rotation = 1.5708 diff --git a/magic/Projectiles/Projectile.gd b/magic/Projectiles/Projectile.gd index c27c265..1b4a60a 100644 --- a/magic/Projectiles/Projectile.gd +++ b/magic/Projectiles/Projectile.gd @@ -25,7 +25,7 @@ func get_wand_type(wand_id): Globals.Conduit2: is_triple = true print("triple") - var damage_mod = 0.75 + var damage_mod = 0.5 Globals.Conduit3: is_bounce = true print("bounce") @@ -48,6 +48,7 @@ func launch(wand, mod = 1): return energy_cost * energy_mod func on_impact(collision): + print(collision.collider) if collision.collider.has_method("get_type") && collision.collider.get_type() == "enemy": var c = collision.collider c.health -= damage * damage_mod diff --git a/magic/Wands/PrismWand.gd b/magic/Wands/PrismWand.gd index 7ec2290..69d5c59 100644 --- a/magic/Wands/PrismWand.gd +++ b/magic/Wands/PrismWand.gd @@ -42,6 +42,9 @@ func fire(projectile): return beam.energy_cost func _input(event): + if Player.energy <= 0: + for c in $ProjectileSpawn.get_children(): + c.deactivate() if event.is_action_released("shoot"): for c in $ProjectileSpawn.get_children(): c.deactivate()