diff --git a/graphics/backgrounds/cave_scholar.png b/graphics/backgrounds/cave_scholar.png new file mode 100644 index 0000000..5ece58b Binary files /dev/null and b/graphics/backgrounds/cave_scholar.png differ diff --git a/graphics/backgrounds/cave_scholar.png.import b/graphics/backgrounds/cave_scholar.png.import new file mode 100644 index 0000000..0bc1e56 --- /dev/null +++ b/graphics/backgrounds/cave_scholar.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/cave_scholar.png-5daab0741db98d8c70cedb3ef3dbd7f3.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://graphics/backgrounds/cave_scholar.png" +dest_files=[ "res://.import/cave_scholar.png-5daab0741db98d8c70cedb3ef3dbd7f3.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/graphics/tiles/cave.png b/graphics/tiles/cave.png index 7a81243..b458cdb 100644 Binary files a/graphics/tiles/cave.png and b/graphics/tiles/cave.png differ diff --git a/graphics/tiles/mushroom_brown.tres b/graphics/tiles/mushroom_brown.tres index 8cad346..ee73b7b 100644 --- a/graphics/tiles/mushroom_brown.tres +++ b/graphics/tiles/mushroom_brown.tres @@ -13,7 +13,7 @@ [resource] frames = 10 -fps = 10.0 +fps = 9.0 frame_0/texture = ExtResource( 5 ) frame_1/texture = ExtResource( 6 ) frame_1/delay_sec = 0.0 diff --git a/graphics/tiles/mushroom_red.tres b/graphics/tiles/mushroom_red.tres index ea3d723..4ee5d9a 100644 --- a/graphics/tiles/mushroom_red.tres +++ b/graphics/tiles/mushroom_red.tres @@ -13,7 +13,7 @@ [resource] frames = 10 -fps = 10.0 +fps = 9.0 frame_0/texture = ExtResource( 2 ) frame_1/texture = ExtResource( 6 ) frame_1/delay_sec = 0.0 diff --git a/maps/cave_scholar.tscn b/maps/cave_scholar.tscn index 9c2e3b2..26489af 100644 --- a/maps/cave_scholar.tscn +++ b/maps/cave_scholar.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=29 format=2] +[gd_scene load_steps=32 format=2] [ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=1] [ext_resource path="res://tilesets/t_cave.tres" type="TileSet" id=2] @@ -7,7 +7,7 @@ [ext_resource path="res://tilesets/t_death.tres" type="TileSet" id=5] [ext_resource path="res://objects/Camera2D.tscn" type="PackedScene" id=6] [ext_resource path="res://objects/enemy/snail.tscn" type="PackedScene" id=7] -[ext_resource path="res://graphics/backgrounds/cave.png" type="Texture" id=8] +[ext_resource path="res://graphics/backgrounds/cave_scholar.png" type="Texture" id=8] [ext_resource path="res://objects/environment/ladder/ladder.tscn" type="PackedScene" id=9] [ext_resource path="res://objects/enemy/bat.tscn" type="PackedScene" id=10] [ext_resource path="res://maps/map.gd" type="Script" id=11] @@ -15,9 +15,12 @@ [ext_resource path="res://objects/enemy/rolling_fiend.tscn" type="PackedScene" id=13] [ext_resource path="res://objects/collectibles/key.tscn" type="PackedScene" id=14] [ext_resource path="res://objects/collectibles/star.tscn" type="PackedScene" id=15] +[ext_resource path="res://objects/enemy/tentacle.tscn" type="PackedScene" id=16] [ext_resource path="res://objects/collectibles/shard.tscn" type="PackedScene" id=17] [ext_resource path="res://objects/environment/falling_block/falling_block_cave.tscn" type="PackedScene" id=18] [ext_resource path="res://scripts/delete_on_game_running.gd" type="Script" id=19] +[ext_resource path="res://objects/collectibles/arrow.tscn" type="PackedScene" id=20] +[ext_resource path="res://scripts/fix_parallax_background.gd" type="Script" id=21] [ext_resource path="res://tilesets/t_ladders.tres" type="TileSet" id=22] [ext_resource path="res://objects/environment/barrier/barrier.tscn" type="PackedScene" id=23] [ext_resource path="res://objects/environment/exit/exit.tscn" type="PackedScene" id=24] @@ -38,15 +41,17 @@ target_time_any = 80 target_time_100 = 180 lore_entries = [ ExtResource( 29 ), ExtResource( 27 ), ExtResource( 28 ), ExtResource( 30 ), ExtResource( 26 ) ] -[node name="Camera2D" parent="." instance=ExtResource( 6 )] +[node name="ParallaxBackground" type="ParallaxBackground" parent="."] +script = ExtResource( 21 ) -[node name="Sprite" type="Sprite" parent="Camera2D"] -position = Vector2( 128, 96 ) -z_index = -2 +[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"] +motion_scale = Vector2( 0.5, 1 ) + +[node name="Background" type="Sprite" parent="ParallaxBackground/ParallaxLayer"] texture = ExtResource( 8 ) -__meta__ = { -"_edit_lock_": true -} +centered = false + +[node name="Camera2D" parent="." instance=ExtResource( 6 )] [node name="HUD" parent="." instance=ExtResource( 4 )] song_name = "♫Smokestack" @@ -61,13 +66,13 @@ tile_set = ExtResource( 2 ) cell_size = Vector2( 8, 8 ) collision_layer = 9 format = 1 -tile_data = PoolIntArray( 0, 1, 1, 1, 1, 2, 2, 1, 2, 3, 1, 2, 4, 1, 2, 5, 1, 2, 6, 1, 2, 7, 1, 2, 8, 1, 2, 9, 1, 2, 10, 1, 2, 11, 1, 2, 12, 1, 2, 13, 1, 2, 14, 1, 2, 15, 1, 2, 16, 1, 2, 17, 1, 2, 18, 1, 2, 19, 1, 2, 20, 1, 2, 21, 1, 2, 22, 1, 2, 23, 1, 2, 24, 1, 2, 25, 1, 2, 26, 1, 2, 27, 1, 2, 28, 1, 2, 29, 1, 2, 30, 1, 2, 31, 1, 2, 32, 1, 2, 33, 1, 2, 34, 1, 2, 35, 1, 2, 36, 1, 2, 37, 1, 2, 38, 1, 2, 39, 1, 2, 40, 1, 2, 41, 1, 2, 42, 1, 2, 43, 1, 2, 44, 1, 2, 45, 1, 2, 46, 1, 2, 47, 1, 2, 48, 1, 2, 49, 1, 2, 50, 1, 2, 51, 1, 2, 52, 1, 2, 53, 1, 2, 54, 1, 2, 55, 1, 2, 56, 1, 2, 57, 1, 2, 58, 1, 2, 59, 1, 2, 60, 1, 2, 61, 1, 2, 62, 1, 2, 63, 1, 2, 64, 1, 2, 65, 1, 2, 66, 1, 2, 67, 1, 2, 68, 1, 2, 69, 1, 2, 70, 1, 2, 71, 1, 2, 72, 1, 2, 73, 1, 2, 74, 1, 2, 75, 1, 2, 76, 1, 2, 77, 1, 2, 78, 1, 2, 79, 1, 2, 80, 1, 2, 81, 1, 2, 82, 1, 2, 83, 1, 2, 84, 1, 2, 85, 1, 2, 86, 1, 2, 87, 1, 2, 88, 1, 2, 89, 1, 2, 90, 1, 2, 91, 1, 2, 92, 1, 2, 93, 1, 2, 94, 1, 2, 95, 1, 3, 65536, 1, 131073, 65537, 1, 131074, 65538, 1, 131074, 65539, 1, 131074, 65540, 1, 131074, 65541, 1, 131074, 65542, 1, 131074, 65543, 1, 131074, 65544, 1, 131074, 65545, 1, 131074, 65546, 1, 131074, 65547, 1, 131074, 65548, 1, 131074, 65549, 1, 131074, 65550, 1, 131074, 65551, 1, 131074, 65552, 1, 131074, 65553, 1, 131074, 65554, 1, 131074, 65555, 1, 131074, 65556, 1, 131074, 65557, 1, 131074, 65558, 1, 131074, 65559, 1, 131074, 65560, 1, 131074, 65561, 1, 131074, 65562, 1, 131074, 65563, 1, 131074, 65564, 1, 131074, 65565, 1, 131074, 65566, 1, 131074, 65567, 1, 131074, 65568, 1, 131074, 65569, 1, 131074, 65570, 1, 131074, 65571, 1, 131074, 65572, 1, 131074, 65573, 1, 131074, 65574, 1, 131074, 65575, 1, 131074, 65576, 1, 131074, 65577, 1, 131074, 65578, 1, 131074, 65579, 1, 131074, 65580, 1, 131074, 65581, 1, 131074, 65582, 1, 131074, 65583, 1, 131074, 65584, 1, 131074, 65585, 1, 131074, 65586, 1, 131074, 65587, 1, 131074, 65588, 1, 131074, 65589, 1, 131074, 65590, 1, 131074, 65591, 1, 131074, 65592, 1, 131074, 65593, 1, 131074, 65594, 1, 131074, 65595, 1, 131074, 65596, 1, 131074, 65597, 1, 131074, 65598, 1, 131074, 65599, 1, 131074, 65600, 1, 131074, 65601, 1, 131074, 65602, 1, 131074, 65603, 1, 131074, 65604, 1, 131074, 65605, 1, 131074, 65606, 1, 131074, 65607, 1, 131074, 65608, 1, 131074, 65609, 1, 131074, 65610, 1, 131074, 65611, 1, 131074, 65612, 1, 131074, 65613, 1, 131074, 65614, 1, 131074, 65615, 1, 131074, 65616, 1, 131074, 65617, 1, 131074, 65618, 1, 131074, 65619, 1, 131074, 65620, 1, 131074, 65621, 1, 131074, 65622, 1, 131074, 65623, 1, 131074, 65624, 1, 131074, 65625, 1, 131074, 65626, 1, 131074, 65627, 1, 131074, 65628, 1, 131074, 65629, 1, 131074, 65630, 1, 131074, 65631, 1, 131075, 393221, 1, 196609, 393222, 1, 196610, 393223, 1, 196610, 393224, 1, 196610, 393225, 1, 196610, 393226, 1, 196611, 393229, 1, 196609, 393230, 1, 196610, 393231, 1, 196610, 393232, 1, 196610, 393233, 1, 196610, 393234, 1, 196611, 458775, 1, 196609, 458776, 1, 196610, 458777, 1, 196611, 458780, 1, 1, 458781, 1, 2, 458782, 1, 2, 458783, 1, 2, 458784, 1, 2, 458785, 1, 2, 458786, 1, 2, 458787, 1, 2, 458788, 1, 2, 458789, 1, 2, 458790, 1, 3, 458791, 0, 196608, 458792, 0, 196608, 458793, 0, 196608, 458794, 0, 196608, 458795, 1, 1, 458796, 1, 3, 458801, 1, 196609, 458802, 1, 196610, 458803, 1, 196610, 458804, 1, 196610, 458805, 1, 196610, 458806, 1, 196610, 458807, 1, 196610, 458808, 1, 196610, 458809, 1, 3, 524316, 1, 65537, 524317, 1, 65538, 524318, 1, 65538, 524319, 1, 65538, 524320, 1, 131074, 524321, 1, 131074, 524322, 1, 131074, 524323, 1, 131074, 524324, 1, 131074, 524325, 1, 131074, 524326, 1, 131075, 524331, 1, 65537, 524332, 1, 65539, 524345, 1, 65536, 589839, 1, 1, 589840, 1, 196610, 589841, 1, 196610, 589842, 1, 196611, 589851, 1, 1, 589852, 1, 65538, 589853, 1, 131074, 589854, 1, 131074, 589855, 1, 131075, 589867, 1, 65537, 589868, 1, 65539, 589881, 1, 131073, 589882, 1, 196610, 589883, 1, 196610, 589884, 1, 196610, 589885, 1, 196610, 589886, 1, 196610, 589887, 1, 196610, 589888, 1, 196610, 589889, 1, 196610, 589890, 1, 196610, 589891, 1, 196611, 589892, 0, 196608, 589893, 0, 196608, 589894, 0, 196608, 589895, 1, 0, 655364, 1, 196609, 655365, 1, 196611, 655369, 1, 196609, 655370, 1, 196611, 655375, 1, 65536, 655387, 1, 65537, 655388, 1, 65539, 655403, 1, 65537, 655404, 1, 65539, 655431, 1, 65536, 720911, 1, 65536, 720916, 1, 1, 720917, 1, 196610, 720918, 1, 196610, 720919, 1, 196610, 720920, 1, 196610, 720921, 1, 196610, 720922, 1, 196610, 720923, 1, 131074, 720924, 1, 131075, 720939, 1, 65537, 720940, 1, 65539, 720967, 1, 65536, 786447, 1, 131073, 786448, 1, 196610, 786449, 1, 196610, 786450, 1, 196610, 786451, 1, 196610, 786452, 1, 131075, 786475, 1, 65537, 786476, 1, 65539, 786503, 1, 65536, 852003, 1, 196609, 852004, 1, 196610, 852005, 1, 196611, 852011, 1, 65537, 852012, 1, 65539, 852020, 1, 196609, 852021, 1, 196610, 852022, 1, 196610, 852023, 1, 196611, 852039, 1, 65536, 917510, 3, 0, 917514, 3, 0, 917534, 1, 1, 917535, 1, 2, 917536, 1, 196610, 917537, 1, 196611, 917543, 1, 196609, 917544, 1, 196610, 917545, 1, 196610, 917546, 1, 196610, 917547, 1, 131074, 917548, 1, 131074, 917549, 1, 196610, 917550, 1, 196610, 917551, 1, 196610, 917552, 1, 196610, 917553, 1, 196611, 917575, 1, 65536, 1048575, 1, 196609, 983040, 1, 196611, 983043, 1, 1, 983044, 1, 196610, 983045, 1, 196610, 983046, 1, 196610, 983047, 1, 196610, 983048, 1, 196610, 983049, 1, 196610, 983050, 1, 196610, 983051, 1, 196611, 983070, 1, 65537, 983071, 1, 65539, 983102, 1, 196609, 983103, 1, 196610, 983104, 1, 196610, 983105, 1, 196610, 983106, 1, 196610, 983107, 1, 196610, 983108, 1, 196610, 983109, 1, 196610, 983110, 1, 196610, 983111, 1, 131075, 1048579, 1, 65536, 1048591, 1, 196609, 1048592, 1, 196610, 1048593, 1, 196610, 1048594, 1, 196610, 1048595, 1, 196610, 1048596, 1, 196610, 1048597, 1, 196610, 1048598, 1, 196610, 1048599, 1, 196610, 1048600, 1, 196610, 1048601, 1, 196610, 1048602, 1, 196610, 1048603, 1, 196610, 1048604, 1, 196610, 1048605, 1, 196610, 1048606, 1, 131074, 1048607, 1, 131075, 1114115, 1, 65536, 1179649, 1, 196609, 1179650, 1, 196610, 1179651, 1, 131075, 1245229, 1, 196609, 1245230, 1, 196610, 1245231, 1, 196610, 1245232, 1, 196610, 1245233, 1, 196611, 1310756, 1, 1, 1310757, 1, 2, 1310758, 1, 2, 1310759, 1, 2, 1310760, 1, 2, 1310761, 1, 2, 1310762, 1, 2, 1310763, 1, 3, 1376263, 3, 0, 1376291, 1, 1, 1376292, 1, 65538, 1376293, 1, 65538, 1376294, 1, 65538, 1376295, 1, 65538, 1376296, 1, 65538, 1376297, 1, 65538, 1376298, 1, 65538, 1376299, 1, 65539, 1376306, 1, 1, 1376307, 1, 2, 1376308, 1, 3, 1507327, 1, 1, 1441792, 1, 2, 1441793, 1, 2, 1441794, 1, 2, 1441795, 1, 2, 1441796, 1, 2, 1441797, 1, 2, 1441798, 1, 2, 1441799, 1, 2, 1441800, 1, 2, 1441801, 1, 2, 1441802, 1, 2, 1441803, 1, 2, 1441804, 1, 2, 1441805, 1, 2, 1441806, 1, 2, 1441807, 1, 2, 1441808, 1, 2, 1441809, 1, 2, 1441810, 1, 2, 1441811, 1, 2, 1441812, 1, 2, 1441813, 1, 2, 1441814, 1, 2, 1441815, 1, 2, 1441816, 1, 2, 1441817, 1, 2, 1441818, 1, 2, 1441819, 1, 2, 1441820, 1, 2, 1441821, 1, 2, 1441822, 1, 2, 1441823, 1, 2, 1441824, 1, 2, 1441825, 1, 2, 1441826, 1, 2, 1441827, 1, 65538, 1441828, 1, 65538, 1441829, 1, 65538, 1441830, 1, 65538, 1441831, 1, 65538, 1441832, 1, 65538, 1441833, 1, 65538, 1441834, 1, 65538, 1441835, 1, 65538, 1441836, 1, 2, 1441837, 1, 2, 1441838, 1, 2, 1441839, 1, 2, 1441840, 1, 2, 1441841, 1, 2, 1441842, 1, 65538, 1441843, 1, 65538, 1441844, 1, 65538, 1441845, 1, 2, 1441846, 1, 2, 1441847, 1, 2, 1441848, 1, 2, 1441849, 1, 2, 1441850, 1, 2, 1441851, 1, 2, 1441852, 1, 2, 1441853, 1, 2, 1441854, 1, 2, 1441855, 1, 2, 1441856, 1, 2, 1441857, 1, 2, 1441858, 1, 2, 1441859, 1, 2, 1441860, 1, 2, 1441861, 1, 2, 1441862, 1, 2, 1441863, 1, 2, 1441864, 1, 2, 1441865, 1, 2, 1441866, 1, 2, 1441867, 1, 2, 1441868, 1, 2, 1441869, 1, 2, 1441870, 1, 2, 1441871, 1, 2, 1441872, 1, 2, 1441873, 1, 2, 1441874, 1, 2, 1441875, 1, 2, 1441876, 1, 2, 1441877, 1, 2, 1441878, 1, 2, 1441879, 1, 2, 1441880, 1, 2, 1441881, 1, 2, 1441882, 1, 2, 1441883, 1, 2, 1441884, 1, 2, 1441885, 1, 2, 1441886, 1, 2, 1441887, 1, 2, 1441888, 1, 3, 1572863, 1, 65537, 1507328, 1, 65538, 1507329, 1, 65538, 1507330, 1, 65538, 1507331, 1, 65538, 1507332, 1, 65538, 1507333, 1, 65538, 1507334, 1, 65538, 1507335, 1, 65538, 1507336, 1, 65538, 1507337, 1, 65538, 1507338, 1, 65538, 1507339, 1, 65538, 1507340, 1, 65538, 1507341, 1, 65538, 1507342, 1, 65538, 1507343, 1, 65538, 1507344, 1, 65538, 1507345, 1, 65538, 1507346, 1, 65538, 1507347, 1, 65538, 1507348, 1, 65538, 1507349, 1, 65538, 1507350, 1, 65538, 1507351, 1, 65538, 1507352, 1, 65538, 1507353, 1, 65538, 1507354, 1, 65538, 1507355, 1, 65538, 1507356, 1, 65538, 1507357, 1, 65538, 1507358, 1, 65538, 1507359, 1, 65538, 1507360, 1, 65538, 1507361, 1, 65538, 1507362, 1, 65538, 1507363, 1, 65538, 1507364, 1, 65538, 1507365, 1, 65538, 1507366, 1, 65538, 1507367, 1, 65538, 1507368, 1, 65538, 1507369, 1, 65538, 1507370, 1, 65538, 1507371, 1, 65538, 1507372, 1, 65538, 1507373, 1, 65538, 1507374, 1, 65538, 1507375, 1, 65538, 1507376, 1, 65538, 1507377, 1, 65538, 1507378, 1, 65538, 1507379, 1, 65538, 1507380, 1, 65538, 1507381, 1, 65538, 1507382, 1, 65538, 1507383, 1, 65538, 1507384, 1, 65538, 1507385, 1, 65538, 1507386, 1, 65538, 1507387, 1, 65538, 1507388, 1, 65538, 1507389, 1, 65538, 1507390, 1, 65538, 1507391, 1, 65538, 1507392, 1, 65538, 1507393, 1, 65538, 1507394, 1, 65538, 1507395, 1, 65538, 1507396, 1, 65538, 1507397, 1, 65538, 1507398, 1, 65538, 1507399, 1, 65538, 1507400, 1, 65538, 1507401, 1, 65538, 1507402, 1, 65538, 1507403, 1, 65538, 1507404, 1, 65538, 1507405, 1, 65538, 1507406, 1, 65538, 1507407, 1, 65538, 1507408, 1, 65538, 1507409, 1, 65538, 1507410, 1, 65538, 1507411, 1, 65538, 1507412, 1, 65538, 1507413, 1, 65538, 1507414, 1, 65538, 1507415, 1, 65538, 1507416, 1, 65538, 1507417, 1, 65538, 1507418, 1, 65538, 1507419, 1, 65538, 1507420, 1, 65538, 1507421, 1, 65538, 1507422, 1, 65538, 1507423, 1, 65538, 1507424, 1, 65539, 1638399, 1, 131073, 1572864, 1, 131074, 1572865, 1, 131074, 1572866, 1, 131074, 1572867, 1, 131074, 1572868, 1, 131074, 1572869, 1, 131074, 1572870, 1, 131074, 1572871, 1, 131074, 1572872, 1, 131074, 1572873, 1, 131074, 1572874, 1, 131074, 1572875, 1, 131074, 1572876, 1, 131074, 1572877, 1, 131074, 1572878, 1, 131074, 1572879, 1, 131074, 1572880, 1, 131074, 1572881, 1, 131074, 1572882, 1, 131074, 1572883, 1, 131074, 1572884, 1, 131074, 1572885, 1, 131074, 1572886, 1, 131074, 1572887, 1, 131074, 1572888, 1, 131074, 1572889, 1, 131074, 1572890, 1, 131074, 1572891, 1, 131074, 1572892, 1, 131074, 1572893, 1, 131074, 1572894, 1, 131074, 1572895, 1, 131074, 1572896, 1, 131074, 1572897, 1, 131074, 1572898, 1, 131074, 1572899, 1, 131074, 1572900, 1, 131074, 1572901, 1, 131074, 1572902, 1, 131074, 1572903, 1, 131074, 1572904, 1, 131074, 1572905, 1, 131074, 1572906, 1, 131074, 1572907, 1, 131074, 1572908, 1, 131074, 1572909, 1, 131074, 1572910, 1, 131074, 1572911, 1, 131074, 1572912, 1, 131074, 1572913, 1, 131074, 1572914, 1, 131074, 1572915, 1, 131074, 1572916, 1, 131074, 1572917, 1, 131074, 1572918, 1, 131074, 1572919, 1, 131074, 1572920, 1, 131074, 1572921, 1, 131074, 1572922, 1, 131074, 1572923, 1, 131074, 1572924, 1, 131074, 1572925, 1, 131074, 1572926, 1, 131074, 1572927, 1, 131074, 1572928, 1, 131074, 1572929, 1, 131074, 1572930, 1, 131074, 1572931, 1, 131074, 1572932, 1, 131074, 1572933, 1, 131074, 1572934, 1, 131074, 1572935, 1, 131074, 1572936, 1, 131074, 1572937, 1, 131074, 1572938, 1, 131074, 1572939, 1, 131074, 1572940, 1, 131074, 1572941, 1, 131074, 1572942, 1, 131074, 1572943, 1, 131074, 1572944, 1, 131074, 1572945, 1, 131074, 1572946, 1, 131074, 1572947, 1, 131074, 1572948, 1, 131074, 1572949, 1, 131074, 1572950, 1, 131074, 1572951, 1, 131074, 1572952, 1, 131074, 1572953, 1, 131074, 1572954, 1, 131074, 1572955, 1, 131074, 1572956, 1, 131074, 1572957, 1, 131074, 1572958, 1, 131074, 1572959, 1, 131074, 1572960, 1, 131075, 2490371, 1, 0, 2490386, 1, 0, 2555907, 1, 65536, 2555922, 1, 65536, 2621441, 1, 196609, 2621442, 1, 196610, 2621443, 1, 131075, 2621448, 1, 196608, 2621453, 1, 196608, 2621458, 1, 131073, 2621459, 1, 196610, 2621460, 1, 196611, 2686980, 1, 0, 2686993, 1, 0, 2752516, 1, 131072, 2752529, 1, 131072, 2818053, 1, 196608, 2818064, 1, 196608, 2883590, 1, 196609, 2883591, 1, 196610, 2883592, 1, 2, 2883593, 1, 196610, 2883594, 1, 196610, 2883595, 1, 2, 2883596, 1, 196610, 2883597, 1, 2, 2883598, 1, 196610, 2883599, 1, 196611, 2949128, 1, 65536, 2949131, 1, 65536, 2949133, 1, 65536, 3014664, 1, 65536, 3014667, 1, 131072, 3014669, 1, 65536, 3080200, 1, 65536, 3080205, 1, 65536, 3145736, 1, 131072, 3145741, 1, 131072, 3211273, 1, 196609, 3211274, 1, 196610, 3211275, 1, 196610, 3211276, 1, 196611 ) +tile_data = PoolIntArray( 0, 1, 1, 1, 1, 2, 2, 1, 2, 3, 1, 2, 4, 1, 2, 5, 1, 2, 6, 1, 2, 7, 1, 2, 8, 1, 2, 9, 1, 2, 10, 1, 2, 11, 1, 2, 12, 1, 2, 13, 1, 2, 14, 1, 2, 15, 1, 2, 16, 1, 2, 17, 1, 2, 18, 1, 2, 19, 1, 2, 20, 1, 2, 21, 1, 2, 22, 1, 2, 23, 1, 2, 24, 1, 2, 25, 1, 2, 26, 1, 2, 27, 1, 2, 28, 1, 2, 29, 1, 2, 30, 1, 2, 31, 1, 2, 32, 1, 2, 33, 1, 2, 34, 1, 2, 35, 1, 2, 36, 1, 2, 37, 1, 2, 38, 1, 2, 39, 1, 2, 40, 1, 2, 41, 1, 2, 42, 1, 2, 43, 1, 2, 44, 1, 2, 45, 1, 2, 46, 1, 2, 47, 1, 2, 48, 1, 2, 49, 1, 2, 50, 1, 2, 51, 1, 2, 52, 1, 2, 53, 1, 2, 54, 1, 2, 55, 1, 2, 56, 1, 2, 57, 1, 2, 58, 1, 2, 59, 1, 2, 60, 1, 2, 61, 1, 2, 62, 1, 2, 63, 1, 2, 64, 1, 2, 65, 1, 2, 66, 1, 2, 67, 1, 2, 68, 1, 2, 69, 1, 2, 70, 1, 2, 71, 1, 2, 72, 1, 2, 73, 1, 2, 74, 1, 2, 75, 1, 2, 76, 1, 2, 77, 1, 2, 78, 1, 2, 79, 1, 2, 80, 1, 2, 81, 1, 2, 82, 1, 2, 83, 1, 2, 84, 1, 2, 85, 1, 2, 86, 1, 2, 87, 1, 2, 88, 1, 2, 89, 1, 2, 90, 1, 2, 91, 1, 2, 92, 1, 2, 93, 1, 2, 94, 1, 2, 95, 1, 3, 65536, 1, 131073, 65537, 1, 131074, 65538, 1, 131074, 65539, 1, 131074, 65540, 1, 131074, 65541, 1, 131074, 65542, 1, 131074, 65543, 1, 131074, 65544, 1, 131074, 65545, 1, 131074, 65546, 1, 131074, 65547, 1, 131074, 65548, 1, 131074, 65549, 1, 131074, 65550, 1, 131074, 65551, 1, 131074, 65552, 1, 131074, 65553, 1, 131074, 65554, 1, 131074, 65555, 1, 131074, 65556, 1, 131074, 65557, 1, 131074, 65558, 1, 131074, 65559, 1, 131074, 65560, 1, 131074, 65561, 1, 131074, 65562, 1, 131074, 65563, 1, 131074, 65564, 1, 131074, 65565, 1, 131074, 65566, 1, 131074, 65567, 1, 131074, 65568, 1, 131074, 65569, 1, 131074, 65570, 1, 131074, 65571, 1, 131074, 65572, 1, 131074, 65573, 1, 131074, 65574, 1, 131074, 65575, 1, 131074, 65576, 1, 131074, 65577, 1, 131074, 65578, 1, 131074, 65579, 1, 131074, 65580, 1, 131074, 65581, 1, 131074, 65582, 1, 131074, 65583, 1, 131074, 65584, 1, 131074, 65585, 1, 131074, 65586, 1, 131074, 65587, 1, 131074, 65588, 1, 131074, 65589, 1, 131074, 65590, 1, 131074, 65591, 1, 131074, 65592, 1, 131074, 65593, 1, 131074, 65594, 1, 131074, 65595, 1, 131074, 65596, 1, 131074, 65597, 1, 131074, 65598, 1, 131074, 65599, 1, 131074, 65600, 1, 131074, 65601, 1, 131074, 65602, 1, 131074, 65603, 1, 131074, 65604, 1, 131074, 65605, 1, 131074, 65606, 1, 131074, 65607, 1, 131074, 65608, 1, 131074, 65609, 1, 131074, 65610, 1, 131074, 65611, 1, 131074, 65612, 1, 131074, 65613, 1, 131074, 65614, 1, 131074, 65615, 1, 131074, 65616, 1, 131074, 65617, 1, 131074, 65618, 1, 131074, 65619, 1, 131074, 65620, 1, 131074, 65621, 1, 131074, 65622, 1, 131074, 65623, 1, 131074, 65624, 1, 131074, 65625, 1, 131074, 65626, 1, 131074, 65627, 1, 131074, 65628, 1, 131074, 65629, 1, 131074, 65630, 1, 131074, 65631, 1, 131075, 327763, 1, 196609, 327764, 1, 196611, 393221, 1, 196609, 393222, 1, 196610, 393223, 1, 196610, 393224, 1, 196610, 393225, 1, 196610, 393226, 1, 196611, 393229, 1, 196609, 393230, 1, 196610, 393231, 1, 196610, 393232, 1, 196610, 393233, 1, 196610, 393234, 1, 196611, 393288, 1, 196609, 393289, 1, 196610, 393290, 1, 196611, 458775, 1, 196609, 458776, 1, 196610, 458777, 1, 196611, 458780, 1, 1, 458781, 1, 2, 458782, 1, 2, 458783, 1, 2, 458784, 1, 2, 458785, 1, 2, 458786, 1, 2, 458787, 1, 2, 458788, 1, 2, 458789, 1, 2, 458790, 1, 3, 458791, 0, 196608, 458792, 0, 196608, 458793, 0, 196608, 458794, 0, 196608, 458795, 1, 1, 458796, 1, 3, 458801, 1, 196609, 458802, 1, 196610, 458803, 1, 196610, 458804, 1, 196610, 458805, 1, 196610, 458806, 1, 196610, 458807, 1, 2, 458808, 1, 2, 458809, 1, 2, 458810, 1, 2, 458811, 1, 2, 458812, 1, 2, 458813, 1, 2, 458814, 1, 2, 458815, 1, 2, 458816, 1, 2, 458817, 1, 3, 458818, 0, 196608, 458819, 0, 196608, 458820, 1, 0, 458837, 1, 196609, 458838, 1, 196610, 458839, 1, 196610, 458840, 1, 196610, 458841, 1, 196610, 458842, 1, 196610, 458843, 1, 196610, 458844, 1, 196611, 458847, 1, 0, 524316, 1, 65537, 524317, 1, 65538, 524318, 1, 65538, 524319, 1, 65538, 524320, 1, 131074, 524321, 1, 131074, 524322, 1, 131074, 524323, 1, 131074, 524324, 1, 131074, 524325, 1, 131074, 524326, 1, 131075, 524331, 1, 65537, 524332, 1, 65539, 524343, 1, 131073, 524344, 1, 131074, 524345, 1, 131074, 524346, 1, 131074, 524347, 1, 131074, 524348, 1, 131074, 524349, 1, 131074, 524350, 1, 65538, 524351, 1, 65538, 524352, 1, 131074, 524353, 1, 131075, 524356, 1, 65536, 524364, 1, 196608, 524383, 1, 65536, 589839, 1, 1, 589840, 1, 196610, 589841, 1, 196610, 589842, 1, 196611, 589851, 1, 1, 589852, 1, 65538, 589853, 1, 131074, 589854, 1, 131074, 589855, 1, 131075, 589867, 1, 65537, 589868, 1, 65539, 589886, 1, 131073, 589887, 1, 131075, 589892, 1, 65536, 589919, 1, 65536, 655364, 1, 196609, 655365, 1, 196611, 655369, 1, 196609, 655370, 1, 196611, 655375, 1, 65536, 655387, 1, 65537, 655388, 1, 65539, 655403, 1, 65537, 655404, 1, 65539, 655428, 1, 65536, 655448, 1, 196609, 655449, 1, 196610, 655450, 1, 196610, 655451, 1, 196610, 655452, 1, 196610, 655453, 1, 196610, 655454, 1, 196610, 655455, 1, 131075, 720911, 1, 65536, 720916, 1, 1, 720917, 1, 196610, 720918, 1, 196610, 720919, 1, 196610, 720920, 1, 196610, 720921, 1, 196610, 720922, 1, 196610, 720923, 1, 131074, 720924, 1, 131075, 720939, 1, 65537, 720940, 1, 65539, 720964, 1, 65536, 786447, 1, 131073, 786448, 1, 196610, 786449, 1, 196610, 786450, 1, 196610, 786451, 1, 196610, 786452, 1, 131075, 786475, 1, 65537, 786476, 1, 65539, 786500, 1, 65536, 852002, 1, 0, 852004, 1, 196609, 852005, 1, 196610, 852006, 1, 196611, 852011, 1, 65537, 852012, 1, 65538, 852013, 1, 2, 852014, 1, 2, 852015, 1, 2, 852016, 1, 2, 852017, 1, 3, 852020, 1, 196609, 852021, 1, 196610, 852022, 1, 196610, 852023, 1, 196611, 852036, 1, 65536, 917510, 3, 0, 917514, 3, 0, 917534, 1, 1, 917535, 1, 2, 917536, 1, 196610, 917537, 1, 196610, 917538, 1, 131075, 917544, 1, 1, 917545, 1, 2, 917546, 1, 2, 917547, 1, 65538, 917548, 1, 65538, 917549, 1, 131074, 917550, 1, 131074, 917551, 1, 131074, 917552, 1, 131074, 917553, 1, 131075, 917572, 1, 65536, 1048575, 1, 196609, 983040, 1, 196611, 983043, 1, 1, 983044, 1, 196610, 983045, 1, 196610, 983046, 1, 196610, 983047, 1, 196610, 983048, 1, 196610, 983049, 1, 196610, 983050, 1, 196610, 983051, 1, 196611, 983070, 1, 65537, 983071, 1, 65539, 983080, 1, 131073, 983081, 1, 131074, 983082, 1, 131074, 983083, 1, 131074, 983084, 1, 131075, 983102, 1, 196609, 983103, 1, 196610, 983104, 1, 196610, 983105, 1, 196610, 983106, 1, 196610, 983107, 1, 196610, 983108, 1, 131074, 983109, 1, 196610, 983110, 1, 196610, 983111, 1, 196610, 983112, 1, 196611, 983113, 0, 196608, 983114, 0, 196608, 983115, 0, 196608, 983116, 1, 0, 1048579, 1, 65536, 1048591, 1, 196609, 1048592, 1, 196610, 1048593, 1, 196610, 1048594, 1, 196610, 1048595, 1, 196610, 1048596, 1, 196610, 1048597, 1, 196610, 1048598, 1, 196610, 1048599, 1, 196610, 1048600, 1, 196610, 1048601, 1, 196610, 1048602, 1, 196610, 1048603, 1, 196610, 1048604, 1, 196610, 1048605, 1, 196610, 1048606, 1, 131074, 1048607, 1, 131075, 1048652, 1, 65536, 1114115, 1, 65536, 1114188, 1, 65536, 1179649, 1, 196609, 1179650, 1, 196610, 1179651, 1, 131075, 1179724, 1, 65536, 1245230, 1, 196609, 1245231, 1, 196610, 1245232, 1, 196610, 1245233, 1, 196610, 1245234, 1, 196611, 1245260, 1, 65536, 1310756, 1, 1, 1310757, 1, 2, 1310758, 1, 2, 1310759, 1, 2, 1310760, 1, 2, 1310761, 1, 2, 1310762, 1, 2, 1310763, 1, 2, 1310764, 1, 3, 1310776, 1, 196609, 1310777, 1, 196610, 1310778, 1, 196610, 1310779, 1, 196611, 1310796, 1, 65536, 1376263, 3, 0, 1376291, 1, 1, 1376292, 1, 65538, 1376293, 1, 65538, 1376294, 1, 65538, 1376295, 1, 65538, 1376296, 1, 65538, 1376297, 1, 65538, 1376298, 1, 65538, 1376299, 1, 65538, 1376300, 1, 65539, 1376307, 1, 1, 1376308, 1, 2, 1376309, 1, 2, 1376310, 1, 3, 1376332, 1, 65536, 1507327, 1, 1, 1441792, 1, 2, 1441793, 1, 2, 1441794, 1, 2, 1441795, 1, 2, 1441796, 1, 2, 1441797, 1, 2, 1441798, 1, 2, 1441799, 1, 2, 1441800, 1, 2, 1441801, 1, 2, 1441802, 1, 2, 1441803, 1, 2, 1441804, 1, 2, 1441805, 1, 2, 1441806, 1, 2, 1441807, 1, 2, 1441808, 1, 2, 1441809, 1, 2, 1441810, 1, 2, 1441811, 1, 2, 1441812, 1, 2, 1441813, 1, 2, 1441814, 1, 2, 1441815, 1, 2, 1441816, 1, 2, 1441817, 1, 2, 1441818, 1, 2, 1441819, 1, 2, 1441820, 1, 2, 1441821, 1, 2, 1441822, 1, 2, 1441823, 1, 2, 1441824, 1, 2, 1441825, 1, 2, 1441826, 1, 2, 1441827, 1, 65538, 1441828, 1, 65538, 1441829, 1, 65538, 1441830, 1, 65538, 1441831, 1, 65538, 1441832, 1, 65538, 1441833, 1, 65538, 1441834, 1, 65538, 1441835, 1, 65538, 1441836, 1, 65538, 1441837, 1, 2, 1441838, 1, 2, 1441839, 1, 2, 1441840, 1, 2, 1441841, 1, 2, 1441842, 1, 2, 1441843, 1, 65538, 1441844, 1, 65538, 1441845, 1, 65538, 1441846, 1, 65538, 1441847, 1, 2, 1441848, 1, 2, 1441849, 1, 2, 1441850, 1, 2, 1441851, 1, 2, 1441852, 1, 2, 1441853, 1, 2, 1441854, 1, 2, 1441855, 1, 2, 1441856, 1, 2, 1441857, 1, 2, 1441858, 1, 2, 1441859, 1, 2, 1441860, 1, 2, 1441861, 1, 2, 1441862, 1, 2, 1441863, 1, 2, 1441864, 1, 2, 1441865, 1, 2, 1441866, 1, 2, 1441867, 1, 2, 1441868, 1, 65538, 1441869, 1, 2, 1441870, 1, 2, 1441871, 1, 2, 1441872, 1, 2, 1441873, 1, 2, 1441874, 1, 2, 1441875, 1, 2, 1441876, 1, 2, 1441877, 1, 2, 1441878, 1, 2, 1441879, 1, 2, 1441880, 1, 2, 1441881, 1, 2, 1441882, 1, 2, 1441883, 1, 2, 1441884, 1, 2, 1441885, 1, 2, 1441886, 1, 2, 1441887, 1, 2, 1441888, 1, 3, 1572863, 1, 65537, 1507328, 1, 65538, 1507329, 1, 65538, 1507330, 1, 65538, 1507331, 1, 65538, 1507332, 1, 65538, 1507333, 1, 65538, 1507334, 1, 65538, 1507335, 1, 65538, 1507336, 1, 65538, 1507337, 1, 65538, 1507338, 1, 65538, 1507339, 1, 65538, 1507340, 1, 65538, 1507341, 1, 65538, 1507342, 1, 65538, 1507343, 1, 65538, 1507344, 1, 65538, 1507345, 1, 65538, 1507346, 1, 65538, 1507347, 1, 65538, 1507348, 1, 65538, 1507349, 1, 65538, 1507350, 1, 65538, 1507351, 1, 65538, 1507352, 1, 65538, 1507353, 1, 65538, 1507354, 1, 65538, 1507355, 1, 65538, 1507356, 1, 65538, 1507357, 1, 65538, 1507358, 1, 65538, 1507359, 1, 65538, 1507360, 1, 65538, 1507361, 1, 65538, 1507362, 1, 65538, 1507363, 1, 65538, 1507364, 1, 65538, 1507365, 1, 65538, 1507366, 1, 65538, 1507367, 1, 65538, 1507368, 1, 65538, 1507369, 1, 65538, 1507370, 1, 65538, 1507371, 1, 65538, 1507372, 1, 65538, 1507373, 1, 65538, 1507374, 1, 65538, 1507375, 1, 65538, 1507376, 1, 65538, 1507377, 1, 65538, 1507378, 1, 65538, 1507379, 1, 65538, 1507380, 1, 65538, 1507381, 1, 65538, 1507382, 1, 65538, 1507383, 1, 65538, 1507384, 1, 65538, 1507385, 1, 65538, 1507386, 1, 65538, 1507387, 1, 65538, 1507388, 1, 65538, 1507389, 1, 65538, 1507390, 1, 65538, 1507391, 1, 65538, 1507392, 1, 65538, 1507393, 1, 65538, 1507394, 1, 65538, 1507395, 1, 65538, 1507396, 1, 65538, 1507397, 1, 65538, 1507398, 1, 65538, 1507399, 1, 65538, 1507400, 1, 65538, 1507401, 1, 65538, 1507402, 1, 65538, 1507403, 1, 65538, 1507404, 1, 65538, 1507405, 1, 65538, 1507406, 1, 65538, 1507407, 1, 65538, 1507408, 1, 65538, 1507409, 1, 65538, 1507410, 1, 65538, 1507411, 1, 65538, 1507412, 1, 65538, 1507413, 1, 65538, 1507414, 1, 65538, 1507415, 1, 65538, 1507416, 1, 65538, 1507417, 1, 65538, 1507418, 1, 65538, 1507419, 1, 65538, 1507420, 1, 65538, 1507421, 1, 65538, 1507422, 1, 65538, 1507423, 1, 65538, 1507424, 1, 65539, 1638399, 1, 131073, 1572864, 1, 131074, 1572865, 1, 131074, 1572866, 1, 131074, 1572867, 1, 131074, 1572868, 1, 131074, 1572869, 1, 131074, 1572870, 1, 131074, 1572871, 1, 131074, 1572872, 1, 131074, 1572873, 1, 131074, 1572874, 1, 131074, 1572875, 1, 131074, 1572876, 1, 131074, 1572877, 1, 131074, 1572878, 1, 131074, 1572879, 1, 131074, 1572880, 1, 131074, 1572881, 1, 131074, 1572882, 1, 131074, 1572883, 1, 131074, 1572884, 1, 131074, 1572885, 1, 131074, 1572886, 1, 131074, 1572887, 1, 131074, 1572888, 1, 131074, 1572889, 1, 131074, 1572890, 1, 131074, 1572891, 1, 131074, 1572892, 1, 131074, 1572893, 1, 131074, 1572894, 1, 131074, 1572895, 1, 131074, 1572896, 1, 131074, 1572897, 1, 131074, 1572898, 1, 131074, 1572899, 1, 131074, 1572900, 1, 131074, 1572901, 1, 131074, 1572902, 1, 131074, 1572903, 1, 131074, 1572904, 1, 131074, 1572905, 1, 131074, 1572906, 1, 131074, 1572907, 1, 131074, 1572908, 1, 131074, 1572909, 1, 131074, 1572910, 1, 131074, 1572911, 1, 131074, 1572912, 1, 131074, 1572913, 1, 131074, 1572914, 1, 131074, 1572915, 1, 131074, 1572916, 1, 131074, 1572917, 1, 131074, 1572918, 1, 131074, 1572919, 1, 131074, 1572920, 1, 131074, 1572921, 1, 131074, 1572922, 1, 131074, 1572923, 1, 131074, 1572924, 1, 131074, 1572925, 1, 131074, 1572926, 1, 131074, 1572927, 1, 131074, 1572928, 1, 131074, 1572929, 1, 131074, 1572930, 1, 131074, 1572931, 1, 131074, 1572932, 1, 131074, 1572933, 1, 131074, 1572934, 1, 131074, 1572935, 1, 131074, 1572936, 1, 131074, 1572937, 1, 131074, 1572938, 1, 131074, 1572939, 1, 131074, 1572940, 1, 131074, 1572941, 1, 131074, 1572942, 1, 131074, 1572943, 1, 131074, 1572944, 1, 131074, 1572945, 1, 131074, 1572946, 1, 131074, 1572947, 1, 131074, 1572948, 1, 131074, 1572949, 1, 131074, 1572950, 1, 131074, 1572951, 1, 131074, 1572952, 1, 131074, 1572953, 1, 131074, 1572954, 1, 131074, 1572955, 1, 131074, 1572956, 1, 131074, 1572957, 1, 131074, 1572958, 1, 131074, 1572959, 1, 131074, 1572960, 1, 131075, 2490371, 1, 0, 2490386, 1, 0, 2555907, 1, 65536, 2555922, 1, 65536, 2621441, 1, 196609, 2621442, 1, 196610, 2621443, 1, 131075, 2621448, 1, 196608, 2621453, 1, 196608, 2621458, 1, 131073, 2621459, 1, 196610, 2621460, 1, 196611, 2686980, 1, 0, 2686993, 1, 0, 2752516, 1, 131072, 2752529, 1, 131072, 2818053, 1, 196608, 2818064, 1, 196608, 2883590, 1, 196609, 2883591, 1, 196610, 2883592, 1, 2, 2883593, 1, 196610, 2883594, 1, 196610, 2883595, 1, 2, 2883596, 1, 196610, 2883597, 1, 2, 2883598, 1, 196610, 2883599, 1, 196611, 2949128, 1, 65536, 2949131, 1, 65536, 2949133, 1, 65536, 3014664, 1, 65536, 3014667, 1, 131072, 3014669, 1, 65536, 3080200, 1, 65536, 3080205, 1, 65536, 3145736, 1, 131072, 3145741, 1, 131072, 3211273, 1, 196609, 3211274, 1, 196610, 3211275, 1, 196610, 3211276, 1, 196611 ) [node name="Ore" type="TileMap" parent="."] tile_set = ExtResource( 2 ) cell_size = Vector2( 8, 8 ) format = 1 -tile_data = PoolIntArray( 524320, 0, 196610, 524323, 0, 196609, 524324, 0, 196609, 589854, 0, 196609, 983071, 0, 196610, 1376294, 0, 196609, 1376295, 0, 196609, 1376298, 0, 196610, 1441828, 0, 196609, 1441846, 0, 196610, 1441851, 0, 196610, 1441860, 0, 196610, 1441876, 0, 196610, 1507337, 0, 196609, 1507341, 0, 196609, 1507346, 0, 196609, 1507347, 0, 196610, 1507354, 0, 196610, 1507364, 0, 196609, 1507365, 0, 196609, 1507370, 0, 196609, 1507373, 0, 196610, 1507376, 0, 196609, 1507377, 0, 196609, 1507378, 0, 196609, 1507386, 0, 196609, 1507393, 0, 196609, 1507401, 0, 196609, 1507402, 0, 196609, 1507406, 0, 196610, 1507409, 0, 196609, 1507410, 0, 196609, 1507418, 0, 196609, 1507421, 0, 196610 ) +tile_data = PoolIntArray( 524320, 0, 196610, 524323, 0, 196609, 524324, 0, 196609, 524347, 0, 196609, 524348, 0, 196609, 524350, 0, 196610, 589854, 0, 196609, 852014, 0, 196610, 917547, 0, 196609, 917552, 0, 196609, 983071, 0, 196610, 1376294, 0, 196609, 1376295, 0, 196609, 1376298, 0, 196610, 1441828, 0, 196609, 1441846, 0, 196610, 1441851, 0, 196610, 1441860, 0, 196610, 1441876, 0, 196610, 1507337, 0, 196609, 1507341, 0, 196609, 1507346, 0, 196609, 1507347, 0, 196610, 1507354, 0, 196610, 1507364, 0, 196609, 1507365, 0, 196609, 1507370, 0, 196609, 1507373, 0, 196610, 1507376, 0, 196609, 1507377, 0, 196609, 1507378, 0, 196609, 1507386, 0, 196609, 1507393, 0, 196609, 1507401, 0, 196609, 1507402, 0, 196609, 1507406, 0, 196610, 1507409, 0, 196609, 1507410, 0, 196609, 1507418, 0, 196609, 1507421, 0, 196610 ) [node name="Player" parent="." instance=ExtResource( 1 )] position = Vector2( 32, 176 ) @@ -77,7 +82,7 @@ tile_set = ExtResource( 22 ) cell_size = Vector2( 8, 8 ) collision_layer = 9 format = 1 -tile_data = PoolIntArray( 524330, 0, 65536, 524333, 0, 65536, 589866, 0, 65537, 589869, 0, 65537, 655402, 0, 65537, 655405, 0, 65537, 655430, 0, 65536, 720938, 0, 65537, 720941, 0, 65537, 720966, 0, 65537, 786445, 0, 65536, 786474, 0, 65537, 786477, 0, 65537, 786502, 0, 65537, 851981, 0, 65537, 852010, 0, 65538, 852013, 0, 65538, 852038, 0, 65537, 917517, 0, 65537, 917574, 0, 65538, 983053, 0, 65537, 1048589, 0, 65537, 1114125, 0, 65537, 1179661, 0, 65537, 1245197, 0, 65537, 1310733, 0, 65537, 1376269, 0, 65538 ) +tile_data = PoolIntArray( 524330, 0, 65536, 524333, 0, 65536, 589866, 0, 65537, 589869, 0, 65537, 589891, 0, 65536, 589893, 0, 65536, 655402, 0, 65537, 655405, 0, 65537, 655427, 0, 65537, 655429, 0, 65537, 720938, 0, 65537, 720941, 0, 65537, 720963, 0, 65537, 720965, 0, 65537, 786445, 0, 65536, 786474, 0, 65537, 786477, 0, 65538, 786499, 0, 65537, 786501, 0, 65537, 851981, 0, 65537, 852010, 0, 65538, 852035, 0, 65537, 852037, 0, 65537, 917517, 0, 65537, 917571, 0, 65538, 917573, 0, 65538, 983053, 0, 65537, 1048589, 0, 65537, 1048651, 0, 65536, 1114125, 0, 65537, 1114187, 0, 65537, 1179661, 0, 65537, 1179723, 0, 65537, 1245197, 0, 65537, 1245259, 0, 65537, 1310733, 0, 65537, 1310795, 0, 65537, 1376269, 0, 65538, 1376331, 0, 65538 ) [node name="Death" type="TileMap" parent="." groups=["death"]] light_mask = 0 @@ -85,7 +90,7 @@ tile_set = ExtResource( 5 ) cell_size = Vector2( 8, 8 ) collision_layer = 32 format = 1 -tile_data = PoolIntArray( 1179695, 1, 0, 1245225, 1, 0 ) +tile_data = PoolIntArray( 1179695, 1, 0, 1245226, 1, 0, 1245240, 1, 0, 1245243, 1, 0 ) [node name="Environment" type="Node2D" parent="."] @@ -95,6 +100,18 @@ position = Vector2( 0, 144 ) [node name="FallingBlock2" parent="Environment" instance=ExtResource( 18 )] position = Vector2( 64, 80 ) +[node name="FallingBlock9" parent="Environment" instance=ExtResource( 18 )] +position = Vector2( 616, 48 ) + +[node name="FallingBlock12" parent="Environment" instance=ExtResource( 18 )] +position = Vector2( 648, 40 ) + +[node name="FallingBlock10" parent="Environment" instance=ExtResource( 18 )] +position = Vector2( 624, 48 ) + +[node name="FallingBlock11" parent="Environment" instance=ExtResource( 18 )] +position = Vector2( 632, 48 ) + [node name="FallingBlock3" parent="Environment" instance=ExtResource( 18 )] position = Vector2( 56, 80 ) @@ -123,13 +140,18 @@ scale = Vector2( 1, 6 ) can_climb_right = false [node name="Ladder4" parent="Environment" instance=ExtResource( 9 )] -position = Vector2( 560, 80 ) -scale = Vector2( 1, 5 ) +position = Vector2( 536, 72 ) +scale = Vector2( 1, 6 ) +can_climb_right = false + +[node name="Ladder5" parent="Environment" instance=ExtResource( 9 )] +position = Vector2( 552, 72 ) +scale = Vector2( 1, 6 ) can_climb_right = false [node name="Ladder3" parent="Environment" instance=ExtResource( 9 )] position = Vector2( 360, 64 ) -scale = Vector2( 1, 6 ) +scale = Vector2( 1, 5 ) can_climb_left = false [node name="Stalactite" parent="Environment" instance=ExtResource( 3 )] @@ -157,14 +179,23 @@ position = Vector2( 176, 96 ) position = Vector2( 208, 96 ) [node name="Stalactite11" parent="Environment" instance=ExtResource( 3 )] -position = Vector2( 312, 120 ) +position = Vector2( 320, 128 ) [node name="Stalactite9" parent="Environment" instance=ExtResource( 3 )] -position = Vector2( 288, 72 ) +position = Vector2( 296, 72 ) [node name="Stalactite10" parent="Environment" instance=ExtResource( 3 )] position = Vector2( 424, 64 ) +[node name="Stalactite13" parent="Environment" instance=ExtResource( 3 )] +position = Vector2( 528, 128 ) + +[node name="Stalactite14" parent="Environment" instance=ExtResource( 3 )] +position = Vector2( 544, 128 ) + +[node name="Stalactite15" parent="Environment" instance=ExtResource( 3 )] +position = Vector2( 560, 128 ) + [node name="Stalactite12" parent="Environment" instance=ExtResource( 3 )] position = Vector2( 408, 16 ) @@ -182,8 +213,8 @@ right_down_boundary = 3.0 [node name="Bat4" parent="Enemies" instance=ExtResource( 10 )] position = Vector2( 480, 104 ) -left_up_boundary = 3.0 -right_down_boundary = 3.0 +left_up_boundary = 4.0 +right_down_boundary = 2.0 [node name="Bat3" parent="Enemies" instance=ExtResource( 10 )] position = Vector2( 20, 64 ) @@ -195,11 +226,17 @@ speed = 60 position = Vector2( 112, 40 ) [node name="RollingFiend3" parent="Enemies" instance=ExtResource( 13 )] -position = Vector2( 288, 96 ) +position = Vector2( 296, 96 ) [node name="RollingFiend4" parent="Enemies" instance=ExtResource( 13 )] position = Vector2( 432, 96 ) +[node name="RollingFiend6" parent="Enemies" instance=ExtResource( 13 )] +position = Vector2( 456, 152 ) + +[node name="RollingFiend7" parent="Enemies" instance=ExtResource( 13 )] +position = Vector2( 584, 40 ) + [node name="RollingFiend5" parent="Enemies" instance=ExtResource( 13 )] position = Vector2( 376, 160 ) @@ -222,13 +259,37 @@ position = Vector2( 192, 120 ) left_up_boundary = 3.0 right_down_boundary = 3.0 +[node name="Tentacle" parent="Enemies" instance=ExtResource( 16 )] +position = Vector2( 576, 152 ) + +[node name="Bat8" parent="Enemies" instance=ExtResource( 10 )] +position = Vector2( 568, 40 ) +left_up_boundary = 4.0 +right_down_boundary = 3.0 + +[node name="Snail5" parent="Enemies" instance=ExtResource( 7 )] +position = Vector2( 696, 48 ) +left_up_boundary = 2.0 +right_down_boundary = 3.0 +slower_speed = 40 +faster_speed = 100 + +[node name="Bat9" parent="Enemies" instance=ExtResource( 10 )] +position = Vector2( 680, 32 ) +left_up_boundary = 3.0 +right_down_boundary = 3.0 + [node name="Collectibles" type="Node2D" parent="."] [node name="Shard" parent="Collectibles" instance=ExtResource( 17 )] position = Vector2( 8, 136 ) [node name="Shard2" parent="Collectibles" instance=ExtResource( 17 )] -position = Vector2( 536, 112 ) +position = Vector2( 520, 112 ) +number = 1 + +[node name="Shard3" parent="Collectibles" instance=ExtResource( 17 )] +position = Vector2( 728, 48 ) number = 1 [node name="Key" parent="Collectibles" instance=ExtResource( 14 )] @@ -250,7 +311,7 @@ position = Vector2( 280, 160 ) position = Vector2( 304, 152 ) [node name="Key31" parent="Collectibles" instance=ExtResource( 14 )] -position = Vector2( 336, 152 ) +position = Vector2( 344, 152 ) [node name="Key32" parent="Collectibles" instance=ExtResource( 14 )] position = Vector2( 360, 144 ) @@ -304,7 +365,7 @@ position = Vector2( 216, 120 ) position = Vector2( 240, 104 ) [node name="Key22" parent="Collectibles" instance=ExtResource( 14 )] -position = Vector2( 376, 104 ) +position = Vector2( 376, 96 ) [node name="Key25" parent="Collectibles" instance=ExtResource( 14 )] position = Vector2( 376, 48 ) @@ -337,13 +398,23 @@ position = Vector2( 152, 120 ) position = Vector2( 128, 88 ) [node name="Star2" parent="Collectibles" instance=ExtResource( 15 )] -position = Vector2( 384, 168 ) +position = Vector2( 392, 168 ) color = 2 [node name="Star3" parent="Collectibles" instance=ExtResource( 15 )] position = Vector2( 320, 104 ) color = 1 +[node name="Star4" parent="Collectibles" instance=ExtResource( 15 )] +position = Vector2( 592, 168 ) +color = 3 + +[node name="Arrow" parent="Collectibles" instance=ExtResource( 20 )] +position = Vector2( 124, 40 ) + +[node name="Arrow2" parent="Collectibles" instance=ExtResource( 20 )] +position = Vector2( 720, 72 ) + [node name="StaticBody2D" type="StaticBody2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] @@ -375,5 +446,5 @@ __meta__ = { } [node name="Exit" parent="." instance=ExtResource( 24 )] -position = Vector2( 752, 116 ) +position = Vector2( 752, 160 ) cost = 25 diff --git a/maps/test_room.tscn b/maps/test_room.tscn index e875f64..dec673d 100644 --- a/maps/test_room.tscn +++ b/maps/test_room.tscn @@ -1,7 +1,6 @@ [gd_scene load_steps=32 format=2] [ext_resource path="res://tilesets/t_death.tres" type="TileSet" id=1] -[ext_resource path="res://tilesets/t_cave.tres" type="TileSet" id=2] [ext_resource path="res://tilesets/t_mountain.tres" type="TileSet" id=3] [ext_resource path="res://objects/hud/hud.tscn" type="PackedScene" id=4] [ext_resource path="res://objects/enemy/roboturret.tscn" type="PackedScene" id=5] @@ -27,6 +26,7 @@ [ext_resource path="res://objects/enemy/cop.tscn" type="PackedScene" id=25] [ext_resource path="res://objects/environment/turret/turret_bullet.tscn" type="PackedScene" id=26] [ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=27] +[ext_resource path="res://tilesets/t_ladders.tres" type="TileSet" id=28] [sub_resource type="ShaderMaterial" id=4] shader = ExtResource( 17 ) @@ -83,7 +83,7 @@ position = Vector2( 264, 160 ) position = Vector2( 104, 120 ) [node name="Ladder" type="TileMap" parent="."] -tile_set = ExtResource( 2 ) +tile_set = ExtResource( 28 ) cell_size = Vector2( 8, 8 ) collision_layer = 9 format = 1 @@ -116,17 +116,12 @@ position = Vector2( 32, 72 ) up_boundary = 3.0 down_boundary = 3.0 -[node name="Tin3" parent="." instance=ExtResource( 20 )] -position = Vector2( 96, 72 ) -up_boundary = 3.0 -down_boundary = 3.0 -move_direction = 1 - [node name="RollingFiend" parent="." instance=ExtResource( 22 )] position = Vector2( 48, 120 ) [node name="AnimatedSprite" parent="RollingFiend" index="0"] visible = false +frame = 1 [node name="SawTest2" type="AnimatedSprite" parent="RollingFiend"] material = SubResource( 4 ) diff --git a/scripts/fix_parallax_background.gd b/scripts/fix_parallax_background.gd new file mode 100644 index 0000000..401ddfb --- /dev/null +++ b/scripts/fix_parallax_background.gd @@ -0,0 +1,20 @@ +extends ParallaxBackground + +func revert_offset(layer: ParallaxLayer) -> void: + # Cancel out layer's offset. The layer's position already has + # its motion_scale applied. + var ofs := scroll_offset - layer.position + if not scroll_ignore_camera_zoom: + # When attention is given to the camera's zoom, we need to account for it. + # We can use viewport's canvas transform scale to which the camera has + # already applied its zoom. + var canvas_scale = get_viewport().canvas_transform.get_scale() + # This is taken from godot source: parallax_background.cpp + # I don't know why it works. + ofs /= canvas_scale.dot(Vector2(0.5, 0.5)) + layer.motion_offset = ofs + +func _ready() -> void: + for layer in get_children(): + if layer is ParallaxLayer: + revert_offset(layer) diff --git a/tilesets/t_cave.tres b/tilesets/t_cave.tres index 7882736..f3eb607 100644 --- a/tilesets/t_cave.tres +++ b/tilesets/t_cave.tres @@ -16,7 +16,7 @@ points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 ) points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 ) [sub_resource type="ConvexPolygonShape2D" id=27] -points = PoolVector2Array( 8, 2, 0, 2, 0, 2, 8, 2 ) +points = PoolVector2Array( 8, 0, 0, 0, 0, 0, 8, 0 ) [sub_resource type="ConvexPolygonShape2D" id=5] points = PoolVector2Array( 0, 0, 8, 0, 8, 8, 0, 8 )