diff --git a/Cutscenes/Intro.gd b/Cutscenes/Intro.gd index d042801..4c97a49 100644 --- a/Cutscenes/Intro.gd +++ b/Cutscenes/Intro.gd @@ -4,3 +4,8 @@ signal finished func finished(): emit_signal("finished") + +func _process(delta): + if Input.is_action_just_pressed("open"): + $AnimationPlayer.play("reset") + emit_signal("finished") diff --git a/Cutscenes/NewIntro.tscn b/Cutscenes/NewIntro.tscn index daacd27..5fd80e3 100644 --- a/Cutscenes/NewIntro.tscn +++ b/Cutscenes/NewIntro.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=10 format=2] +[gd_scene load_steps=12 format=2] [ext_resource path="res://art/Black.png" type="Texture" id=1] [ext_resource path="res://Music and Fonts(Misc.)/m5x7.tres" type="DynamicFontData" id=2] @@ -28,7 +28,62 @@ shader = SubResource( 3 ) size = 35 font_data = ExtResource( 2 ) -[sub_resource type="Animation" id=6] +[sub_resource type="DynamicFont" id=6] +font_data = ExtResource( 2 ) + +[sub_resource type="Animation" id=7] +resource_name = "reset" +length = 0.1 +tracks/0/type = "value" +tracks/0/path = NodePath("Black:self_modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 0 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Label:visible_characters") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ 0 ] +} +tracks/2/type = "value" +tracks/2/path = NodePath("Label2:visible_characters") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ 0 ] +} +tracks/3/type = "value" +tracks/3/path = NodePath("Label3:visible_characters") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ 0 ] +} + +[sub_resource type="Animation" id=8] length = 10.0 tracks/0/type = "value" tracks/0/path = NodePath("Label:visible_characters") @@ -129,9 +184,9 @@ __meta__ = { [node name="Label2" type="Label" parent="."] material = SubResource( 4 ) -margin_top = 118.0 +margin_top = 112.0 margin_right = 320.0 -margin_bottom = 161.0 +margin_bottom = 146.0 custom_fonts/font = SubResource( 5 ) custom_colors/font_color = Color( 1, 0, 0, 1 ) text = "The Crypt" @@ -142,6 +197,19 @@ __meta__ = { "_edit_use_anchors_": false } +[node name="Label3" type="Label" parent="."] +margin_top = 152.0 +margin_right = 320.0 +margin_bottom = 173.0 +custom_fonts/font = SubResource( 6 ) +text = "Press F to skip" +align = 1 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + [node name="AnimationPlayer" type="AnimationPlayer" parent="."] autoplay = "scroll" -anims/scroll = SubResource( 6 ) +anims/reset = SubResource( 7 ) +anims/scroll = SubResource( 8 ) diff --git a/art/Pillar.png b/art/Pillar.png new file mode 100644 index 0000000..fb7a879 Binary files /dev/null and b/art/Pillar.png differ diff --git a/levels/Campaign/Level 1/Level 1.tscn b/levels/Campaign/Level 1/Level 1.tscn index ea838a3..1135d74 100644 --- a/levels/Campaign/Level 1/Level 1.tscn +++ b/levels/Campaign/Level 1/Level 1.tscn @@ -14,8 +14,9 @@ [ext_resource path="res://levels/Campaign/Level 1/AnimationPlayer2.gd" type="Script" id=12] [ext_resource path="res://art/Black.tres" type="Animation" id=13] + [sub_resource type="DynamicFont" id=1] -font_data = ExtResource( 3 ) +font_data = ExtResource( 4 ) [sub_resource type="RectangleShape2D" id=2] extents = Vector2( 85, 8 ) @@ -41,21 +42,21 @@ font_data = ExtResource( 8 ) [node name="Level 1" type="Node"] -[node name="torch3" parent="." instance=ExtResource( 4 )] +[node name="torch3" parent="." instance=ExtResource( 9 )] position = Vector2( 62, 105 ) -[node name="torch7" parent="." instance=ExtResource( 4 )] +[node name="torch7" parent="." instance=ExtResource( 9 )] position = Vector2( 446, 105 ) -[node name="torch5" parent="." instance=ExtResource( 4 )] +[node name="torch5" parent="." instance=ExtResource( 9 )] position = Vector2( 318, 105 ) -[node name="torch2" parent="." instance=ExtResource( 4 )] +[node name="torch2" parent="." instance=ExtResource( 9 )] position = Vector2( 190, 105 ) [node name="door" type="Sprite" parent="."] position = Vector2( 31, 158 ) -texture = ExtResource( 5 ) +texture = ExtResource( 1 ) hframes = 2 [node name="Label" type="Label" parent="."] @@ -92,7 +93,7 @@ margin_top = 60.0 margin_right = 435.0 margin_bottom = 137.0 custom_fonts/font = SubResource( 1 ) -text = "Experiment with combo's, and craft the best magic for the situation." +text = "Experiment with combos, and craft the best magic for the situation." align = 1 valign = 1 autowrap = true @@ -103,7 +104,7 @@ __meta__ = { [node name="TileMap" type="TileMap" parent="." groups=[ "Tilemap", ]] -tile_set = ExtResource( 1 ) +tile_set = ExtResource( 2 ) cell_size = Vector2( 16, 16 ) collision_layer = 2 collision_mask = 0 @@ -123,25 +124,25 @@ centered = false position = Vector2( 30, 176 ) [node name="Leap" type="Area2D" parent="."] -script = ExtResource( 9 ) +script = ExtResource( 6 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="Leap"] position = Vector2( 668, 217 ) shape = SubResource( 2 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="."] -anims/Black = ExtResource( 13 ) -"anims/Black Fade in" = ExtResource( 13 ) -script = ExtResource( 11 ) +anims/Black = ExtResource( 3 ) +"anims/Black Fade in" = ExtResource( 3 ) +script = ExtResource( 5 ) [node name="AnimationPlayer2" type="AnimationPlayer" parent="."] anims/Typewriter = SubResource( 3 ) -script = ExtResource( 12 ) +script = ExtResource( 8 ) [node name="Timer" type="Timer" parent="."] wait_time = 4.386 one_shot = true -script = ExtResource( 10 ) +script = ExtResource( 7 ) [node name="CanvasModulate" type="CanvasModulate" parent="."] color = Color( 0.564706, 0.564706, 0.564706, 1 ) @@ -150,7 +151,7 @@ color = Color( 0.564706, 0.564706, 0.564706, 1 ) [node name="Sprite" type="Sprite" parent="CanvasLayer"] modulate = Color( 0, 0, 0, 0 ) -texture = ExtResource( 7 ) +texture = ExtResource( 11 ) centered = false [node name="Label" type="Label" parent="CanvasLayer"] @@ -160,14 +161,15 @@ margin_right = 90.0 margin_bottom = 76.0 rect_scale = Vector2( 3.25, 3.25 ) custom_fonts/font = SubResource( 4 ) -text = "Stage 1: Leap of Faith" +text = "Stage 1: +Leap of Faith" align = 1 valign = 1 percent_visible = 0.0 __meta__ = { "_edit_use_anchors_": false } -[connection signal="body_entered" from="Leap" to="AnimationPlayer" method="_on_Leap_body_entered"] [connection signal="body_entered" from="Leap" to="AnimationPlayer2" method="_on_Leap_body_entered"] +[connection signal="body_entered" from="Leap" to="AnimationPlayer" method="_on_Leap_body_entered"] [connection signal="body_entered" from="Leap" to="Timer" method="_on_Leap_body_entered"] [connection signal="timeout" from="Timer" to="Timer" method="_on_Timer_timeout"] diff --git a/levels/Campaign/Level 2/Level_2.tscn b/levels/Campaign/Level 2/Level_2.tscn index ed59522..03c8fd3 100644 --- a/levels/Campaign/Level 2/Level_2.tscn +++ b/levels/Campaign/Level 2/Level_2.tscn @@ -1,12 +1,13 @@ [gd_scene load_steps=10 format=2] -[ext_resource path="res://meta/DungeonTilemap.tres" type="TileSet" id=1] -[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=2] -[ext_resource path="res://art/door.png" type="Texture" id=3] +[ext_resource path="res://art/door.png" type="Texture" id=1] +[ext_resource path="res://meta/DungeonTilemap.tres" type="TileSet" id=2] +[ext_resource path="res://levels/Campaign/Level 2/Area2D.gd" type="Script" id=3] [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://levels/Campaign/Level 2/Area2D.gd" type="Script" id=7] -[ext_resource path="res://objects/Door.tscn" type="PackedScene" id=8] +[ext_resource path="res://objects/Door.tscn" type="PackedScene" id=5] +[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=6] +[ext_resource path="res://ai/Scenes/Skeleton Enemy.tscn" type="PackedScene" id=7] + [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 1810, 13 ) @@ -16,25 +17,25 @@ extents = Vector2( 7, 39 ) [node name="Level 2" type="Node"] -[node name="Door" parent="." instance=ExtResource( 8 )] +[node name="Door" parent="." instance=ExtResource( 5 )] position = Vector2( 880, 64 ) next_scene = "res://levels/Campaign/Level 3/Level_3.tscn" -text = "Stage 3: Shrek 5?" +text = "Stage 3: Green Giants" [node name="door" type="Sprite" parent="."] position = Vector2( 16, 161 ) -texture = ExtResource( 3 ) +texture = ExtResource( 1 ) hframes = 2 [node name="TileMap" type="TileMap" parent="." groups=[ "Tilemap", ]] -tile_set = ExtResource( 1 ) +tile_set = ExtResource( 2 ) 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, 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 ) +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, 131078, 458809, 0, 196617, 458810, 0, 196617, 458811, 0, 196617, 458812, 0, 196619, 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, 131078, 524344, 0, 196619, 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, 131078, 589879, 0, 196619, 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, 131078, 655414, 0, 196619, 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, 131078, 720949, 0, 196619, 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, 131078, 786484, 0, 196619, 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, 196619 ) [node name="Node" type="Node" parent="."] @@ -53,17 +54,17 @@ position = Vector2( 608, 64 ) [node name="torch5" parent="Node" instance=ExtResource( 4 )] position = Vector2( 752, 64 ) -[node name="Player" parent="." instance=ExtResource( 2 )] +[node name="Player" parent="." instance=ExtResource( 6 )] position = Vector2( 108, 164 ) [node name="Area2D" type="Area2D" parent="."] -script = ExtResource( 7 ) +script = ExtResource( 3 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] position = Vector2( 1610, 259 ) shape = SubResource( 1 ) -[node name="Skeleton Enemy" parent="." instance=ExtResource( 5 )] +[node name="Skeleton Enemy" parent="." instance=ExtResource( 7 )] position = Vector2( 843, 85 ) max_range = 999999 stationary = true diff --git a/levels/Campaign/Level 3/Level_3.tscn b/levels/Campaign/Level 3/Level_3.tscn index 1c83ac5..0a6209f 100644 --- a/levels/Campaign/Level 3/Level_3.tscn +++ b/levels/Campaign/Level 3/Level_3.tscn @@ -1,17 +1,18 @@ [gd_scene load_steps=15 format=2] -[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=1] +[ext_resource path="res://art/door.png" type="Texture" id=1] [ext_resource path="res://meta/DungeonTilemap.tres" type="TileSet" id=2] -[ext_resource path="res://levels/Campaign/Level 3/Area2D.gd" type="Script" id=3] -[ext_resource path="res://meta/DungeonTilemap.tscn" type="PackedScene" id=4] +[ext_resource path="res://art/Spikes.png" type="Texture" id=3] +[ext_resource path="res://levels/Campaign/Level 3/Area2D.gd" type="Script" id=4] [ext_resource path="res://levels/Campaign/Level 3/DisappearingTiles.gd" type="Script" id=5] -[ext_resource path="res://art/door.png" type="Texture" id=6] -[ext_resource path="res://ai/Scenes/ogre.tscn" type="PackedScene" id=7] -[ext_resource path="res://objects/Lever.tscn" type="PackedScene" id=8] -[ext_resource path="res://objects/torch.tscn" type="PackedScene" id=9] -[ext_resource path="res://art/Spikes.png" type="Texture" id=10] -[ext_resource path="res://levels/Campaign/Level 3/TileMap3.gd" type="Script" id=11] -[ext_resource path="res://objects/Door.tscn" type="PackedScene" id=13] +[ext_resource path="res://levels/Campaign/Level 3/TileMap3.gd" type="Script" id=6] +[ext_resource path="res://meta/DungeonTilemap.tscn" type="PackedScene" id=7] +[ext_resource path="res://objects/torch.tscn" type="PackedScene" id=8] +[ext_resource path="res://objects/Door.tscn" type="PackedScene" id=9] +[ext_resource path="res://objects/Lever.tscn" type="PackedScene" id=10] +[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=11] +[ext_resource path="res://ai/Scenes/ogre.tscn" type="PackedScene" id=12] + [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 152, 18 ) @@ -26,48 +27,45 @@ extents = Vector2( 10, 45 ) [node name="Spikes" type="Sprite" parent="Spikes"] position = Vector2( 753, 208 ) scale = Vector2( 2, 2 ) -texture = ExtResource( 10 ) +texture = ExtResource( 3 ) [node name="Spikes2" type="Sprite" parent="Spikes"] position = Vector2( 833, 208 ) scale = Vector2( 2, 2 ) -texture = ExtResource( 10 ) +texture = ExtResource( 3 ) [node name="Spikes3" type="Sprite" parent="Spikes"] position = Vector2( 913, 208 ) scale = Vector2( 2, 2 ) -texture = ExtResource( 10 ) +texture = ExtResource( 3 ) [node name="Spikes4" type="Sprite" parent="Spikes"] position = Vector2( 993, 208 ) scale = Vector2( 2, 2 ) -texture = ExtResource( 10 ) +texture = ExtResource( 3 ) [node name="Torches" type="Node" parent="."] -[node name="torch8" parent="Torches" instance=ExtResource( 9 )] +[node name="torch8" parent="Torches" instance=ExtResource( 8 )] position = Vector2( 480, 48 ) -[node name="torch7" parent="Torches" instance=ExtResource( 9 )] +[node name="torch7" parent="Torches" instance=ExtResource( 8 )] position = Vector2( 1136, 48 ) -[node name="torch3" parent="Torches" instance=ExtResource( 9 )] +[node name="torch3" parent="Torches" instance=ExtResource( 8 )] position = Vector2( 672, 48 ) -[node name="torch4" parent="Torches" instance=ExtResource( 9 )] -position = Vector2( 504.192, 139.481 ) - -[node name="torch5" parent="Torches" instance=ExtResource( 9 )] +[node name="torch5" parent="Torches" instance=ExtResource( 8 )] position = Vector2( 896, 48 ) -[node name="Door" parent="." instance=ExtResource( 13 )] +[node name="Door" parent="." instance=ExtResource( 9 )] position = Vector2( 416, 64 ) next_scene = "res://levels/Campaign/Level 4/Level_4.tscn" text = "Stage 4: The Hoard" [node name="door" type="Sprite" parent="."] position = Vector2( 432, 191 ) -texture = ExtResource( 6 ) +texture = ExtResource( 1 ) hframes = 2 [node name="TileMapDisapearing" parent="." instance=ExtResource( 4 )] @@ -93,16 +91,16 @@ collision_layer = 0 collision_mask = 0 format = 1 tile_data = PoolIntArray( 262182, 0, 196609, 262183, 0, 196611, 262192, 0, 8, 262193, 0, 10, 262194, 0, 10, 262195, 0, 10, 262196, 0, 10, 262197, 0, 10, 262198, 0, 11, 327713, 0, 196609, 327714, 0, 196611, 327723, 0, 196609, 327724, 0, 196611, 327728, 0, 65544, 327729, 0, 131081, 327730, 0, 131078, 327731, 0, 196617, 327732, 0, 196617, 327733, 0, 131077, 327734, 0, 65542, 327735, 0, 10, 327736, 0, 10, 327737, 0, 10, 327738, 0, 10, 327739, 0, 10, 327740, 0, 10, 327741, 0, 10, 327742, 0, 11, 393264, 0, 65544, 393265, 0, 131081, 393266, 0, 131083, 393269, 0, 65544, 393270, 0, 131081, 393271, 0, 131078, 393272, 0, 196617, 393273, 0, 196617, 393274, 0, 131077, 393275, 0, 131081, 393276, 0, 131078, 393277, 0, 196617, 393278, 0, 196619, 458793, 0, 196608, 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 ) +script = ExtResource( 6 ) -[node name="Lever" parent="." instance=ExtResource( 8 )] +[node name="Lever" parent="." instance=ExtResource( 10 )] position = Vector2( 1120, 72 ) -[node name="Player" parent="." instance=ExtResource( 1 )] +[node name="Player" parent="." instance=ExtResource( 11 )] position = Vector2( 431.5, 202 ) [node name="Area2D" type="Area2D" parent="."] -script = ExtResource( 3 ) +script = ExtResource( 4 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] position = Vector2( 868, 222 ) @@ -137,20 +135,17 @@ shape = SubResource( 2 ) position = Vector2( -49, -9 ) shape = SubResource( 2 ) -[node name="Ogre" parent="." instance=ExtResource( 7 )] +[node name="Ogre" parent="." instance=ExtResource( 12 )] position = Vector2( 800, -52 ) -[node name="Ogre2" parent="." instance=ExtResource( 7 )] +[node name="Ogre2" parent="." instance=ExtResource( 12 )] position = Vector2( 876, -53 ) -[node name="Ogre3" parent="." instance=ExtResource( 7 )] +[node name="Ogre3" parent="." instance=ExtResource( 12 )] position = Vector2( 956, -53 ) -[node name="Ogre4" parent="." instance=ExtResource( 7 )] -position = Vector2( 673.242, 139.816 ) - -[node name="Ogre5" parent="." instance=ExtResource( 7 )] -position = Vector2( 712.133, 122.845 ) +[node name="Ogre4" parent="." instance=ExtResource( 12 )] +position = Vector2( 714, 120 ) [node name="CanvasModulate" type="CanvasModulate" parent="."] color = Color( 0.564706, 0.564706, 0.564706, 1 ) diff --git a/levels/Campaign/Level0.tscn b/levels/Campaign/Level0.tscn index 01d202d..872b95f 100644 --- a/levels/Campaign/Level0.tscn +++ b/levels/Campaign/Level0.tscn @@ -20,7 +20,7 @@ color = Color( 0.564706, 0.564706, 0.564706, 1 ) position = Vector2( 128, 160 ) [node name="Player" parent="." instance=ExtResource( 5 )] -position = Vector2( 74, 157 ) +position = Vector2( 74, 158 ) [node name="torch" parent="." instance=ExtResource( 4 )] position = Vector2( 85, 91 ) @@ -28,7 +28,8 @@ position = Vector2( 85, 91 ) [node name="torch2" parent="." instance=ExtResource( 4 )] position = Vector2( 171, 91 ) -[node name="TileMap" parent="." instance=ExtResource( 6 )] +[node name="TileMap" parent="torch2" instance=ExtResource( 6 )] +position = Vector2( -171, -91 ) tile_data = PoolIntArray( 131069, 0, 8, 131070, 0, 10, 131071, 0, 10, 65536, 0, 10, 65537, 0, 10, 65538, 0, 10, 65539, 0, 10, 65540, 0, 10, 65541, 0, 10, 65542, 0, 10, 65543, 0, 10, 65544, 0, 10, 65545, 0, 10, 65546, 0, 10, 65547, 0, 10, 65548, 0, 10, 65549, 0, 10, 65550, 0, 10, 65551, 0, 10, 65552, 0, 10, 65553, 0, 10, 65554, 0, 11, 196605, 0, 65544, 196606, 0, 131081, 196607, 0, 131081, 131072, 0, 131081, 131073, 0, 131081, 131074, 0, 131081, 131075, 0, 131081, 131076, 0, 131081, 131077, 0, 131081, 131078, 0, 131081, 131079, 0, 131081, 131080, 0, 131081, 131081, 0, 131081, 131082, 0, 131081, 131083, 0, 131081, 131084, 0, 131081, 131085, 0, 131081, 131086, 0, 131081, 131087, 0, 131081, 131088, 0, 131081, 131089, 0, 131081, 131090, 0, 131083, 262141, 0, 65544, 262142, 0, 131081, 262143, 0, 131081, 196608, 0, 131081, 196609, 0, 131078, 196610, 0, 196617, 196611, 0, 196617, 196612, 0, 196617, 196613, 0, 196617, 196614, 0, 196617, 196615, 0, 196617, 196616, 0, 196617, 196617, 0, 196617, 196618, 0, 196617, 196619, 0, 196617, 196620, 0, 196617, 196621, 0, 196617, 196622, 0, 131077, 196623, 0, 131081, 196624, 0, 131081, 196625, 0, 131081, 196626, 0, 131083, 327677, 0, 65544, 327678, 0, 131081, 327679, 0, 131081, 262144, 0, 131081, 262145, 0, 131083, 262158, 0, 65544, 262159, 0, 131081, 262160, 0, 131081, 262161, 0, 131081, 262162, 0, 131083, 393213, 0, 65544, 393214, 0, 131081, 393215, 0, 131081, 327680, 0, 131081, 327681, 0, 131083, 327694, 0, 65544, 327695, 0, 131081, 327696, 0, 131081, 327697, 0, 131081, 327698, 0, 131083, 458749, 0, 65544, 458750, 0, 131081, 458751, 0, 131081, 393216, 0, 131081, 393217, 0, 131083, 393230, 0, 65544, 393231, 0, 131081, 393232, 0, 131081, 393233, 0, 131081, 393234, 0, 131083, 524285, 0, 65544, 524286, 0, 131081, 524287, 0, 131081, 458752, 0, 131081, 458753, 0, 131083, 458766, 0, 65544, 458767, 0, 131081, 458768, 0, 131081, 458769, 0, 131081, 458770, 0, 131083, 589821, 0, 65544, 589822, 0, 131081, 589823, 0, 131081, 524288, 0, 131081, 524289, 0, 131083, 524302, 0, 65544, 524303, 0, 131081, 524304, 0, 131081, 524305, 0, 131081, 524306, 0, 131083, 655357, 0, 65544, 655358, 0, 131081, 655359, 0, 131081, 589824, 0, 131081, 589825, 0, 131083, 589838, 0, 65544, 589839, 0, 131081, 589840, 0, 131081, 589841, 0, 131081, 589842, 0, 131083, 720893, 0, 65544, 720894, 0, 131081, 720895, 0, 131081, 655360, 0, 131081, 655361, 0, 65542, 655362, 0, 10, 655363, 0, 10, 655364, 0, 10, 655365, 0, 10, 655366, 0, 10, 655367, 0, 10, 655368, 0, 10, 655369, 0, 10, 655370, 0, 10, 655371, 0, 10, 655372, 0, 10, 655373, 0, 10, 655374, 0, 65541, 655375, 0, 131081, 655376, 0, 131081, 655377, 0, 131081, 655378, 0, 131083, 786429, 0, 65544, 786430, 0, 131081, 786431, 0, 131081, 720896, 0, 131081, 720897, 0, 131081, 720898, 0, 131081, 720899, 0, 131081, 720900, 0, 131081, 720901, 0, 131081, 720902, 0, 131081, 720903, 0, 131081, 720904, 0, 131081, 720905, 0, 131081, 720906, 0, 131081, 720907, 0, 131081, 720908, 0, 131081, 720909, 0, 131081, 720910, 0, 131081, 720911, 0, 131081, 720912, 0, 131081, 720913, 0, 131081, 720914, 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, 196619 ) [node name="CanvasLayer" parent="." instance=ExtResource( 1 )] diff --git a/objects/Door.gd b/objects/Door.gd index cf22e59..1281e0a 100644 --- a/objects/Door.gd +++ b/objects/Door.gd @@ -27,6 +27,8 @@ func lock(): func unlock(): unlocked = true + + func _on_Timer_timeout(): Player.current_scene = next_scene get_tree().change_scene(""+next_scene+"")