diff --git a/.import/pal_penny.png-2878f646b27e25b7bf3c37aa3de7b04b.md5 b/.import/pal_penny.png-2878f646b27e25b7bf3c37aa3de7b04b.md5 index 5c4d4bd..42903c0 100644 --- a/.import/pal_penny.png-2878f646b27e25b7bf3c37aa3de7b04b.md5 +++ b/.import/pal_penny.png-2878f646b27e25b7bf3c37aa3de7b04b.md5 @@ -1,3 +1,3 @@ -source_md5="35e1cb52d249ae86ed8d849e774299c7" -dest_md5="87668e025f6620c2ce77d1f869b1b118" +source_md5="1c29c7c981140e33a1f098dced089402" +dest_md5="12c36ec724f1dfc72bc17c966aba579d" diff --git a/.import/pal_penny.png-2878f646b27e25b7bf3c37aa3de7b04b.stex b/.import/pal_penny.png-2878f646b27e25b7bf3c37aa3de7b04b.stex index 0e55fe7..5f13a13 100644 Binary files a/.import/pal_penny.png-2878f646b27e25b7bf3c37aa3de7b04b.stex and b/.import/pal_penny.png-2878f646b27e25b7bf3c37aa3de7b04b.stex differ diff --git a/graphics/collectibles/30385.png b/graphics/collectibles/30385.png index 86dda10..173f2d1 100644 Binary files a/graphics/collectibles/30385.png and b/graphics/collectibles/30385.png differ diff --git a/graphics/collectibles/pal_penny.png b/graphics/collectibles/pal_penny.png index 696e663..ff612e2 100644 Binary files a/graphics/collectibles/pal_penny.png and b/graphics/collectibles/pal_penny.png differ diff --git a/maps/cave.tscn b/maps/cave.tscn index fd81ad2..6bed571 100644 --- a/maps/cave.tscn +++ b/maps/cave.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=25 format=2] +[gd_scene load_steps=26 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] @@ -23,6 +23,7 @@ [ext_resource path="res://objects/environment/turniwood/turniwood.tscn" type="PackedScene" id=21] [ext_resource path="res://objects/environment/death tile/death_tile.tscn" type="PackedScene" 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] [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 4, 96 ) @@ -48,7 +49,7 @@ tile_set = ExtResource( 2 ) cell_size = Vector2( 8, 8 ) collision_layer = 9 format = 1 -tile_data = PoolIntArray( 131155, 0, 65537, 131156, 0, 65537, 196644, 0, 65537, 196645, 0, 65537, 196646, 0, 65537, 262153, 0, 65537, 262154, 0, 65537, 262155, 0, 65537, 262156, 0, 0, 262159, 0, 65537, 262160, 0, 65537, 262161, 0, 65537, 262162, 0, 65537, 262163, 0, 65537, 262164, 0, 65537, 262165, 0, 65537, 262216, 0, 65537, 262217, 0, 65537, 262218, 0, 65537, 262229, 0, 65537, 262230, 0, 65537, 262231, 0, 65537, 262232, 0, 65537, 262233, 0, 65537, 262234, 0, 65537, 327685, 0, 65537, 327686, 0, 65537, 327687, 0, 65537, 327692, 0, 0, 327771, 0, 65537, 327772, 0, 65537, 327773, 0, 65537, 393228, 0, 0, 393258, 0, 65537, 393259, 0, 65537, 393260, 0, 65537, 393263, 0, 65537, 393264, 0, 65537, 393265, 0, 65537, 393269, 0, 65537, 393270, 0, 65537, 393271, 0, 65537, 393272, 0, 65537, 393273, 0, 65537, 393274, 0, 65537, 393275, 0, 65537, 393276, 0, 65537, 393277, 0, 65537, 393279, 0, 0, 393280, 0, 65537, 393281, 0, 65537, 393282, 0, 65537, 393283, 0, 65537, 393284, 0, 65537, 393285, 0, 65537, 393292, 0, 65537, 458763, 0, 65537, 458764, 0, 65537, 458774, 0, 65537, 458775, 0, 65537, 458776, 0, 65537, 458777, 0, 65537, 458778, 0, 65537, 458779, 0, 65537, 458782, 0, 65537, 458783, 0, 65537, 458784, 0, 65537, 458785, 0, 65537, 458786, 0, 65537, 458787, 0, 65537, 458815, 0, 0, 524351, 0, 0, 720896, 0, 65537, 720897, 0, 65537, 720898, 0, 65537, 720899, 0, 65537, 720900, 0, 65537, 720901, 0, 65537, 720902, 0, 65537, 720903, 0, 65537, 720904, 0, 65537, 720919, 0, 0, 786455, 0, 65537, 786456, 0, 65537, 786457, 0, 65537, 786458, 0, 0, 786464, 0, 65537, 786465, 0, 65537, 786466, 0, 65537, 786467, 0, 65537, 786468, 0, 65537, 786469, 0, 65537, 786477, 0, 65537, 786478, 0, 65537, 786479, 0, 65537, 786480, 0, 65537, 786481, 0, 65537, 786482, 0, 65537, 786485, 0, 65537, 786486, 0, 65537, 786487, 0, 65537, 786488, 0, 65537, 786489, 0, 65537, 786490, 0, 65537, 786491, 0, 65537, 786494, 0, 0, 786495, 0, 0, 786496, 0, 65537, 786497, 0, 65537, 786498, 0, 65537, 786499, 0, 65537, 786500, 0, 65537, 786501, 0, 65537, 786502, 0, 65537, 786503, 0, 65537, 786504, 0, 65537, 786505, 0, 65537, 786506, 0, 65537, 786507, 0, 65537, 786508, 0, 65537, 786509, 0, 65537, 786510, 0, 65537, 786511, 0, 65537, 786512, 0, 65537, 786513, 0, 65537, 786514, 0, 65537, 786515, 0, 65537, 786516, 0, 65537, 786517, 0, 65537, 786518, 0, 65537, 786519, 0, 65537, 786520, 0, 65537, 786521, 0, 65537, 786522, 0, 65537, 786523, 0, 65537, 786524, 0, 65537, 786525, 0, 65537, 786526, 0, 65537, 786527, 0, 65537, 851983, 0, 65537, 851984, 0, 65537, 851985, 0, 65537, 851986, 0, 65537, 851987, 0, 65537, 851988, 0, 65537, 851989, 0, 65537, 851994, 0, 0, 852030, 0, 0, 852031, 0, 0, 917530, 0, 0, 917566, 0, 0, 917567, 0, 0, 983040, 0, 65537, 983041, 0, 65537, 983044, 0, 0, 983045, 0, 65537, 983046, 0, 65537, 983047, 0, 65537, 983048, 0, 65537, 983049, 0, 65537, 983050, 0, 65537, 983051, 0, 65537, 983066, 0, 0, 983102, 0, 0, 983103, 0, 0, 1048580, 0, 0, 1048591, 0, 65537, 1048592, 0, 65537, 1048593, 0, 65537, 1048594, 0, 65537, 1048595, 0, 65537, 1048596, 0, 65537, 1048597, 0, 65537, 1048598, 0, 65537, 1048599, 0, 65537, 1048600, 0, 65537, 1048601, 0, 65537, 1048602, 0, 65537, 1048607, 0, 131072, 1048608, 0, 0, 1048609, 0, 0, 1048610, 0, 0, 1048611, 0, 0, 1048612, 0, 0, 1048613, 0, 131073, 1048617, 0, 131072, 1048618, 0, 0, 1048619, 0, 0, 1048620, 0, 0, 1048621, 0, 0, 1048622, 0, 0, 1048623, 0, 0, 1048624, 0, 0, 1048625, 0, 0, 1048626, 0, 0, 1048627, 0, 0, 1048628, 0, 0, 1048629, 0, 0, 1048630, 0, 0, 1048631, 0, 131073, 1048633, 0, 196610, 1048638, 0, 0, 1048639, 0, 0, 1114116, 0, 0, 1114143, 0, 0, 1114144, 0, 0, 1114145, 0, 0, 1114146, 0, 0, 1114147, 0, 0, 1114148, 0, 0, 1114149, 0, 0, 1114153, 0, 0, 1114154, 0, 0, 1114155, 0, 0, 1114156, 0, 0, 1114157, 0, 0, 1114158, 0, 0, 1114159, 0, 65537, 1114160, 0, 65537, 1114161, 0, 0, 1114162, 0, 0, 1114163, 0, 0, 1114164, 0, 65537, 1114165, 0, 65537, 1114166, 0, 0, 1114167, 0, 0, 1114168, 0, 131073, 1114169, 0, 196608, 1114174, 0, 0, 1114175, 0, 0, 1179649, 0, 65537, 1179650, 0, 65537, 1179651, 0, 65537, 1179652, 0, 65537, 1179678, 0, 131072, 1179679, 0, 0, 1179680, 0, 0, 1179681, 0, 0, 1179682, 0, 0, 1179683, 0, 0, 1179684, 0, 0, 1179685, 0, 0, 1179689, 0, 0, 1179690, 0, 0, 1179691, 0, 0, 1179692, 0, 0, 1179693, 0, 0, 1179694, 0, 0, 1179697, 0, 0, 1179698, 0, 0, 1179699, 0, 0, 1179702, 0, 0, 1179703, 0, 0, 1179704, 0, 0, 1179705, 0, 196608, 1179710, 0, 0, 1179711, 0, 0, 1245192, 0, 65537, 1245193, 0, 65537, 1245194, 0, 65537, 1245195, 0, 65537, 1245200, 0, 65537, 1245201, 0, 65537, 1245202, 0, 65537, 1245203, 0, 65537, 1245213, 0, 131072, 1245214, 0, 0, 1245215, 0, 0, 1245216, 0, 0, 1245217, 0, 0, 1245218, 0, 0, 1245219, 0, 0, 1245220, 0, 0, 1245221, 0, 0, 1245225, 0, 65537, 1245226, 0, 65537, 1245227, 0, 65537, 1245228, 0, 65537, 1245229, 0, 65537, 1245230, 0, 65537, 1245233, 0, 65537, 1245234, 0, 65537, 1245235, 0, 65537, 1245238, 0, 0, 1245239, 0, 0, 1245240, 0, 0, 1245241, 0, 196608, 1310749, 0, 0, 1310750, 0, 0, 1310751, 0, 0, 1310752, 0, 0, 1310753, 0, 0, 1310754, 0, 0, 1310755, 0, 0, 1310756, 0, 0, 1310757, 0, 0, 1310774, 0, 0, 1310775, 0, 0, 1310776, 0, 0, 1310777, 0, 196608, 1376268, 0, 262144, 1376274, 0, 262144, 1376284, 0, 262144, 1376285, 0, 0, 1376286, 0, 0, 1376287, 0, 0, 1376288, 0, 0, 1376289, 0, 0, 1376290, 0, 0, 1376291, 0, 0, 1376292, 0, 0, 1376293, 0, 0, 1376310, 0, 0, 1376311, 0, 0, 1376312, 0, 0, 1376313, 0, 196609, 1441792, 0, 0, 1441793, 0, 0, 1441794, 0, 0, 1441795, 0, 0, 1441796, 0, 0, 1441797, 0, 0, 1441798, 0, 0, 1441799, 0, 0, 1441800, 0, 0, 1441801, 0, 0, 1441802, 0, 0, 1441803, 0, 0, 1441804, 0, 0, 1441805, 0, 0, 1441806, 0, 0, 1441807, 0, 0, 1441808, 0, 0, 1441809, 0, 0, 1441810, 0, 0, 1441811, 0, 0, 1441812, 0, 0, 1441813, 0, 0, 1441814, 0, 0, 1441815, 0, 0, 1441816, 0, 0, 1441817, 0, 0, 1441818, 0, 0, 1441819, 0, 0, 1441820, 0, 0, 1441821, 0, 0, 1441822, 0, 0, 1441823, 0, 0, 1441824, 0, 0, 1441825, 0, 0, 1441826, 0, 0, 1441827, 0, 0, 1441828, 0, 0, 1441829, 0, 0, 1441830, 0, 0, 1441831, 0, 0, 1441832, 0, 0, 1441833, 0, 0, 1441834, 0, 0, 1441835, 0, 0, 1441836, 0, 0, 1441837, 0, 0, 1441838, 0, 0, 1441839, 0, 0, 1441840, 0, 0, 1441841, 0, 0, 1441842, 0, 0, 1441843, 0, 0, 1441844, 0, 0, 1441845, 0, 0, 1441846, 0, 0, 1441847, 0, 0, 1441848, 0, 0, 1441849, 0, 0, 1441850, 0, 0, 1441851, 0, 0, 1441852, 0, 0, 1441853, 0, 0, 1441854, 0, 0, 1441855, 0, 0, 1441856, 0, 0, 1441857, 0, 0, 1441858, 0, 0, 1441859, 0, 0, 1441860, 0, 0, 1441861, 0, 0, 1441862, 0, 0, 1441863, 0, 0, 1441864, 0, 0, 1441865, 0, 0, 1441866, 0, 0, 1441867, 0, 0, 1441868, 0, 0, 1441869, 0, 0, 1441870, 0, 0, 1441871, 0, 0, 1441872, 0, 0, 1441873, 0, 0, 1441874, 0, 0, 1441875, 0, 0, 1441876, 0, 0, 1441877, 0, 0, 1441878, 0, 0, 1441879, 0, 0, 1441880, 0, 0, 1441881, 0, 0, 1441882, 0, 0, 1441883, 0, 0, 1441884, 0, 0, 1441885, 0, 0, 1441886, 0, 0, 1441887, 0, 0, 1507328, 0, 0, 1507329, 0, 0, 1507330, 0, 0, 1507331, 0, 0, 1507332, 0, 0, 1507333, 0, 0, 1507334, 0, 0, 1507335, 0, 0, 1507336, 0, 0, 1507337, 0, 0, 1507338, 0, 0, 1507339, 0, 0, 1507340, 0, 0, 1507341, 0, 0, 1507342, 0, 0, 1507343, 0, 0, 1507344, 0, 0, 1507345, 0, 0, 1507346, 0, 0, 1507347, 0, 0, 1507348, 0, 0, 1507349, 0, 0, 1507350, 0, 0, 1507351, 0, 0, 1507352, 0, 0, 1507353, 0, 0, 1507354, 0, 0, 1507355, 0, 0, 1507356, 0, 0, 1507357, 0, 0, 1507358, 0, 0, 1507359, 0, 0, 1507360, 0, 0, 1507361, 0, 0, 1507362, 0, 0, 1507363, 0, 0, 1507364, 0, 0, 1507365, 0, 0, 1507366, 0, 0, 1507367, 0, 0, 1507368, 0, 0, 1507369, 0, 0, 1507370, 0, 0, 1507371, 0, 0, 1507372, 0, 0, 1507373, 0, 0, 1507374, 0, 0, 1507375, 0, 0, 1507376, 0, 0, 1507377, 0, 0, 1507378, 0, 0, 1507379, 0, 0, 1507380, 0, 0, 1507381, 0, 0, 1507382, 0, 0, 1507383, 0, 0, 1507384, 0, 0, 1507385, 0, 0, 1507386, 0, 0, 1507387, 0, 0, 1507388, 0, 0, 1507389, 0, 0, 1507390, 0, 0, 1507391, 0, 0, 1507392, 0, 0, 1507393, 0, 0, 1507394, 0, 0, 1507395, 0, 0, 1507396, 0, 0, 1507397, 0, 0, 1507398, 0, 0, 1507399, 0, 0, 1507400, 0, 0, 1507401, 0, 0, 1507402, 0, 0, 1507403, 0, 0, 1507404, 0, 0, 1507405, 0, 0, 1507406, 0, 0, 1507407, 0, 0, 1507408, 0, 0, 1507409, 0, 0, 1507410, 0, 0, 1507411, 0, 0, 1507412, 0, 0, 1507413, 0, 0, 1507414, 0, 0, 1507415, 0, 0, 1507416, 0, 0, 1507417, 0, 0, 1507418, 0, 0, 1507419, 0, 0, 1507420, 0, 0, 1507421, 0, 0, 1507422, 0, 0, 1507423, 0, 0 ) +tile_data = PoolIntArray( 36, 0, 0, 65572, 0, 0, 131108, 0, 0, 131155, 0, 65537, 131156, 0, 65537, 196644, 0, 65537, 196645, 0, 65537, 196646, 0, 65537, 262153, 0, 65537, 262154, 0, 65537, 262155, 0, 65537, 262156, 0, 0, 262159, 0, 65537, 262160, 0, 65537, 262161, 0, 65537, 262162, 0, 65537, 262163, 0, 65537, 262164, 0, 65537, 262165, 0, 65537, 262216, 0, 65537, 262217, 0, 65537, 262218, 0, 65537, 262229, 0, 65537, 262230, 0, 65537, 262231, 0, 65537, 262232, 0, 65537, 262233, 0, 65537, 262234, 0, 65537, 327685, 0, 65537, 327686, 0, 65537, 327687, 0, 65537, 327692, 0, 0, 327771, 0, 65537, 327772, 0, 65537, 327773, 0, 65537, 393228, 0, 0, 393258, 0, 65537, 393259, 0, 65537, 393260, 0, 65537, 393263, 0, 65537, 393264, 0, 65537, 393265, 0, 65537, 393269, 0, 65537, 393270, 0, 65537, 393271, 0, 65537, 393272, 0, 65537, 393273, 0, 65537, 393274, 0, 65537, 393275, 0, 65537, 393276, 0, 65537, 393277, 0, 65537, 393279, 0, 0, 393280, 0, 65537, 393281, 0, 65537, 393282, 0, 65537, 393283, 0, 65537, 393284, 0, 65537, 393285, 0, 65537, 393292, 0, 65537, 458763, 0, 65537, 458764, 0, 65537, 458774, 0, 65537, 458775, 0, 65537, 458776, 0, 65537, 458777, 0, 65537, 458778, 0, 65537, 458779, 0, 65537, 458782, 0, 65537, 458783, 0, 65537, 458784, 0, 65537, 458785, 0, 65537, 458786, 0, 65537, 458787, 0, 65537, 458815, 0, 0, 524351, 0, 0, 720896, 0, 65537, 720897, 0, 65537, 720898, 0, 65537, 720899, 0, 65537, 720900, 0, 65537, 720901, 0, 65537, 720902, 0, 65537, 720903, 0, 65537, 720904, 0, 65537, 720919, 0, 0, 786455, 0, 65537, 786456, 0, 65537, 786457, 0, 65537, 786458, 0, 0, 786464, 0, 65537, 786465, 0, 65537, 786466, 0, 65537, 786467, 0, 65537, 786468, 0, 65537, 786469, 0, 65537, 786477, 0, 65537, 786478, 0, 65537, 786479, 0, 65537, 786480, 0, 65537, 786481, 0, 65537, 786482, 0, 65537, 786485, 0, 65537, 786486, 0, 65537, 786487, 0, 65537, 786488, 0, 65537, 786489, 0, 65537, 786490, 0, 65537, 786491, 0, 65537, 786494, 0, 0, 786495, 0, 0, 786496, 0, 65537, 786497, 0, 65537, 786498, 0, 65537, 786499, 0, 65537, 786500, 0, 65537, 786501, 0, 65537, 786502, 0, 65537, 786503, 0, 65537, 786504, 0, 65537, 786505, 0, 65537, 786506, 0, 65537, 786507, 0, 65537, 786508, 0, 65537, 786509, 0, 65537, 786510, 0, 65537, 786511, 0, 65537, 786512, 0, 65537, 786513, 0, 65537, 786514, 0, 65537, 786515, 0, 65537, 786516, 0, 65537, 786517, 0, 65537, 786518, 0, 65537, 786519, 0, 65537, 786520, 0, 65537, 786521, 0, 0, 786522, 0, 196610, 786526, 0, 65537, 786527, 0, 65537, 851983, 0, 65537, 851984, 0, 65537, 851985, 0, 65537, 851986, 0, 65537, 851987, 0, 65537, 851988, 0, 65537, 851989, 0, 65537, 851994, 0, 0, 852030, 0, 0, 852031, 0, 0, 852057, 0, 0, 852058, 0, 196608, 917530, 0, 0, 917566, 0, 0, 917567, 0, 0, 917593, 0, 0, 917594, 0, 196608, 983040, 0, 65537, 983041, 0, 65537, 983044, 0, 0, 983045, 0, 65537, 983046, 0, 65537, 983047, 0, 65537, 983048, 0, 65537, 983049, 0, 65537, 983050, 0, 65537, 983051, 0, 65537, 983066, 0, 0, 983102, 0, 0, 983103, 0, 0, 983129, 0, 0, 983130, 0, 196609, 1048580, 0, 0, 1048591, 0, 65537, 1048592, 0, 65537, 1048593, 0, 65537, 1048594, 0, 65537, 1048595, 0, 65537, 1048596, 0, 65537, 1048597, 0, 65537, 1048598, 0, 65537, 1048599, 0, 65537, 1048600, 0, 65537, 1048601, 0, 65537, 1048602, 0, 65537, 1048607, 0, 131072, 1048608, 0, 0, 1048609, 0, 0, 1048610, 0, 0, 1048611, 0, 0, 1048612, 0, 0, 1048613, 0, 131073, 1048617, 0, 131072, 1048618, 0, 0, 1048619, 0, 0, 1048620, 0, 0, 1048621, 0, 0, 1048622, 0, 0, 1048623, 0, 0, 1048624, 0, 0, 1048625, 0, 0, 1048626, 0, 0, 1048627, 0, 0, 1048628, 0, 0, 1048629, 0, 0, 1048630, 0, 0, 1048631, 0, 131073, 1048633, 0, 196610, 1048638, 0, 0, 1048639, 0, 0, 1048648, 0, 65537, 1048649, 0, 65537, 1048650, 0, 65537, 1048651, 0, 65537, 1048665, 0, 65537, 1048666, 0, 65537, 1048667, 0, 65537, 1048668, 0, 65537, 1048669, 0, 65537, 1048670, 0, 65537, 1048671, 0, 65537, 1114116, 0, 0, 1114143, 0, 0, 1114144, 0, 0, 1114145, 0, 0, 1114146, 0, 0, 1114147, 0, 0, 1114148, 0, 0, 1114149, 0, 0, 1114153, 0, 0, 1114154, 0, 0, 1114155, 0, 0, 1114156, 0, 0, 1114157, 0, 0, 1114158, 0, 0, 1114159, 0, 65537, 1114160, 0, 65537, 1114161, 0, 0, 1114162, 0, 0, 1114163, 0, 0, 1114164, 0, 65537, 1114165, 0, 65537, 1114166, 0, 0, 1114167, 0, 0, 1114168, 0, 131073, 1114169, 0, 196608, 1114174, 0, 0, 1114175, 0, 0, 1114190, 0, 65537, 1114191, 0, 65537, 1114194, 0, 65537, 1114195, 0, 65537, 1114196, 0, 65537, 1114197, 0, 65537, 1114198, 0, 0, 1179649, 0, 65537, 1179650, 0, 65537, 1179651, 0, 65537, 1179652, 0, 65537, 1179678, 0, 131072, 1179679, 0, 0, 1179680, 0, 0, 1179681, 0, 0, 1179682, 0, 0, 1179683, 0, 0, 1179684, 0, 0, 1179685, 0, 0, 1179689, 0, 0, 1179690, 0, 0, 1179691, 0, 0, 1179692, 0, 0, 1179693, 0, 0, 1179694, 0, 0, 1179697, 0, 0, 1179698, 0, 0, 1179699, 0, 0, 1179702, 0, 0, 1179703, 0, 0, 1179704, 0, 0, 1179705, 0, 196608, 1179710, 0, 0, 1179711, 0, 0, 1179734, 0, 0, 1245192, 0, 65537, 1245193, 0, 65537, 1245194, 0, 65537, 1245195, 0, 65537, 1245213, 0, 131072, 1245214, 0, 0, 1245215, 0, 0, 1245216, 0, 0, 1245217, 0, 0, 1245218, 0, 0, 1245219, 0, 0, 1245220, 0, 0, 1245221, 0, 0, 1245225, 0, 65537, 1245226, 0, 65537, 1245227, 0, 65537, 1245228, 0, 65537, 1245229, 0, 65537, 1245230, 0, 65537, 1245233, 0, 65537, 1245234, 0, 65537, 1245235, 0, 65537, 1245238, 0, 0, 1245239, 0, 0, 1245240, 0, 0, 1245241, 0, 196608, 1245270, 0, 65537, 1245271, 0, 65537, 1245272, 0, 65537, 1245273, 0, 65537, 1245274, 0, 65537, 1245275, 0, 65537, 1245276, 0, 65537, 1245277, 0, 65537, 1245278, 0, 65537, 1245279, 0, 65537, 1310749, 0, 0, 1310750, 0, 0, 1310751, 0, 0, 1310752, 0, 0, 1310753, 0, 0, 1310754, 0, 0, 1310755, 0, 0, 1310756, 0, 0, 1310757, 0, 0, 1310774, 0, 0, 1310775, 0, 0, 1310776, 0, 0, 1310777, 0, 196608, 1376268, 0, 262144, 1376274, 0, 262144, 1376284, 0, 262144, 1376285, 0, 0, 1376286, 0, 0, 1376287, 0, 0, 1376288, 0, 0, 1376289, 0, 0, 1376290, 0, 0, 1376291, 0, 0, 1376292, 0, 0, 1376293, 0, 0, 1376310, 0, 0, 1376311, 0, 0, 1376312, 0, 0, 1376313, 0, 196609, 1441792, 0, 0, 1441793, 0, 0, 1441794, 0, 0, 1441795, 0, 0, 1441796, 0, 0, 1441797, 0, 0, 1441798, 0, 0, 1441799, 0, 0, 1441800, 0, 0, 1441801, 0, 0, 1441802, 0, 0, 1441803, 0, 0, 1441804, 0, 0, 1441805, 0, 0, 1441806, 0, 0, 1441807, 0, 0, 1441808, 0, 0, 1441809, 0, 0, 1441810, 0, 0, 1441811, 0, 0, 1441812, 0, 0, 1441813, 0, 0, 1441814, 0, 0, 1441815, 0, 0, 1441816, 0, 0, 1441817, 0, 0, 1441818, 0, 0, 1441819, 0, 0, 1441820, 0, 0, 1441821, 0, 0, 1441822, 0, 0, 1441823, 0, 0, 1441824, 0, 0, 1441825, 0, 0, 1441826, 0, 0, 1441827, 0, 0, 1441828, 0, 0, 1441829, 0, 0, 1441830, 0, 0, 1441831, 0, 0, 1441832, 0, 0, 1441833, 0, 0, 1441834, 0, 0, 1441835, 0, 0, 1441836, 0, 0, 1441837, 0, 0, 1441838, 0, 0, 1441839, 0, 0, 1441840, 0, 0, 1441841, 0, 0, 1441842, 0, 0, 1441843, 0, 0, 1441844, 0, 0, 1441845, 0, 0, 1441846, 0, 0, 1441847, 0, 0, 1441848, 0, 0, 1441849, 0, 0, 1441850, 0, 0, 1441851, 0, 0, 1441852, 0, 0, 1441853, 0, 0, 1441854, 0, 0, 1441855, 0, 0, 1441856, 0, 0, 1441857, 0, 0, 1441858, 0, 0, 1441859, 0, 0, 1441860, 0, 0, 1441861, 0, 0, 1441862, 0, 0, 1441863, 0, 0, 1441864, 0, 0, 1441865, 0, 0, 1441866, 0, 0, 1441867, 0, 0, 1441868, 0, 0, 1441869, 0, 0, 1441870, 0, 0, 1441871, 0, 0, 1441872, 0, 0, 1441873, 0, 0, 1441874, 0, 0, 1441875, 0, 0, 1441876, 0, 0, 1441877, 0, 0, 1441878, 0, 0, 1441879, 0, 0, 1441880, 0, 0, 1441881, 0, 0, 1441882, 0, 0, 1441883, 0, 0, 1441884, 0, 0, 1441885, 0, 0, 1441886, 0, 0, 1441887, 0, 0, 1507328, 0, 0, 1507329, 0, 0, 1507330, 0, 0, 1507331, 0, 0, 1507332, 0, 0, 1507333, 0, 0, 1507334, 0, 0, 1507335, 0, 0, 1507336, 0, 0, 1507337, 0, 0, 1507338, 0, 0, 1507339, 0, 0, 1507340, 0, 0, 1507341, 0, 0, 1507342, 0, 0, 1507343, 0, 0, 1507344, 0, 0, 1507345, 0, 0, 1507346, 0, 0, 1507347, 0, 0, 1507348, 0, 0, 1507349, 0, 0, 1507350, 0, 0, 1507351, 0, 0, 1507352, 0, 0, 1507353, 0, 0, 1507354, 0, 0, 1507355, 0, 0, 1507356, 0, 0, 1507357, 0, 0, 1507358, 0, 0, 1507359, 0, 0, 1507360, 0, 0, 1507361, 0, 0, 1507362, 0, 0, 1507363, 0, 0, 1507364, 0, 0, 1507365, 0, 0, 1507366, 0, 0, 1507367, 0, 0, 1507368, 0, 0, 1507369, 0, 0, 1507370, 0, 0, 1507371, 0, 0, 1507372, 0, 0, 1507373, 0, 0, 1507374, 0, 0, 1507375, 0, 0, 1507376, 0, 0, 1507377, 0, 0, 1507378, 0, 0, 1507379, 0, 0, 1507380, 0, 0, 1507381, 0, 0, 1507382, 0, 0, 1507383, 0, 0, 1507384, 0, 0, 1507385, 0, 0, 1507386, 0, 0, 1507387, 0, 0, 1507388, 0, 0, 1507389, 0, 0, 1507390, 0, 0, 1507391, 0, 0, 1507392, 0, 0, 1507393, 0, 0, 1507394, 0, 0, 1507395, 0, 0, 1507396, 0, 0, 1507397, 0, 0, 1507398, 0, 0, 1507399, 0, 0, 1507400, 0, 0, 1507401, 0, 0, 1507402, 0, 0, 1507403, 0, 0, 1507404, 0, 0, 1507405, 0, 0, 1507406, 0, 0, 1507407, 0, 0, 1507408, 0, 0, 1507409, 0, 0, 1507410, 0, 0, 1507411, 0, 0, 1507412, 0, 0, 1507413, 0, 0, 1507414, 0, 0, 1507415, 0, 0, 1507416, 0, 0, 1507417, 0, 0, 1507418, 0, 0, 1507419, 0, 0, 1507420, 0, 0, 1507421, 0, 0, 1507422, 0, 0, 1507423, 0, 0 ) [node name="Player" parent="." instance=ExtResource( 1 )] position = Vector2( 32, 166 ) @@ -58,13 +59,13 @@ tile_set = ExtResource( 2 ) cell_size = Vector2( 8, 8 ) collision_layer = 9 format = 1 -tile_data = PoolIntArray( 393236, 0, 196610, 458772, 0, 196608, 524308, 0, 196608, 589844, 0, 196608, 786445, 0, 196610, 786460, 0, 196610, 851981, 0, 196608, 851996, 0, 196608, 917517, 0, 196608, 917532, 0, 196608, 983053, 0, 196608, 983068, 0, 196608, 983078, 0, 196610, 1048589, 0, 196608, 1048604, 0, 196608, 1048614, 0, 196608, 1114125, 0, 196608, 1114150, 0, 196608, 1179661, 0, 196608, 1179686, 0, 196608, 1245197, 0, 196608, 1245222, 0, 196608, 1310733, 0, 196608, 1310758, 0, 196608, 1376268, 0, 262144, 1376269, 0, 196609, 1376274, 0, 262144, 1376284, 0, 262144, 1376294, 0, 196609 ) +tile_data = PoolIntArray( 393236, 0, 196610, 458772, 0, 196608, 524308, 0, 196608, 589844, 0, 196608, 589899, 0, 196610, 655435, 0, 196608, 720971, 0, 196609, 786445, 0, 196610, 786460, 0, 196610, 851981, 0, 196608, 851996, 0, 196608, 917517, 0, 196608, 917532, 0, 196608, 983053, 0, 196608, 983068, 0, 196608, 983078, 0, 196610, 1048589, 0, 196608, 1048604, 0, 196608, 1048614, 0, 196608, 1114125, 0, 196608, 1114150, 0, 196608, 1179661, 0, 196608, 1179686, 0, 196608, 1245197, 0, 196608, 1245222, 0, 196608, 1310733, 0, 196608, 1310758, 0, 196608, 1376268, 0, 262144, 1376269, 0, 196609, 1376274, 0, 262144, 1376284, 0, 262144, 1376294, 0, 196609 ) [node name="Death" type="TileMap" parent="."] tile_set = ExtResource( 5 ) cell_size = Vector2( 8, 8 ) format = 1 -tile_data = PoolIntArray( 720951, 1, 0, 720952, 1, 0, 983082, 1, 0, 983083, 1, 0, 983084, 1, 0, 983085, 1, 0, 983089, 1, 0, 983092, 1, 0 ) +tile_data = PoolIntArray( 720951, 1, 0, 720952, 1, 0, 720977, 1, 0, 720978, 1, 0, 720982, 1, 0, 983082, 1, 0, 983083, 1, 0, 983084, 1, 0, 983085, 1, 0, 983089, 1, 0, 983092, 1, 0 ) [node name="Platforms" type="Node2D" parent="."] @@ -88,8 +89,13 @@ scale = Vector2( 1, 7 ) position = Vector2( 456, 128 ) scale = Vector2( 1, 6 ) -[node name="Rock" parent="Platforms" instance=ExtResource( 3 )] -position = Vector2( 138, 144 ) +[node name="Ladder7" parent="Platforms" instance=ExtResource( 9 )] +position = Vector2( 600, 72 ) +scale = Vector2( 1, 3 ) + +[node name="Ladder8" parent="Platforms" instance=ExtResource( 9 )] +position = Vector2( 720, 96 ) +scale = Vector2( 1, 4 ) [node name="Rock2" parent="Platforms" instance=ExtResource( 3 )] position = Vector2( 208, 88 ) @@ -109,6 +115,9 @@ position = Vector2( 64, 40 ) [node name="FallingBlock6" parent="Platforms" instance=ExtResource( 18 )] position = Vector2( 240, 96 ) +[node name="FallingBlock19" parent="Platforms" instance=ExtResource( 18 )] +position = Vector2( 248, 96 ) + [node name="FallingBlock7" parent="Platforms" instance=ExtResource( 18 )] position = Vector2( 352, 96 ) fall_speed = 1.0 @@ -119,6 +128,9 @@ fall_speed = 1.0 [node name="FallingBlock11" parent="Platforms" instance=ExtResource( 18 )] position = Vector2( 536, 144 ) + +[node name="FallingBlock17" parent="Platforms" instance=ExtResource( 18 )] +position = Vector2( 552, 128 ) fall_speed = 1.0 [node name="FallingBlock9" parent="Platforms" instance=ExtResource( 18 )] @@ -129,18 +141,32 @@ position = Vector2( 328, 56 ) [node name="FallingBlock12" parent="Platforms" instance=ExtResource( 18 )] position = Vector2( 616, 32 ) +fall_speed = 1.0 [node name="FallingBlock13" parent="Platforms" instance=ExtResource( 18 )] position = Vector2( 624, 32 ) +fall_speed = 1.0 + +[node name="FallingBlock18" parent="Platforms" instance=ExtResource( 18 )] +position = Vector2( 576, 80 ) [node name="FallingBlock14" parent="Platforms" instance=ExtResource( 18 )] position = Vector2( 632, 32 ) +fall_speed = 1.0 + +[node name="FallingBlock20" parent="Platforms" instance=ExtResource( 18 )] +position = Vector2( 728, 64 ) + +[node name="FallingBlock21" parent="Platforms" instance=ExtResource( 18 )] +position = Vector2( 720, 64 ) [node name="FallingBlock15" parent="Platforms" instance=ExtResource( 18 )] position = Vector2( 752, 40 ) +fall_speed = 1.0 [node name="FallingBlock16" parent="Platforms" instance=ExtResource( 18 )] position = Vector2( 760, 40 ) +fall_speed = 1.0 [node name="FallingBlock2" parent="Platforms" instance=ExtResource( 18 )] position = Vector2( 40, 64 ) @@ -155,13 +181,14 @@ position = Vector2( 16, 56 ) position = Vector2( 320, 104 ) [node name="Turniwood3" parent="Platforms" instance=ExtResource( 21 )] -position = Vector2( 528, 152 ) +position = Vector2( 528, 160 ) [node name="Turniwood2" parent="Platforms" instance=ExtResource( 21 )] position = Vector2( 320, 32 ) [node name="Turniwood4" parent="Platforms" instance=ExtResource( 21 )] position = Vector2( 648, 24 ) +time = 40.0 [node name="Area2D" parent="Platforms" instance=ExtResource( 22 )] position = Vector2( 336, 120 ) @@ -171,6 +198,13 @@ scale = Vector2( 4, 1 ) position = Vector2( 440, 88 ) scale = Vector2( 2, 1 ) +[node name="Area2D5" parent="Platforms" instance=ExtResource( 22 )] +position = Vector2( 648, 88 ) +scale = Vector2( 2, 1 ) + +[node name="Area2D6" parent="Platforms" instance=ExtResource( 22 )] +position = Vector2( 688, 88 ) + [node name="Area2D3" parent="Platforms" instance=ExtResource( 22 )] position = Vector2( 392, 120 ) @@ -182,6 +216,12 @@ position = Vector2( 496, 152 ) scale = Vector2( 1, 24 ) cost = 30 +[node name="Barrier2" parent="Platforms" instance=ExtResource( 23 )] +position = Vector2( 308, 0 ) +scale = Vector2( 1, 24 ) +cost = 25 +label_offset = Vector2( 0, 10 ) + [node name="Enemies" type="Node2D" parent="."] [node name="Snail" parent="Enemies" instance=ExtResource( 7 )] @@ -202,9 +242,37 @@ right_down_boundry = 3.0 slower_speed = 40 faster_speed = 100 +[node name="Snail6" parent="Enemies" instance=ExtResource( 7 )] +position = Vector2( 568, 88 ) +left_up_boundry = 2.0 +right_down_boundry = 3.0 +slower_speed = 40 +faster_speed = 100 + +[node name="Snail8" parent="Enemies" instance=ExtResource( 7 )] +position = Vector2( 704, 144 ) +left_up_boundry = 2.0 +right_down_boundry = 3.0 +slower_speed = 40 +faster_speed = 100 + +[node name="Snail9" parent="Enemies" instance=ExtResource( 7 )] +position = Vector2( 672, 128 ) +left_up_boundry = 2.0 +right_down_boundry = 2.0 +slower_speed = 40 +faster_speed = 100 + +[node name="Snail10" parent="Enemies" instance=ExtResource( 7 )] +position = Vector2( 648, 168 ) +left_up_boundry = 5.0 +right_down_boundry = 5.0 +slower_speed = 40 +faster_speed = 100 + [node name="Snail2" parent="Enemies" instance=ExtResource( 7 )] position = Vector2( 64, 112 ) -left_up_boundry = 4.0 +left_up_boundry = 3.0 right_down_boundry = 3.0 [node name="Bat" parent="Enemies" instance=ExtResource( 10 )] @@ -231,11 +299,22 @@ left_up_boundry = 3.0 right_down_boundry = 3.0 speed = 60 +[node name="Bat10" parent="Enemies" instance=ExtResource( 10 )] +position = Vector2( 640, 80 ) +left_up_boundry = 5.0 +right_down_boundry = 3.0 +speed = 60 + [node name="Bat9" parent="Enemies" instance=ExtResource( 10 )] position = Vector2( 688, 16 ) left_up_boundry = 3.0 right_down_boundry = 3.0 +[node name="Bat12" parent="Enemies" instance=ExtResource( 10 )] +position = Vector2( 720, 56 ) +left_up_boundry = 1.0 +right_down_boundry = 6.0 + [node name="Bat7" parent="Enemies" instance=ExtResource( 10 )] position = Vector2( 376, 88 ) left_up_boundry = 1.0 @@ -253,7 +332,6 @@ position = Vector2( 144, 96 ) [node name="RollingFiend3" parent="Enemies" instance=ExtResource( 13 )] position = Vector2( 136, 24 ) -move_speed = 80.0 [node name="RollingFiend4" parent="Enemies" instance=ExtResource( 13 )] position = Vector2( 168, 40 ) @@ -272,6 +350,12 @@ position = Vector2( 440, 88 ) [node name="RollingFiend8" parent="Enemies" instance=ExtResource( 13 )] position = Vector2( 584, 24 ) +[node name="RollingFiend9" parent="Enemies" instance=ExtResource( 13 )] +position = Vector2( 632, 128 ) + +[node name="RollingFiend10" parent="Enemies" instance=ExtResource( 13 )] +position = Vector2( 608, 120 ) + [node name="RollingFiend2" parent="Enemies" instance=ExtResource( 13 )] position = Vector2( 80, 144 ) @@ -281,6 +365,9 @@ position = Vector2( 176, 104 ) [node name="Tentacle3" parent="Enemies" instance=ExtResource( 16 )] position = Vector2( 496, 72 ) +[node name="Tentacle4" parent="Enemies" instance=ExtResource( 16 )] +position = Vector2( 592, 72 ) + [node name="Collectibles" type="Node2D" parent="."] [node name="Gold" parent="Collectibles" instance=ExtResource( 14 )] @@ -304,6 +391,18 @@ position = Vector2( 344, 40 ) [node name="Gold25" parent="Collectibles" instance=ExtResource( 14 )] position = Vector2( 384, 40 ) +[node name="Gold32" parent="Collectibles" instance=ExtResource( 14 )] +position = Vector2( 432, 40 ) + +[node name="Gold53" parent="Collectibles" instance=ExtResource( 14 )] +position = Vector2( 456, 40 ) + +[node name="Gold54" parent="Collectibles" instance=ExtResource( 14 )] +position = Vector2( 624, 88 ) + +[node name="Gold55" parent="Collectibles" instance=ExtResource( 14 )] +position = Vector2( 672, 88 ) + [node name="Gold26" parent="Collectibles" instance=ExtResource( 14 )] position = Vector2( 240, 48 ) @@ -322,12 +421,48 @@ position = Vector2( 392, 88 ) [node name="Gold34" parent="Collectibles" instance=ExtResource( 14 )] position = Vector2( 384, 120 ) +[node name="Gold51" parent="Collectibles" instance=ExtResource( 14 )] +position = Vector2( 264, 88 ) + +[node name="Gold52" parent="Collectibles" instance=ExtResource( 14 )] +position = Vector2( 288, 88 ) + [node name="Gold35" parent="Collectibles" instance=ExtResource( 14 )] position = Vector2( 408, 120 ) [node name="Gold36" parent="Collectibles" instance=ExtResource( 14 )] position = Vector2( 432, 120 ) +[node name="Gold37" parent="Collectibles" instance=ExtResource( 14 )] +position = Vector2( 712, 24 ) + +[node name="Gold38" parent="Collectibles" instance=ExtResource( 14 )] +position = Vector2( 688, 24 ) + +[node name="Gold39" parent="Collectibles" instance=ExtResource( 14 )] +position = Vector2( 528, 40 ) + +[node name="Gold40" parent="Collectibles" instance=ExtResource( 14 )] +position = Vector2( 528, 88 ) + +[node name="Gold41" parent="Collectibles" instance=ExtResource( 14 )] +position = Vector2( 552, 88 ) + +[node name="Gold42" parent="Collectibles" instance=ExtResource( 14 )] +position = Vector2( 664, 128 ) + +[node name="Gold43" parent="Collectibles" instance=ExtResource( 14 )] +position = Vector2( 632, 168 ) + +[node name="Gold44" parent="Collectibles" instance=ExtResource( 14 )] +position = Vector2( 584, 168 ) + +[node name="Gold45" parent="Collectibles" instance=ExtResource( 14 )] +position = Vector2( 536, 168 ) + +[node name="Gold50" parent="Collectibles" instance=ExtResource( 14 )] +position = Vector2( 688, 168 ) + [node name="Gold27" parent="Collectibles" instance=ExtResource( 14 )] position = Vector2( 208, 48 ) @@ -392,6 +527,14 @@ position = Vector2( 192, 120 ) position = Vector2( 296, 16 ) color = 1 +[node name="Star6" parent="Collectibles" instance=ExtResource( 15 )] +position = Vector2( 752, 168 ) +color = 4 + +[node name="Star5" parent="Collectibles" instance=ExtResource( 15 )] +position = Vector2( 720, 40 ) +color = 3 + [node name="Star2" parent="Collectibles" instance=ExtResource( 15 )] position = Vector2( 88, 48 ) color = 1 @@ -411,6 +554,10 @@ number = 1 position = Vector2( 744, 32 ) number = 2 +[node name="Shard4" parent="Collectibles" instance=ExtResource( 17 )] +position = Vector2( 720, 144 ) +number = 2 + [node name="Arrow" parent="Collectibles" instance=ExtResource( 20 )] position = Vector2( 96, 24 ) @@ -446,3 +593,7 @@ script = ExtResource( 19 ) __meta__ = { "_edit_lock_": true } + +[node name="Exit" parent="." instance=ExtResource( 24 )] +position = Vector2( 760, 116 ) +cost = 2 diff --git a/maps/leveldata/level1_info.tres b/maps/leveldata/level1_info.tres index 107120f..60c62b4 100644 --- a/maps/leveldata/level1_info.tres +++ b/maps/leveldata/level1_info.tres @@ -5,7 +5,7 @@ [resource] script = ExtResource( 1 ) -level_title = "Level 1" +level_title = "Verdant Hills" shard_title = [ "Climb the big vine", "Next to the lone tree", "Slime's Treasure", "The snake pit", "5 Rainbow Stars", "Collection bonus", "Time bonus", "Life bonus", "", "" ] level_number = 0 scene = ExtResource( 2 ) diff --git a/objects/collectibles/gold.tscn b/objects/collectibles/gold.tscn index 64a3dd8..eafd580 100644 --- a/objects/collectibles/gold.tscn +++ b/objects/collectibles/gold.tscn @@ -40,7 +40,7 @@ script = ExtResource( 1 ) [node name="AnimatedSprite" type="AnimatedSprite" parent="."] material = SubResource( 1 ) frames = SubResource( 5 ) -frame = 3 +frame = 2 playing = true centered = false diff --git a/objects/environment/barrier/barrier.gd b/objects/environment/barrier/barrier.gd index 30dd79d..001f01e 100644 --- a/objects/environment/barrier/barrier.gd +++ b/objects/environment/barrier/barrier.gd @@ -17,7 +17,7 @@ func _ready(): #Label label.visible = true label.set_text(str(cost)) - label.rect_position.y = scale.y / 2 + label.rect_position.y = scale.y / 2 + label_offset.y func _physics_process(delta): #Open diff --git a/objects/player/player.gd b/objects/player/player.gd index 2754d66..9856d98 100644 --- a/objects/player/player.gd +++ b/objects/player/player.gd @@ -156,9 +156,9 @@ func _process_climb(): if axis.y == -1: #Auto Jump velocity.y = -jump_force - Game.ac_climb.set_stream(null) Game.play_sound(Game.a_jump,Game.ac_jump) #Auto dismount + Game.ac_climb.set_stream(null) current_state = State.FALL return