the-crypt/levels/Campaign/Level 3/Level_3.tscn

153 lines
18 KiB
Plaintext
Raw Normal View History

2020-07-23 14:43:42 -05:00
[gd_scene load_steps=15 format=2]
2020-07-23 12:25:37 -05:00
[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]
2020-07-23 14:43:42 -05:00
[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]
2020-07-23 12:25:37 -05:00
[ext_resource path="res://art/door.png" type="Texture" id=6]
2020-07-23 14:43:42 -05:00
[ext_resource path="res://ai/Scenes/ogre.tscn" type="PackedScene" id=7]
2020-07-23 13:43:07 -05:00
[ext_resource path="res://objects/Lever.tscn" type="PackedScene" id=8]
2020-07-23 14:43:42 -05:00
[ext_resource path="res://objects/torch.tscn" type="PackedScene" id=9]
2020-07-23 19:47:27 -05:00
[ext_resource path="res://art/Spikes.png" type="Texture" id=10]
2020-07-23 13:43:07 -05:00
[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]
2020-07-23 12:25:37 -05:00
[sub_resource type="RectangleShape2D" id=1]
2020-07-23 19:47:27 -05:00
extents = Vector2( 152, 18 )
2020-07-23 12:25:37 -05:00
2020-07-23 14:43:42 -05:00
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 10, 45 )
2020-07-23 12:25:37 -05:00
[node name="Level 3" type="Node"]
2020-07-23 19:47:27 -05:00
[node name="Spikes" type="Node" parent="."]
2020-07-23 13:43:07 -05:00
2020-07-23 19:47:27 -05:00
[node name="Spikes" type="Sprite" parent="Spikes"]
position = Vector2( 753, 208 )
scale = Vector2( 2, 2 )
texture = ExtResource( 10 )
2020-07-23 14:43:42 -05:00
2020-07-23 19:47:27 -05:00
[node name="Spikes2" type="Sprite" parent="Spikes"]
position = Vector2( 833, 208 )
scale = Vector2( 2, 2 )
texture = ExtResource( 10 )
2020-07-23 14:43:42 -05:00
2020-07-23 19:47:27 -05:00
[node name="Spikes3" type="Sprite" parent="Spikes"]
position = Vector2( 913, 208 )
scale = Vector2( 2, 2 )
texture = ExtResource( 10 )
2020-07-23 14:43:42 -05:00
2020-07-23 19:47:27 -05:00
[node name="Spikes4" type="Sprite" parent="Spikes"]
position = Vector2( 993, 208 )
scale = Vector2( 2, 2 )
texture = ExtResource( 10 )
2020-07-23 14:43:42 -05:00
2020-07-23 19:47:27 -05:00
[node name="Torches" type="Node" parent="."]
2020-07-23 14:43:42 -05:00
2020-07-23 19:47:27 -05:00
[node name="torch8" parent="Torches" instance=ExtResource( 9 )]
position = Vector2( 480, 48 )
2020-07-23 14:43:42 -05:00
2020-07-23 19:47:27 -05:00
[node name="torch7" parent="Torches" instance=ExtResource( 9 )]
position = Vector2( 1136, 48 )
2020-07-23 14:43:42 -05:00
2020-07-23 19:47:27 -05:00
[node name="torch3" parent="Torches" instance=ExtResource( 9 )]
position = Vector2( 672, 48 )
2020-07-23 14:43:42 -05:00
2020-07-23 19:47:27 -05:00
[node name="torch5" parent="Torches" instance=ExtResource( 9 )]
position = Vector2( 896, 48 )
2020-07-23 14:43:42 -05:00
[node name="Door" parent="." instance=ExtResource( 13 )]
position = Vector2( 416, 64 )
2020-07-23 13:43:07 -05:00
2020-07-23 12:25:37 -05:00
[node name="door" type="Sprite" parent="."]
2020-07-23 14:43:42 -05:00
position = Vector2( 432, 191 )
2020-07-23 12:25:37 -05:00
texture = ExtResource( 6 )
hframes = 2
2020-07-23 14:43:42 -05:00
[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 )
2020-07-23 12:25:37 -05:00
[node name="TileMap" type="TileMap" parent="." groups=[
"Tilemap",
]]
tile_set = ExtResource( 2 )
cell_size = Vector2( 16, 16 )
2020-07-23 14:43:42 -05:00
collision_layer = 2
collision_mask = 0
2020-07-23 12:25:37 -05:00
format = 1
2020-07-23 19:47:27 -05:00
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
2020-07-23 13:43:07 -05:00
2020-07-23 14:43:42 -05:00
[node name="TileMapAppearing" type="TileMap" parent="."]
2020-07-23 13:43:07 -05:00
visible = false
tile_set = ExtResource( 2 )
cell_size = Vector2( 16, 16 )
2020-07-23 19:47:27 -05:00
cell_custom_transform = Transform2D( 64, 0, 0, 64, 0.012, 0 )
2020-07-23 13:43:07 -05:00
collision_layer = 0
collision_mask = 0
format = 1
2020-07-23 19:47:27 -05:00
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 )
2020-07-23 14:43:42 -05:00
script = ExtResource( 11 )
2020-07-23 13:43:07 -05:00
2020-07-23 14:43:42 -05:00
[node name="Lever" parent="." instance=ExtResource( 8 )]
position = Vector2( 1120, 72 )
2020-07-23 12:25:37 -05:00
[node name="Player" parent="." instance=ExtResource( 1 )]
2020-07-23 15:32:05 -05:00
position = Vector2( 431.5, 202 )
2020-07-23 19:51:49 -05:00
collision_layer = 4
2020-07-23 13:43:07 -05:00
2020-07-23 12:25:37 -05:00
[node name="Area2D" type="Area2D" parent="."]
script = ExtResource( 3 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
2020-07-23 19:47:27 -05:00
position = Vector2( 868, 224 )
2020-07-23 12:25:37 -05:00
shape = SubResource( 1 )
2020-07-23 13:43:07 -05:00
2020-07-23 19:47:27 -05:00
[node name="EnemyCollision" type="StaticBody2D" parent="."]
2020-07-23 14:43:42 -05:00
position = Vector2( 876, -65 )
collision_layer = 0
collision_mask = 4
2020-07-23 13:43:07 -05:00
2020-07-23 19:47:27 -05:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="EnemyCollision"]
2020-07-23 14:43:42 -05:00
position = Vector2( -118, -9 )
shape = SubResource( 2 )
2020-07-23 19:47:27 -05:00
[node name="CollisionShape2D2" type="CollisionShape2D" parent="EnemyCollision"]
2020-07-23 14:43:42 -05:00
position = Vector2( 110, -9 )
shape = SubResource( 2 )
2020-07-23 19:47:27 -05:00
[node name="CollisionShape2D3" type="CollisionShape2D" parent="EnemyCollision"]
2020-07-23 14:43:42 -05:00
position = Vector2( 42, -9 )
shape = SubResource( 2 )
2020-07-23 19:47:27 -05:00
[node name="CollisionShape2D4" type="CollisionShape2D" parent="EnemyCollision"]
2020-07-23 14:43:42 -05:00
position = Vector2( -38, -9 )
shape = SubResource( 2 )
2020-07-23 19:47:27 -05:00
[node name="CollisionShape2D5" type="CollisionShape2D" parent="EnemyCollision"]
2020-07-23 14:43:42 -05:00
position = Vector2( 29, -9 )
shape = SubResource( 2 )
2020-07-23 19:47:27 -05:00
[node name="CollisionShape2D6" type="CollisionShape2D" parent="EnemyCollision"]
2020-07-23 14:43:42 -05:00
position = Vector2( -49, -9 )
shape = SubResource( 2 )
2020-07-23 13:43:07 -05:00
2020-07-23 14:43:42 -05:00
[node name="Ogre" parent="." instance=ExtResource( 7 )]
position = Vector2( 800, -52 )
2020-07-23 13:43:07 -05:00
2020-07-23 14:43:42 -05:00
[node name="Ogre2" parent="." instance=ExtResource( 7 )]
position = Vector2( 876, -52 )
2020-07-23 13:43:07 -05:00
2020-07-23 14:43:42 -05:00
[node name="Ogre3" parent="." instance=ExtResource( 7 )]
position = Vector2( 956, -53 )
2020-07-23 13:43:07 -05:00
2020-07-23 14:43:42 -05:00
[node name="Ogre4" parent="." instance=ExtResource( 7 )]
position = Vector2( 717, 119 )
2020-07-23 13:43:07 -05:00
2020-07-23 14:43:42 -05:00
[node name="CanvasModulate" type="CanvasModulate" parent="."]
color = Color( 0.564706, 0.564706, 0.564706, 1 )
2020-07-23 15:32:05 -05:00
[connection signal="on" from="Lever" to="TileMapAppearing" method="_on_Lever_on"]
2020-07-23 19:47:27 -05:00
[connection signal="on" from="Lever" to="TileMapDisapearing" method="_on_Lever_on"]
2020-07-23 12:25:37 -05:00
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_Area2D_body_entered"]