diff --git a/2d/physics_platformer/Stage.tscn b/2d/physics_platformer/Stage.tscn index fa35d922..76071649 100644 --- a/2d/physics_platformer/Stage.tscn +++ b/2d/physics_platformer/Stage.tscn @@ -50,7 +50,8 @@ friction = 0.0 [node name="TileMap" type="TileMap" parent="."] tile_set = ExtResource( 1 ) -cell_quadrant_size = 8 +cell_size = Vector2( 32, 32 ) +cell_quadrant_size = 4 format = 1 tile_data = PoolIntArray( 0, 2, 0, 70, 536870914, 0, 71, 10, 0, 72, 10, 0, 73, 10, 0, 74, 10, 0, 75, 10, 0, 76, 10, 0, 77, 10, 0, 78, 10, 0, 65536, 2, 0, 65606, 536870914, 0, 65607, 10, 0, 65608, 10, 0, 65609, 10, 0, 65610, 10, 0, 65611, 10, 0, 65612, 10, 0, 65613, 10, 0, 65614, 10, 0, 131072, 2, 0, 131142, 536870914, 0, 131143, 10, 0, 131144, 10, 0, 131145, 10, 0, 131146, 10, 0, 131147, 10, 0, 131148, 10, 0, 131149, 10, 0, 131150, 10, 0, 196608, 2, 0, 196626, 9, 0, 196678, 536870914, 0, 196679, 10, 0, 196680, 10, 0, 196681, 10, 0, 196682, 10, 0, 196683, 10, 0, 196684, 10, 0, 196685, 10, 0, 196686, 10, 0, 262144, 2, 0, 262162, 8, 0, 262214, 536870914, 0, 262215, 10, 0, 262216, 10, 0, 262217, 10, 0, 262218, 10, 0, 262219, 10, 0, 262220, 10, 0, 262221, 10, 0, 262222, 10, 0, 327680, 2, 0, 327697, 536870921, 0, 327698, 7, 0, 327733, 9, 0, 327750, 536870914, 0, 327751, 10, 0, 327752, 10, 0, 327753, 10, 0, 327754, 10, 0, 327755, 10, 0, 327756, 10, 0, 327757, 10, 0, 327758, 10, 0, 393216, 2, 0, 393233, 536870920, 0, 393234, 7, 0, 393257, 9, 0, 393269, 7, 0, 393286, 536870914, 0, 393287, 10, 0, 393288, 10, 0, 393289, 10, 0, 393290, 10, 0, 393291, 10, 0, 393292, 10, 0, 393293, 10, 0, 393294, 10, 0, 458752, 2, 0, 458769, 7, 0, 458770, 8, 0, 458790, 9, 0, 458793, 8, 0, 458805, 8, 0, 458822, 536870914, 0, 458823, 10, 0, 458824, 10, 0, 458825, 10, 0, 458826, 10, 0, 458827, 10, 0, 458828, 10, 0, 458829, 10, 0, 458830, 10, 0, 524288, 4, 0, 524289, 1, 0, 524304, 536870913, 0, 524305, 536870918, 0, 524306, 6, 0, 524307, 5, 0, 524308, 1, 0, 524326, 8, 0, 524329, 7, 0, 524341, 7, 0, 524358, 536870914, 0, 524359, 10, 0, 524360, 10, 0, 524361, 10, 0, 524362, 10, 0, 524363, 10, 0, 524364, 10, 0, 524365, 10, 0, 524366, 10, 0, 589824, 10, 0, 589825, 13, 0, 589840, 536870914, 0, 589841, 10, 0, 589842, 10, 0, 589843, 10, 0, 589844, 2, 0, 589862, 7, 0, 589865, 7, 0, 589876, 536870913, 0, 589877, 6, 0, 589878, 1, 0, 589894, 536870914, 0, 589895, 10, 0, 589896, 10, 0, 589897, 10, 0, 589898, 10, 0, 589899, 10, 0, 589900, 10, 0, 589901, 10, 0, 589902, 10, 0, 655360, 2, 0, 655376, 536870914, 0, 655377, 10, 0, 655378, 10, 0, 655379, 10, 0, 655380, 2, 0, 655398, 7, 0, 655401, 8, 0, 655412, 536870925, 0, 655413, 11, 0, 655414, 13, 0, 655430, 536870914, 0, 655431, 10, 0, 655432, 10, 0, 655433, 10, 0, 655434, 10, 0, 655435, 10, 0, 655436, 10, 0, 655437, 10, 0, 655438, 10, 0, 720896, 2, 0, 720912, 536870914, 0, 720913, 10, 0, 720914, 10, 0, 720915, 10, 0, 720916, 2, 0, 720934, 8, 0, 720937, 7, 0, 720958, 536870913, 0, 720959, 5, 0, 720960, 536870917, 0, 720961, 5, 0, 720962, 5, 0, 720963, 536870917, 0, 720964, 5, 0, 720965, 0, 0, 720966, 536870916, 0, 720967, 10, 0, 720968, 10, 0, 720969, 10, 0, 720970, 10, 0, 720971, 10, 0, 720972, 10, 0, 720973, 10, 0, 720974, 10, 0, 786432, 2, 0, 786437, 9, 0, 786448, 536870914, 0, 786449, 10, 0, 786450, 10, 0, 786451, 10, 0, 786452, 2, 0, 786464, 536870913, 0, 786465, 1, 0, 786470, 7, 0, 786473, 7, 0, 786474, 536870924, 0, 786475, 1, 0, 786494, 536870914, 0, 786495, 10, 0, 786496, 10, 0, 786497, 10, 0, 786498, 10, 0, 786499, 10, 0, 786500, 10, 0, 786501, 10, 0, 786502, 10, 0, 786503, 10, 0, 786504, 10, 0, 786505, 10, 0, 786506, 10, 0, 786507, 10, 0, 786508, 10, 0, 786509, 10, 0, 851968, 2, 0, 851973, 7, 0, 851984, 536870914, 0, 851985, 10, 0, 851986, 10, 0, 851987, 10, 0, 851988, 2, 0, 851996, 536870913, 0, 851997, 1, 0, 852000, 536870914, 0, 852001, 3, 0, 852006, 7, 0, 852009, 536870913, 0, 852011, 2, 0, 852030, 536870914, 0, 852031, 10, 0, 852032, 10, 0, 852033, 10, 0, 852034, 10, 0, 852035, 10, 0, 852036, 10, 0, 852037, 10, 0, 852038, 10, 0, 852039, 10, 0, 852040, 10, 0, 852041, 10, 0, 852042, 10, 0, 852043, 10, 0, 852044, 10, 0, 852045, 10, 0, 917504, 2, 0, 917506, 9, 0, 917509, 7, 0, 917512, 536870921, 0, 917520, 536870925, 0, 917521, 11, 0, 917522, 11, 0, 917523, 11, 0, 917524, 13, 0, 917532, 536870925, 0, 917533, 13, 0, 917536, 536870914, 0, 917537, 4, 0, 917538, 1, 0, 917540, 536870913, 0, 917541, 0, 0, 917542, 1, 0, 917545, 536870914, 0, 917546, 10, 0, 917547, 4, 0, 917548, 1, 0, 917566, 536870914, 0, 917567, 10, 0, 917568, 10, 0, 917569, 10, 0, 917570, 10, 0, 917571, 10, 0, 917572, 10, 0, 917573, 10, 0, 917574, 10, 0, 917575, 10, 0, 917576, 10, 0, 917577, 10, 0, 917578, 10, 0, 917579, 10, 0, 917580, 10, 0, 917581, 10, 0, 983040, 2, 0, 983042, 7, 0, 983045, 7, 0, 983048, 536870920, 0, 983050, 536870913, 0, 983051, 0, 0, 983052, 1, 0, 983064, 536870913, 0, 983065, 1, 0, 983072, 536870914, 0, 983073, 10, 0, 983074, 4, 0, 983075, 0, 0, 983076, 536870916, 0, 983077, 10, 0, 983078, 4, 0, 983079, 536870912, 0, 983080, 536870912, 0, 983081, 536870916, 0, 983082, 10, 0, 983083, 10, 0, 983084, 2, 0, 983095, 9, 0, 983102, 536870914, 0, 983103, 10, 0, 983104, 10, 0, 983105, 10, 0, 983106, 10, 0, 983107, 10, 0, 983108, 10, 0, 983109, 10, 0, 983110, 10, 0, 983111, 10, 0, 983112, 10, 0, 983113, 10, 0, 983114, 10, 0, 983115, 10, 0, 983116, 10, 0, 983117, 10, 0, 1048576, 2, 0, 1048578, 8, 0, 1048581, 8, 0, 1048584, 536870919, 0, 1048586, 536870914, 0, 1048587, 536870922, 0, 1048588, 2, 0, 1048600, 536870925, 0, 1048601, 13, 0, 1048604, 9, 0, 1048608, 536870925, 0, 1048609, 536870923, 0, 1048610, 536870923, 0, 1048611, 536870923, 0, 1048612, 10, 0, 1048613, 10, 0, 1048614, 10, 0, 1048615, 10, 0, 1048616, 10, 0, 1048617, 10, 0, 1048618, 10, 0, 1048619, 10, 0, 1048620, 4, 0, 1048621, 1, 0, 1048630, 536870921, 0, 1048631, 8, 0, 1048638, 536870914, 0, 1048639, 10, 0, 1048640, 10, 0, 1048641, 10, 0, 1048642, 10, 0, 1048643, 10, 0, 1048644, 10, 0, 1048645, 10, 0, 1048646, 10, 0, 1048647, 10, 0, 1048648, 10, 0, 1048649, 10, 0, 1048650, 10, 0, 1048651, 10, 0, 1048652, 10, 0, 1048653, 10, 0, 1114112, 4, 0, 1114113, 0, 0, 1114114, 6, 0, 1114115, 0, 0, 1114116, 0, 0, 1114117, 6, 0, 1114118, 1, 0, 1114120, 536870920, 0, 1114122, 536870925, 0, 1114123, 11, 0, 1114124, 13, 0, 1114128, 536870913, 0, 1114129, 5, 0, 1114130, 536870917, 0, 1114131, 5, 0, 1114132, 0, 0, 1114133, 1, 0, 1114140, 7, 0, 1114141, 536870921, 0, 1114148, 536870914, 0, 1114149, 10, 0, 1114150, 10, 0, 1114151, 10, 0, 1114152, 10, 0, 1114153, 10, 0, 1114154, 10, 0, 1114155, 10, 0, 1114156, 10, 0, 1114157, 2, 0, 1114166, 536870920, 0, 1114167, 8, 0, 1114174, 536870914, 0, 1114175, 10, 0, 1114176, 10, 0, 1114177, 10, 0, 1114178, 10, 0, 1114179, 10, 0, 1114180, 10, 0, 1114181, 10, 0, 1114182, 10, 0, 1114183, 10, 0, 1114184, 10, 0, 1114185, 10, 0, 1114186, 10, 0, 1114187, 10, 0, 1114188, 10, 0, 1179648, 10, 0, 1179649, 10, 0, 1179650, 10, 0, 1179651, 10, 0, 1179652, 10, 0, 1179653, 10, 0, 1179654, 2, 0, 1179656, 536870919, 0, 1179664, 536870915, 0, 1179665, 10, 0, 1179666, 10, 0, 1179667, 10, 0, 1179668, 10, 0, 1179669, 4, 0, 1179670, 12, 0, 1179675, 9, 0, 1179676, 8, 0, 1179677, 8, 0, 1179684, 536870914, 0, 1179685, 10, 0, 1179686, 10, 0, 1179687, 10, 0, 1179688, 10, 0, 1179689, 10, 0, 1179690, 10, 0, 1179691, 10, 0, 1179692, 10, 0, 1179693, 4, 0, 1179694, 1, 0, 1179701, 9, 0, 1179702, 536870919, 0, 1179703, 7, 0, 1179710, 536870914, 0, 1179711, 10, 0, 1179712, 10, 0, 1179713, 10, 0, 1179714, 10, 0, 1179715, 10, 0, 1179716, 10, 0, 1179717, 10, 0, 1179718, 10, 0, 1179719, 10, 0, 1179720, 10, 0, 1179721, 10, 0, 1179722, 10, 0, 1245184, 10, 0, 1245185, 10, 0, 1245186, 10, 0, 1245187, 10, 0, 1245188, 10, 0, 1245189, 10, 0, 1245190, 2, 0, 1245192, 536870919, 0, 1245199, 536870913, 0, 1245200, 536870916, 0, 1245201, 10, 0, 1245202, 10, 0, 1245203, 10, 0, 1245204, 10, 0, 1245205, 10, 0, 1245207, 1, 0, 1245211, 7, 0, 1245212, 7, 0, 1245213, 536870920, 0, 1245220, 536870914, 0, 1245221, 10, 0, 1245222, 10, 0, 1245223, 10, 0, 1245224, 10, 0, 1245225, 10, 0, 1245226, 10, 0, 1245227, 10, 0, 1245228, 10, 0, 1245229, 10, 0, 1245230, 2, 0, 1245237, 8, 0, 1245238, 536870919, 0, 1245239, 8, 0, 1245240, 536870921, 0, 1245246, 536870914, 0, 1245247, 10, 0, 1245248, 10, 0, 1245249, 10, 0, 1245250, 10, 0, 1245251, 10, 0, 1245252, 10, 0, 1245253, 10, 0, 1245254, 10, 0, 1245255, 10, 0, 1245256, 10, 0, 1245257, 10, 0, 1245258, 10, 0, 1310720, 10, 0, 1310721, 10, 0, 1310722, 10, 0, 1310723, 10, 0, 1310724, 10, 0, 1310725, 10, 0, 1310726, 2, 0, 1310728, 536870920, 0, 1310730, 536870913, 0, 1310731, 1, 0, 1310734, 536870913, 0, 1310735, 536870916, 0, 1310736, 10, 0, 1310737, 10, 0, 1310738, 10, 0, 1310739, 10, 0, 1310740, 10, 0, 1310741, 10, 0, 1310742, 10, 0, 1310743, 4, 0, 1310744, 1, 0, 1310747, 8, 0, 1310748, 7, 0, 1310749, 536870919, 0, 1310756, 536870914, 0, 1310757, 10, 0, 1310758, 10, 0, 1310759, 10, 0, 1310760, 10, 0, 1310761, 10, 0, 1310762, 10, 0, 1310763, 10, 0, 1310764, 10, 0, 1310765, 10, 0, 1310766, 4, 0, 1310767, 5, 0, 1310768, 12, 0, 1310773, 7, 0, 1310774, 536870919, 0, 1310775, 7, 0, 1310776, 536870919, 0, 1310782, 536870914, 0, 1310783, 10, 0, 1310784, 10, 0, 1310785, 10, 0, 1310786, 10, 0, 1310787, 10, 0, 1310788, 10, 0, 1310789, 10, 0, 1310790, 10, 0, 1310791, 10, 0, 1310792, 10, 0, 1310793, 10, 0, 1376256, 10, 0, 1376257, 10, 0, 1376258, 10, 0, 1376259, 10, 0, 1376260, 10, 0, 1376261, 10, 0, 1376262, 4, 0, 1376263, 0, 0, 1376264, 0, 0, 1376265, 0, 0, 1376266, 536870916, 0, 1376267, 4, 0, 1376268, 0, 0, 1376269, 0, 0, 1376270, 536870916, 0, 1376271, 10, 0, 1376272, 10, 0, 1376273, 10, 0, 1376274, 10, 0, 1376275, 10, 0, 1376276, 10, 0, 1376277, 10, 0, 1376278, 10, 0, 1376279, 10, 0, 1376280, 4, 0, 1376281, 12, 0, 1376283, 8, 0, 1376284, 8, 0, 1376285, 536870920, 0, 1376287, 536870924, 0, 1376288, 0, 0, 1376289, 5, 0, 1376290, 536870917, 0, 1376291, 0, 0, 1376292, 536870916, 0, 1376293, 10, 0, 1376294, 10, 0, 1376295, 10, 0, 1376296, 10, 0, 1376297, 10, 0, 1376298, 10, 0, 1376299, 10, 0, 1376300, 10, 0, 1376301, 10, 0, 1376302, 10, 0, 1376303, 10, 0, 1376305, 12, 0, 1376309, 7, 0, 1376310, 536870920, 0, 1376311, 7, 0, 1376312, 536870920, 0, 1376318, 536870914, 0, 1376319, 10, 0, 1376320, 10, 0, 1376321, 10, 0, 1376322, 10, 0, 1376323, 10, 0, 1376324, 10, 0, 1376325, 10, 0, 1376326, 10, 0, 1376327, 10, 0, 1376328, 10, 0, 1441792, 10, 0, 1441793, 10, 0, 1441794, 10, 0, 1441795, 10, 0, 1441796, 10, 0, 1441797, 10, 0, 1441798, 10, 0, 1441799, 10, 0, 1441800, 10, 0, 1441801, 10, 0, 1441802, 10, 0, 1441803, 10, 0, 1441804, 10, 0, 1441805, 10, 0, 1441806, 10, 0, 1441807, 10, 0, 1441808, 10, 0, 1441809, 10, 0, 1441810, 10, 0, 1441811, 10, 0, 1441812, 10, 0, 1441813, 10, 0, 1441814, 10, 0, 1441815, 10, 0, 1441816, 10, 0, 1441818, 0, 0, 1441819, 6, 0, 1441820, 6, 0, 1441821, 536870918, 0, 1441822, 5, 0, 1441824, 10, 0, 1441825, 10, 0, 1441826, 10, 0, 1441827, 10, 0, 1441828, 10, 0, 1441829, 10, 0, 1441830, 10, 0, 1441831, 10, 0, 1441832, 10, 0, 1441833, 10, 0, 1441834, 10, 0, 1441835, 10, 0, 1441836, 10, 0, 1441837, 10, 0, 1441838, 10, 0, 1441839, 10, 0, 1441840, 10, 0, 1441842, 0, 0, 1441843, 0, 0, 1441844, 0, 0, 1441845, 6, 0, 1441846, 536870918, 0, 1441847, 6, 0, 1441848, 536870918, 0, 1441849, 0, 0, 1441850, 5, 0, 1441851, 536870917, 0, 1441852, 5, 0, 1441853, 0, 0, 1441854, 536870916, 0, 1441855, 10, 0, 1441856, 10, 0, 1441857, 10, 0, 1441858, 10, 0, 1441859, 10, 0, 1441860, 10, 0, 1441861, 10, 0, 1441862, 10, 0, 1441863, 10, 0, 1507328, 10, 0, 1507329, 10, 0, 1507330, 10, 0, 1507331, 10, 0, 1507332, 10, 0, 1507333, 10, 0, 1507334, 10, 0, 1507335, 10, 0, 1507336, 10, 0, 1507337, 10, 0, 1507338, 10, 0, 1507339, 10, 0, 1507340, 10, 0, 1507341, 10, 0, 1507342, 10, 0, 1507343, 10, 0, 1507344, 10, 0, 1507345, 10, 0, 1507346, 10, 0, 1507347, 10, 0, 1507348, 10, 0, 1507349, 10, 0, 1507350, 10, 0, 1507351, 10, 0, 1507352, 10, 0, 1507353, 10, 0, 1507354, 10, 0, 1507355, 10, 0, 1507356, 10, 0, 1507357, 10, 0, 1507358, 10, 0, 1507359, 10, 0, 1507360, 10, 0, 1507361, 10, 0, 1507362, 10, 0, 1507363, 10, 0, 1507364, 10, 0, 1507365, 10, 0, 1507366, 10, 0, 1507367, 10, 0, 1507368, 10, 0, 1507369, 10, 0, 1507370, 10, 0, 1507371, 10, 0, 1507372, 10, 0, 1507373, 10, 0, 1507374, 10, 0, 1507375, 10, 0, 1507376, 10, 0, 1507377, 10, 0, 1507378, 10, 0, 1507379, 10, 0, 1507380, 10, 0, 1507381, 10, 0, 1507382, 10, 0, 1507383, 10, 0, 1507384, 10, 0, 1507385, 10, 0, 1507386, 10, 0, 1507387, 10, 0, 1507388, 10, 0, 1507389, 10, 0, 1507390, 10, 0, 1507391, 10, 0, 1507392, 10, 0, 1507393, 10, 0, 1507394, 10, 0, 1507395, 10, 0, 1507396, 10, 0, 1507397, 10, 0, 1507398, 10, 0, 1507399, 10, 0, 1572864, 10, 0, 1572865, 10, 0, 1572866, 10, 0, 1572867, 10, 0, 1572868, 10, 0, 1572869, 10, 0, 1572870, 10, 0, 1572871, 10, 0, 1572872, 10, 0, 1572873, 10, 0, 1572874, 10, 0, 1572875, 10, 0, 1572876, 10, 0, 1572877, 10, 0, 1572878, 10, 0, 1572879, 10, 0, 1572880, 10, 0, 1572881, 10, 0, 1572882, 10, 0, 1572883, 10, 0, 1572884, 10, 0, 1572885, 10, 0, 1572886, 10, 0, 1572887, 10, 0, 1572888, 10, 0, 1572889, 10, 0, 1572890, 10, 0, 1572891, 10, 0, 1572892, 10, 0, 1572893, 10, 0, 1572894, 10, 0, 1572895, 10, 0, 1572896, 10, 0, 1572897, 10, 0, 1572898, 10, 0, 1572899, 10, 0, 1572900, 10, 0, 1572901, 10, 0, 1572902, 10, 0, 1572903, 10, 0, 1572904, 10, 0, 1572905, 10, 0, 1572906, 10, 0, 1572907, 10, 0, 1572908, 10, 0, 1572909, 10, 0, 1572910, 10, 0, 1572911, 10, 0, 1572912, 10, 0, 1572913, 10, 0, 1572914, 10, 0, 1572915, 10, 0, 1572916, 10, 0, 1572917, 10, 0, 1572918, 10, 0, 1572919, 10, 0, 1572920, 10, 0, 1572921, 10, 0, 1572922, 10, 0, 1572923, 10, 0, 1572924, 10, 0, 1572925, 10, 0, 1572926, 10, 0, 1572927, 10, 0, 1572928, 10, 0, 1572929, 10, 0, 1572930, 10, 0, 1572931, 10, 0, 1572932, 10, 0, 1572933, 10, 0, 1572934, 10, 0, 1572935, 10, 0, 1638400, 10, 0, 1638401, 10, 0, 1638402, 10, 0, 1638403, 10, 0, 1638404, 10, 0, 1638405, 10, 0, 1638406, 10, 0, 1638407, 10, 0, 1638408, 10, 0, 1638409, 10, 0, 1638410, 10, 0, 1638411, 10, 0, 1638412, 10, 0, 1638413, 10, 0, 1638414, 10, 0, 1638415, 10, 0, 1638416, 10, 0, 1638417, 10, 0, 1638418, 10, 0, 1638419, 10, 0, 1638420, 10, 0, 1638421, 10, 0, 1638422, 10, 0, 1638423, 10, 0, 1638424, 10, 0, 1638425, 10, 0, 1638426, 10, 0, 1638427, 10, 0, 1638428, 10, 0, 1638429, 10, 0, 1638430, 10, 0, 1638431, 10, 0, 1638432, 10, 0, 1638433, 10, 0, 1638434, 10, 0, 1638435, 10, 0, 1638436, 10, 0, 1638437, 10, 0, 1638438, 10, 0, 1638439, 10, 0, 1638440, 10, 0, 1638441, 10, 0, 1638442, 10, 0, 1638443, 10, 0, 1638444, 10, 0, 1638445, 10, 0, 1638446, 10, 0, 1638447, 10, 0, 1638448, 10, 0, 1638449, 10, 0, 1638450, 10, 0, 1638451, 10, 0, 1638452, 10, 0, 1638453, 10, 0, 1638454, 10, 0, 1638455, 10, 0, 1638456, 10, 0, 1638457, 10, 0, 1638458, 10, 0, 1638459, 10, 0, 1638460, 10, 0, 1638461, 10, 0, 1638462, 10, 0, 1638463, 10, 0, 1638464, 10, 0, 1638465, 10, 0, 1638466, 10, 0, 1638467, 10, 0, 1638468, 10, 0, 1638469, 10, 0, 1638470, 10, 0, 1638471, 10, 0, 1703952, 10, 0, 1703953, 10, 0, 1703954, 10, 0, 1703955, 10, 0, 1703956, 10, 0, 1703957, 10, 0, 1703958, 10, 0, 1703959, 10, 0, 1703960, 10, 0, 1703961, 10, 0, 1703962, 10, 0, 1703963, 10, 0, 1703964, 10, 0, 1703965, 10, 0, 1703966, 10, 0, 1703967, 10, 0, 1703968, 10, 0, 1703969, 10, 0, 1703970, 10, 0, 1703971, 10, 0, 1703972, 10, 0, 1703973, 10, 0, 1703974, 10, 0, 1703975, 10, 0, 1703976, 10, 0, 1703977, 10, 0, 1703978, 10, 0, 1703979, 10, 0, 1703980, 10, 0, 1703981, 10, 0, 1703982, 10, 0, 1703983, 10, 0, 1703984, 10, 0, 1703985, 10, 0, 1703986, 10, 0, 1703987, 10, 0, 1703988, 10, 0, 1703989, 10, 0, 1703990, 10, 0, 1703991, 10, 0, 1703992, 10, 0, 1703993, 10, 0, 1703994, 10, 0, 1703995, 10, 0, 1703996, 10, 0, 1703997, 10, 0, 1703998, 10, 0, 1703999, 10, 0, 1704000, 10, 0, 1704001, 10, 0, 1704002, 10, 0, 1704003, 10, 0, 1704004, 10, 0, 1704005, 10, 0, 1704006, 10, 0, 1704007, 10, 0, 1769488, 10, 0, 1769489, 10, 0, 1769490, 10, 0, 1769491, 10, 0, 1769492, 10, 0, 1769493, 10, 0, 1769494, 10, 0, 1769495, 10, 0, 1769496, 10, 0, 1769497, 10, 0, 1769498, 10, 0, 1769499, 10, 0, 1769500, 10, 0, 1769501, 10, 0, 1769502, 10, 0, 1769503, 10, 0, 1769504, 10, 0, 1769505, 10, 0, 1769506, 10, 0, 1769507, 10, 0, 1769508, 10, 0, 1769509, 10, 0, 1769510, 10, 0, 1769511, 10, 0, 1769512, 10, 0, 1769513, 10, 0, 1769514, 10, 0, 1769515, 10, 0, 1769516, 10, 0, 1769517, 10, 0, 1769518, 10, 0, 1769519, 10, 0, 1769520, 10, 0, 1769521, 10, 0, 1769522, 10, 0, 1769523, 10, 0, 1769524, 10, 0, 1769525, 10, 0, 1769526, 10, 0, 1769527, 10, 0, 1769528, 10, 0, 1769529, 10, 0, 1769530, 10, 0, 1769531, 10, 0, 1769532, 10, 0, 1769533, 10, 0, 1769534, 10, 0, 1769535, 10, 0, 1769536, 10, 0, 1769537, 10, 0, 1769538, 10, 0, 1769539, 10, 0, 1769540, 10, 0, 1769541, 10, 0 ) __meta__ = { @@ -58,207 +59,204 @@ __meta__ = { } [node name="Coins" type="Node2D" parent="."] -editor/display_folded = true [node name="Coin" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 672, 1179 ) +position = Vector2( 336, 589.5 ) [node name="Coin2" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 704, 1179 ) +position = Vector2( 352, 589.5 ) [node name="Coin3" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 736, 1179 ) +position = Vector2( 368, 589.5 ) [node name="Coin4" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 1120, 992 ) +position = Vector2( 560, 496 ) [node name="Coin5" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 1152, 992 ) +position = Vector2( 576, 496 ) [node name="Coin6" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 1184, 992 ) +position = Vector2( 592, 496 ) [node name="Coin7" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 1216, 992 ) +position = Vector2( 608, 496 ) [node name="Coin8" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 1248, 992 ) +position = Vector2( 624, 496 ) [node name="Coin9" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 1568, 864 ) +position = Vector2( 784, 432 ) [node name="Coin10" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 1632, 864 ) +position = Vector2( 816, 432 ) [node name="Coin11" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 1824, 768 ) +position = Vector2( 912, 384 ) [node name="Coin12" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 1888, 768 ) +position = Vector2( 944, 384 ) [node name="Coin13" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 2080, 672 ) +position = Vector2( 1040, 336 ) [node name="Coin14" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 2144, 672 ) +position = Vector2( 1072, 336 ) [node name="Coin15" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 1792, 1248 ) +position = Vector2( 896, 624 ) [node name="Coin16" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 1856, 1248 ) +position = Vector2( 928, 624 ) [node name="Coin17" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 1920, 1248 ) +position = Vector2( 960, 624 ) [node name="Coin18" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 1920, 1184 ) +position = Vector2( 960, 592 ) [node name="Coin19" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 1856, 1184 ) +position = Vector2( 928, 592 ) [node name="Coin20" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 1792, 1184 ) +position = Vector2( 896, 592 ) [node name="Coin21" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 98.8868, 488.515 ) +position = Vector2( 49.4434, 244.258 ) [node name="Coin22" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 89.5989, 481.217 ) +position = Vector2( 44.7994, 240.609 ) [node name="Coin23" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 108.175, 481.217 ) +position = Vector2( 54.0875, 240.609 ) [node name="Coin24" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 116.136, 469.939 ) +position = Vector2( 58.068, 234.969 ) [node name="Coin25" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 117.463, 457.997 ) +position = Vector2( 58.7315, 228.999 ) [node name="Coin26" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 106.184, 449.373 ) +position = Vector2( 53.092, 224.686 ) [node name="Coin27" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 98.2234, 458.661 ) +position = Vector2( 49.1117, 229.331 ) [node name="Coin28" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 88.272, 448.71 ) +position = Vector2( 44.136, 224.355 ) [node name="Coin29" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 79.6476, 457.334 ) +position = Vector2( 39.8238, 228.667 ) [node name="Coin30" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 82.9647, 468.612 ) +position = Vector2( 41.4823, 234.306 ) [node name="Coin31" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 3357.42, 465.288 ) +position = Vector2( 1678.71, 232.644 ) [node name="Coin32" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 3421.42, 465.288 ) +position = Vector2( 1710.71, 232.644 ) [node name="Coin33" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 3485.42, 465.288 ) +position = Vector2( 1742.71, 232.644 ) [node name="Coin34" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 3485.42, 401.288 ) +position = Vector2( 1742.71, 200.644 ) [node name="Coin35" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 3421.42, 401.288 ) +position = Vector2( 1710.71, 200.644 ) [node name="Coin36" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 3357.42, 401.288 ) +position = Vector2( 1678.71, 200.644 ) [node name="Coin37" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 4172.75, 605.058 ) +position = Vector2( 2086.38, 302.529 ) [node name="Coin38" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 4236.75, 605.058 ) +position = Vector2( 2118.38, 302.529 ) [node name="Coin39" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 4300.75, 605.058 ) +position = Vector2( 2150.38, 302.529 ) [node name="Coin40" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 4300.75, 541.058 ) +position = Vector2( 2150.38, 270.529 ) [node name="Coin41" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 4236.75, 541.058 ) +position = Vector2( 2118.38, 270.529 ) [node name="Coin42" parent="Coins" instance=ExtResource( 2 )] -position = Vector2( 4172.75, 541.058 ) +position = Vector2( 2086.38, 270.529 ) [node name="Props" type="Node2D" parent="."] -editor/display_folded = true [node name="MovingPlatform" parent="Props" instance=ExtResource( 3 )] -position = Vector2( 1451.86, 742.969 ) -motion = Vector2( 0, 140 ) +position = Vector2( 725.93, 371.484 ) +motion = Vector2( 0, 70 ) cycle = 5.0 [node name="MovingPlatform 2" parent="Props" instance=ExtResource( 3 )] -position = Vector2( 624.824, 545.544 ) -motion = Vector2( 300, 0 ) +position = Vector2( 312.412, 272.772 ) +motion = Vector2( 150, 0 ) cycle = 10.0 [node name="MovingPlatform 3" parent="Props" instance=ExtResource( 3 )] -position = Vector2( 3419.86, 739.662 ) -motion = Vector2( 450, 0 ) +position = Vector2( 1709.93, 369.831 ) +motion = Vector2( 225, 0 ) cycle = 10.0 [node name="Seesaw" parent="Props" instance=ExtResource( 4 )] -position = Vector2( 2402.79, 849.52 ) +position = Vector2( 1201.4, 424.76 ) [node name="OneWayPlatform" parent="Props" instance=ExtResource( 5 )] -position = Vector2( 927.698, 1120.81 ) +position = Vector2( 463.849, 560.405 ) [node name="Player" parent="." instance=ExtResource( 6 )] -position = Vector2( 251.684, 1045.6 ) +position = Vector2( 125.842, 522.8 ) physics_material_override = SubResource( 1 ) [node name="Enemies" type="Node2D" parent="."] -editor/display_folded = true [node name="Enemy1" parent="Enemies" instance=ExtResource( 7 )] -position = Vector2( 834.664, 1309.6 ) +position = Vector2( 417.332, 654.8 ) physics_material_override = SubResource( 2 ) [node name="Enemy2" parent="Enemies" instance=ExtResource( 7 )] -position = Vector2( 707.665, 1225.05 ) +position = Vector2( 353.832, 612.525 ) physics_material_override = SubResource( 3 ) [node name="Enemy3" parent="Enemies" instance=ExtResource( 7 )] -position = Vector2( 1125.21, 1053.06 ) +position = Vector2( 562.605, 526.53 ) physics_material_override = SubResource( 4 ) [node name="Enemy4" parent="Enemies" instance=ExtResource( 7 )] -position = Vector2( 1292.11, 1059.24 ) +position = Vector2( 646.055, 529.62 ) physics_material_override = SubResource( 5 ) [node name="Enemy5" parent="Enemies" instance=ExtResource( 7 )] -position = Vector2( 1607.38, 923.239 ) +position = Vector2( 803.69, 461.62 ) physics_material_override = SubResource( 6 ) [node name="Enemy6" parent="Enemies" instance=ExtResource( 7 )] -position = Vector2( 2586.9, 939.059 ) +position = Vector2( 1293.45, 469.53 ) physics_material_override = SubResource( 7 ) [node name="Enemy7" parent="Enemies" instance=ExtResource( 7 )] -position = Vector2( 1457.6, 688.741 ) +position = Vector2( 728.8, 344.371 ) physics_material_override = SubResource( 8 ) [node name="Enemy8" parent="Enemies" instance=ExtResource( 7 )] -position = Vector2( 1193.63, 460.381 ) +position = Vector2( 596.815, 230.191 ) physics_material_override = SubResource( 9 ) [node name="Enemy9" parent="Enemies" instance=ExtResource( 7 )] -position = Vector2( 3429.73, 540.865 ) +position = Vector2( 1714.86, 270.432 ) physics_material_override = SubResource( 10 ) [node name="Enemy10" parent="Enemies" instance=ExtResource( 7 )] -position = Vector2( 3546.2, 1356.19 ) +position = Vector2( 1773.1, 678.095 ) physics_material_override = SubResource( 11 ) [node name="Enemy11" parent="Enemies" instance=ExtResource( 7 )] -position = Vector2( 2406.63, 815.115 ) +position = Vector2( 1203.31, 407.557 ) physics_material_override = SubResource( 12 ) [node name="ParallaxBg" parent="." instance=ExtResource( 8 )] diff --git a/2d/physics_platformer/Stage2.tscn b/2d/physics_platformer/Stage2.tscn index 4e1fecab..6970a089 100644 --- a/2d/physics_platformer/Stage2.tscn +++ b/2d/physics_platformer/Stage2.tscn @@ -8,6 +8,7 @@ [node name="TileMap" type="TileMap" parent="."] tile_set = ExtResource( 1 ) +cell_size = Vector2( 32, 32 ) cell_quadrant_size = 8 format = 1 tile_data = PoolIntArray( 0, 2, 0, 70, 536870914, 0, 71, 10, 0, 72, 10, 0, 73, 10, 0, 74, 10, 0, 75, 10, 0, 76, 10, 0, 77, 10, 0, 78, 10, 0, 65536, 2, 0, 65606, 536870914, 0, 65607, 10, 0, 65608, 10, 0, 65609, 10, 0, 65610, 10, 0, 65611, 10, 0, 65612, 10, 0, 65613, 10, 0, 65614, 10, 0, 131072, 2, 0, 131142, 536870914, 0, 131143, 10, 0, 131144, 10, 0, 131145, 10, 0, 131146, 10, 0, 131147, 10, 0, 131148, 10, 0, 131149, 10, 0, 131150, 10, 0, 196608, 2, 0, 196626, 9, 0, 196678, 536870914, 0, 196679, 10, 0, 196680, 10, 0, 196681, 10, 0, 196682, 10, 0, 196683, 10, 0, 196684, 10, 0, 196685, 10, 0, 196686, 10, 0, 262144, 2, 0, 262162, 8, 0, 262214, 536870914, 0, 262215, 10, 0, 262216, 10, 0, 262217, 10, 0, 262218, 10, 0, 262219, 10, 0, 262220, 10, 0, 262221, 10, 0, 262222, 10, 0, 327680, 2, 0, 327697, 536870921, 0, 327698, 7, 0, 327733, 9, 0, 327750, 536870914, 0, 327751, 10, 0, 327752, 10, 0, 327753, 10, 0, 327754, 10, 0, 327755, 10, 0, 327756, 10, 0, 327757, 10, 0, 327758, 10, 0, 393216, 2, 0, 393233, 536870920, 0, 393234, 7, 0, 393257, 9, 0, 393269, 7, 0, 393286, 536870914, 0, 393287, 10, 0, 393288, 10, 0, 393289, 10, 0, 393290, 10, 0, 393291, 10, 0, 393292, 10, 0, 393293, 10, 0, 393294, 10, 0, 458752, 2, 0, 458769, 7, 0, 458770, 8, 0, 458790, 9, 0, 458793, 8, 0, 458805, 8, 0, 458822, 536870914, 0, 458823, 10, 0, 458824, 10, 0, 458825, 10, 0, 458826, 10, 0, 458827, 10, 0, 458828, 10, 0, 458829, 10, 0, 458830, 10, 0, 524288, 4, 0, 524289, 1, 0, 524304, 536870913, 0, 524305, 536870918, 0, 524306, 6, 0, 524307, 5, 0, 524308, 1, 0, 524326, 8, 0, 524329, 7, 0, 524341, 7, 0, 524358, 536870914, 0, 524359, 10, 0, 524360, 10, 0, 524361, 10, 0, 524362, 10, 0, 524363, 10, 0, 524364, 10, 0, 524365, 10, 0, 524366, 10, 0, 589824, 10, 0, 589825, 13, 0, 589840, 536870914, 0, 589841, 10, 0, 589842, 10, 0, 589843, 10, 0, 589844, 2, 0, 589862, 7, 0, 589865, 7, 0, 589876, 536870913, 0, 589877, 6, 0, 589878, 1, 0, 589894, 536870914, 0, 589895, 10, 0, 589896, 10, 0, 589897, 10, 0, 589898, 10, 0, 589899, 10, 0, 589900, 10, 0, 589901, 10, 0, 589902, 10, 0, 655360, 2, 0, 655376, 536870914, 0, 655377, 10, 0, 655378, 10, 0, 655379, 10, 0, 655380, 2, 0, 655398, 7, 0, 655401, 8, 0, 655412, 536870925, 0, 655413, 11, 0, 655414, 13, 0, 655430, 536870914, 0, 655431, 10, 0, 655432, 10, 0, 655433, 10, 0, 655434, 10, 0, 655435, 10, 0, 655436, 10, 0, 655437, 10, 0, 655438, 10, 0, 720896, 2, 0, 720912, 536870914, 0, 720913, 10, 0, 720914, 10, 0, 720915, 10, 0, 720916, 2, 0, 720934, 8, 0, 720937, 7, 0, 720958, 536870913, 0, 720959, 5, 0, 720960, 536870917, 0, 720961, 5, 0, 720962, 5, 0, 720963, 536870917, 0, 720964, 5, 0, 720965, 0, 0, 720966, 536870916, 0, 720967, 10, 0, 720968, 10, 0, 720969, 10, 0, 720970, 10, 0, 720971, 10, 0, 720972, 10, 0, 720973, 10, 0, 720974, 10, 0, 786432, 2, 0, 786437, 9, 0, 786448, 536870914, 0, 786449, 10, 0, 786450, 10, 0, 786451, 10, 0, 786452, 2, 0, 786464, 536870913, 0, 786465, 1, 0, 786470, 7, 0, 786473, 7, 0, 786474, 536870924, 0, 786475, 1, 0, 786494, 536870914, 0, 786495, 10, 0, 786496, 10, 0, 786497, 10, 0, 786498, 10, 0, 786499, 10, 0, 786500, 10, 0, 786501, 10, 0, 786502, 10, 0, 786503, 10, 0, 786504, 10, 0, 786505, 10, 0, 786506, 10, 0, 786507, 10, 0, 786508, 10, 0, 786509, 10, 0, 851968, 2, 0, 851973, 7, 0, 851984, 536870914, 0, 851985, 10, 0, 851986, 10, 0, 851987, 10, 0, 851988, 2, 0, 851996, 536870913, 0, 851997, 1, 0, 852000, 536870914, 0, 852001, 3, 0, 852006, 7, 0, 852009, 536870913, 0, 852011, 2, 0, 852030, 536870914, 0, 852031, 10, 0, 852032, 10, 0, 852033, 10, 0, 852034, 10, 0, 852035, 10, 0, 852036, 10, 0, 852037, 10, 0, 852038, 10, 0, 852039, 10, 0, 852040, 10, 0, 852041, 10, 0, 852042, 10, 0, 852043, 10, 0, 852044, 10, 0, 852045, 10, 0, 917504, 2, 0, 917506, 9, 0, 917509, 7, 0, 917512, 536870921, 0, 917520, 536870925, 0, 917521, 11, 0, 917522, 11, 0, 917523, 11, 0, 917524, 13, 0, 917532, 536870925, 0, 917533, 13, 0, 917536, 536870914, 0, 917537, 4, 0, 917538, 1, 0, 917540, 536870913, 0, 917541, 0, 0, 917542, 1, 0, 917545, 536870914, 0, 917546, 10, 0, 917547, 4, 0, 917548, 1, 0, 917566, 536870914, 0, 917567, 10, 0, 917568, 10, 0, 917569, 10, 0, 917570, 10, 0, 917571, 10, 0, 917572, 10, 0, 917573, 10, 0, 917574, 10, 0, 917575, 10, 0, 917576, 10, 0, 917577, 10, 0, 917578, 10, 0, 917579, 10, 0, 917580, 10, 0, 917581, 10, 0, 983040, 2, 0, 983042, 7, 0, 983045, 7, 0, 983048, 536870920, 0, 983050, 536870913, 0, 983051, 0, 0, 983052, 1, 0, 983064, 536870913, 0, 983065, 1, 0, 983072, 536870914, 0, 983073, 10, 0, 983074, 4, 0, 983075, 0, 0, 983076, 536870916, 0, 983077, 10, 0, 983078, 4, 0, 983079, 536870912, 0, 983080, 536870912, 0, 983081, 536870916, 0, 983082, 10, 0, 983083, 10, 0, 983084, 2, 0, 983095, 9, 0, 983102, 536870914, 0, 983103, 10, 0, 983104, 10, 0, 983105, 10, 0, 983106, 10, 0, 983107, 10, 0, 983108, 10, 0, 983109, 10, 0, 983110, 10, 0, 983111, 10, 0, 983112, 10, 0, 983113, 10, 0, 983114, 10, 0, 983115, 10, 0, 983116, 10, 0, 983117, 10, 0, 1048576, 2, 0, 1048578, 8, 0, 1048581, 8, 0, 1048584, 536870919, 0, 1048586, 536870914, 0, 1048587, 536870922, 0, 1048588, 2, 0, 1048600, 536870925, 0, 1048601, 13, 0, 1048604, 9, 0, 1048608, 536870925, 0, 1048609, 536870923, 0, 1048610, 536870923, 0, 1048611, 536870923, 0, 1048612, 10, 0, 1048613, 10, 0, 1048614, 10, 0, 1048615, 10, 0, 1048616, 10, 0, 1048617, 10, 0, 1048618, 10, 0, 1048619, 10, 0, 1048620, 4, 0, 1048621, 1, 0, 1048630, 536870921, 0, 1048631, 8, 0, 1048638, 536870914, 0, 1048639, 10, 0, 1048640, 10, 0, 1048641, 10, 0, 1048642, 10, 0, 1048643, 10, 0, 1048644, 10, 0, 1048645, 10, 0, 1048646, 10, 0, 1048647, 10, 0, 1048648, 10, 0, 1048649, 10, 0, 1048650, 10, 0, 1048651, 10, 0, 1048652, 10, 0, 1048653, 10, 0, 1114112, 4, 0, 1114113, 0, 0, 1114114, 6, 0, 1114115, 0, 0, 1114116, 0, 0, 1114117, 6, 0, 1114118, 1, 0, 1114120, 536870920, 0, 1114122, 536870925, 0, 1114123, 11, 0, 1114124, 13, 0, 1114128, 536870913, 0, 1114129, 5, 0, 1114130, 536870917, 0, 1114131, 5, 0, 1114132, 0, 0, 1114133, 1, 0, 1114140, 7, 0, 1114141, 536870921, 0, 1114148, 536870914, 0, 1114149, 10, 0, 1114150, 10, 0, 1114151, 10, 0, 1114152, 10, 0, 1114153, 10, 0, 1114154, 10, 0, 1114155, 10, 0, 1114156, 10, 0, 1114157, 2, 0, 1114166, 536870920, 0, 1114167, 8, 0, 1114174, 536870914, 0, 1114175, 10, 0, 1114176, 10, 0, 1114177, 10, 0, 1114178, 10, 0, 1114179, 10, 0, 1114180, 10, 0, 1114181, 10, 0, 1114182, 10, 0, 1114183, 10, 0, 1114184, 10, 0, 1114185, 10, 0, 1114186, 10, 0, 1114187, 10, 0, 1114188, 10, 0, 1179648, 10, 0, 1179649, 10, 0, 1179650, 10, 0, 1179651, 10, 0, 1179652, 10, 0, 1179653, 10, 0, 1179654, 2, 0, 1179656, 536870919, 0, 1179664, 536870915, 0, 1179665, 10, 0, 1179666, 10, 0, 1179667, 10, 0, 1179668, 10, 0, 1179669, 4, 0, 1179670, 12, 0, 1179675, 9, 0, 1179676, 8, 0, 1179677, 8, 0, 1179684, 536870914, 0, 1179685, 10, 0, 1179686, 10, 0, 1179687, 10, 0, 1179688, 10, 0, 1179689, 10, 0, 1179690, 10, 0, 1179691, 10, 0, 1179692, 10, 0, 1179693, 4, 0, 1179694, 1, 0, 1179701, 9, 0, 1179702, 536870919, 0, 1179703, 7, 0, 1179710, 536870914, 0, 1179711, 10, 0, 1179712, 10, 0, 1179713, 10, 0, 1179714, 10, 0, 1179715, 10, 0, 1179716, 10, 0, 1179717, 10, 0, 1179718, 10, 0, 1179719, 10, 0, 1179720, 10, 0, 1179721, 10, 0, 1179722, 10, 0, 1245184, 10, 0, 1245185, 10, 0, 1245186, 10, 0, 1245187, 10, 0, 1245188, 10, 0, 1245189, 10, 0, 1245190, 2, 0, 1245192, 536870919, 0, 1245199, 536870913, 0, 1245200, 536870916, 0, 1245201, 10, 0, 1245202, 10, 0, 1245203, 10, 0, 1245204, 10, 0, 1245205, 10, 0, 1245207, 1, 0, 1245211, 7, 0, 1245212, 7, 0, 1245213, 536870920, 0, 1245220, 536870914, 0, 1245221, 10, 0, 1245222, 10, 0, 1245223, 10, 0, 1245224, 10, 0, 1245225, 10, 0, 1245226, 10, 0, 1245227, 10, 0, 1245228, 10, 0, 1245229, 10, 0, 1245230, 2, 0, 1245237, 8, 0, 1245238, 536870919, 0, 1245239, 8, 0, 1245240, 536870921, 0, 1245246, 536870914, 0, 1245247, 10, 0, 1245248, 10, 0, 1245249, 10, 0, 1245250, 10, 0, 1245251, 10, 0, 1245252, 10, 0, 1245253, 10, 0, 1245254, 10, 0, 1245255, 10, 0, 1245256, 10, 0, 1245257, 10, 0, 1245258, 10, 0, 1310720, 10, 0, 1310721, 10, 0, 1310722, 10, 0, 1310723, 10, 0, 1310724, 10, 0, 1310725, 10, 0, 1310726, 2, 0, 1310728, 536870920, 0, 1310730, 536870913, 0, 1310731, 1, 0, 1310734, 536870913, 0, 1310735, 536870916, 0, 1310736, 10, 0, 1310737, 10, 0, 1310738, 10, 0, 1310739, 10, 0, 1310740, 10, 0, 1310741, 10, 0, 1310742, 10, 0, 1310743, 4, 0, 1310744, 1, 0, 1310747, 8, 0, 1310748, 7, 0, 1310749, 536870919, 0, 1310756, 536870914, 0, 1310757, 10, 0, 1310758, 10, 0, 1310759, 10, 0, 1310760, 10, 0, 1310761, 10, 0, 1310762, 10, 0, 1310763, 10, 0, 1310764, 10, 0, 1310765, 10, 0, 1310766, 4, 0, 1310767, 5, 0, 1310768, 12, 0, 1310773, 7, 0, 1310774, 536870919, 0, 1310775, 7, 0, 1310776, 536870919, 0, 1310782, 536870914, 0, 1310783, 10, 0, 1310784, 10, 0, 1310785, 10, 0, 1310786, 10, 0, 1310787, 10, 0, 1310788, 10, 0, 1310789, 10, 0, 1310790, 10, 0, 1310791, 10, 0, 1310792, 10, 0, 1310793, 10, 0, 1376256, 10, 0, 1376257, 10, 0, 1376258, 10, 0, 1376259, 10, 0, 1376260, 10, 0, 1376261, 10, 0, 1376262, 4, 0, 1376263, 0, 0, 1376264, 0, 0, 1376265, 0, 0, 1376266, 536870916, 0, 1376267, 4, 0, 1376268, 0, 0, 1376269, 0, 0, 1376270, 536870916, 0, 1376271, 10, 0, 1376272, 10, 0, 1376273, 10, 0, 1376274, 10, 0, 1376275, 10, 0, 1376276, 10, 0, 1376277, 10, 0, 1376278, 10, 0, 1376279, 10, 0, 1376280, 4, 0, 1376281, 12, 0, 1376283, 8, 0, 1376284, 8, 0, 1376285, 536870920, 0, 1376287, 536870924, 0, 1376288, 0, 0, 1376289, 5, 0, 1376290, 536870917, 0, 1376291, 0, 0, 1376292, 536870916, 0, 1376293, 10, 0, 1376294, 10, 0, 1376295, 10, 0, 1376296, 10, 0, 1376297, 10, 0, 1376298, 10, 0, 1376299, 10, 0, 1376300, 10, 0, 1376301, 10, 0, 1376302, 10, 0, 1376303, 10, 0, 1376305, 12, 0, 1376309, 7, 0, 1376310, 536870920, 0, 1376311, 7, 0, 1376312, 536870920, 0, 1376318, 536870914, 0, 1376319, 10, 0, 1376320, 10, 0, 1376321, 10, 0, 1376322, 10, 0, 1376323, 10, 0, 1376324, 10, 0, 1376325, 10, 0, 1376326, 10, 0, 1376327, 10, 0, 1376328, 10, 0, 1441792, 10, 0, 1441793, 10, 0, 1441794, 10, 0, 1441795, 10, 0, 1441796, 10, 0, 1441797, 10, 0, 1441798, 10, 0, 1441799, 10, 0, 1441800, 10, 0, 1441801, 10, 0, 1441802, 10, 0, 1441803, 10, 0, 1441804, 10, 0, 1441805, 10, 0, 1441806, 10, 0, 1441807, 10, 0, 1441808, 10, 0, 1441809, 10, 0, 1441810, 10, 0, 1441811, 10, 0, 1441812, 10, 0, 1441813, 10, 0, 1441814, 10, 0, 1441815, 10, 0, 1441816, 10, 0, 1441818, 0, 0, 1441819, 6, 0, 1441820, 6, 0, 1441821, 536870918, 0, 1441822, 5, 0, 1441824, 10, 0, 1441825, 10, 0, 1441826, 10, 0, 1441827, 10, 0, 1441828, 10, 0, 1441829, 10, 0, 1441830, 10, 0, 1441831, 10, 0, 1441832, 10, 0, 1441833, 10, 0, 1441834, 10, 0, 1441835, 10, 0, 1441836, 10, 0, 1441837, 10, 0, 1441838, 10, 0, 1441839, 10, 0, 1441840, 10, 0, 1441842, 0, 0, 1441843, 0, 0, 1441844, 0, 0, 1441845, 6, 0, 1441846, 536870918, 0, 1441847, 6, 0, 1441848, 536870918, 0, 1441849, 0, 0, 1441850, 5, 0, 1441851, 536870917, 0, 1441852, 5, 0, 1441853, 0, 0, 1441854, 536870916, 0, 1441855, 10, 0, 1441856, 10, 0, 1441857, 10, 0, 1441858, 10, 0, 1441859, 10, 0, 1441860, 10, 0, 1441861, 10, 0, 1441862, 10, 0, 1441863, 10, 0, 1507328, 10, 0, 1507329, 10, 0, 1507330, 10, 0, 1507331, 10, 0, 1507332, 10, 0, 1507333, 10, 0, 1507334, 10, 0, 1507335, 10, 0, 1507336, 10, 0, 1507337, 10, 0, 1507338, 10, 0, 1507339, 10, 0, 1507340, 10, 0, 1507341, 10, 0, 1507342, 10, 0, 1507343, 10, 0, 1507344, 10, 0, 1507345, 10, 0, 1507346, 10, 0, 1507347, 10, 0, 1507348, 10, 0, 1507349, 10, 0, 1507350, 10, 0, 1507351, 10, 0, 1507352, 10, 0, 1507353, 10, 0, 1507354, 10, 0, 1507355, 10, 0, 1507356, 10, 0, 1507357, 10, 0, 1507358, 10, 0, 1507359, 10, 0, 1507360, 10, 0, 1507361, 10, 0, 1507362, 10, 0, 1507363, 10, 0, 1507364, 10, 0, 1507365, 10, 0, 1507366, 10, 0, 1507367, 10, 0, 1507368, 10, 0, 1507369, 10, 0, 1507370, 10, 0, 1507371, 10, 0, 1507372, 10, 0, 1507373, 10, 0, 1507374, 10, 0, 1507375, 10, 0, 1507376, 10, 0, 1507377, 10, 0, 1507378, 10, 0, 1507379, 10, 0, 1507380, 10, 0, 1507381, 10, 0, 1507382, 10, 0, 1507383, 10, 0, 1507384, 10, 0, 1507385, 10, 0, 1507386, 10, 0, 1507387, 10, 0, 1507388, 10, 0, 1507389, 10, 0, 1507390, 10, 0, 1507391, 10, 0, 1507392, 10, 0, 1507393, 10, 0, 1507394, 10, 0, 1507395, 10, 0, 1507396, 10, 0, 1507397, 10, 0, 1507398, 10, 0, 1507399, 10, 0, 1572864, 10, 0, 1572865, 10, 0, 1572866, 10, 0, 1572867, 10, 0, 1572868, 10, 0, 1572869, 10, 0, 1572870, 10, 0, 1572871, 10, 0, 1572872, 10, 0, 1572873, 10, 0, 1572874, 10, 0, 1572875, 10, 0, 1572876, 10, 0, 1572877, 10, 0, 1572878, 10, 0, 1572879, 10, 0, 1572880, 10, 0, 1572881, 10, 0, 1572882, 10, 0, 1572883, 10, 0, 1572884, 10, 0, 1572885, 10, 0, 1572886, 10, 0, 1572887, 10, 0, 1572888, 10, 0, 1572889, 10, 0, 1572890, 10, 0, 1572891, 10, 0, 1572892, 10, 0, 1572893, 10, 0, 1572894, 10, 0, 1572895, 10, 0, 1572896, 10, 0, 1572897, 10, 0, 1572898, 10, 0, 1572899, 10, 0, 1572900, 10, 0, 1572901, 10, 0, 1572902, 10, 0, 1572903, 10, 0, 1572904, 10, 0, 1572905, 10, 0, 1572906, 10, 0, 1572907, 10, 0, 1572908, 10, 0, 1572909, 10, 0, 1572910, 10, 0, 1572911, 10, 0, 1572912, 10, 0, 1572913, 10, 0, 1572914, 10, 0, 1572915, 10, 0, 1572916, 10, 0, 1572917, 10, 0, 1572918, 10, 0, 1572919, 10, 0, 1572920, 10, 0, 1572921, 10, 0, 1572922, 10, 0, 1572923, 10, 0, 1572924, 10, 0, 1572925, 10, 0, 1572926, 10, 0, 1572927, 10, 0, 1572928, 10, 0, 1572929, 10, 0, 1572930, 10, 0, 1572931, 10, 0, 1572932, 10, 0, 1572933, 10, 0, 1572934, 10, 0, 1572935, 10, 0, 1638400, 10, 0, 1638401, 10, 0, 1638402, 10, 0, 1638403, 10, 0, 1638404, 10, 0, 1638405, 10, 0, 1638406, 10, 0, 1638407, 10, 0, 1638408, 10, 0, 1638409, 10, 0, 1638410, 10, 0, 1638411, 10, 0, 1638412, 10, 0, 1638413, 10, 0, 1638414, 10, 0, 1638415, 10, 0, 1638416, 10, 0, 1638417, 10, 0, 1638418, 10, 0, 1638419, 10, 0, 1638420, 10, 0, 1638421, 10, 0, 1638422, 10, 0, 1638423, 10, 0, 1638424, 10, 0, 1638425, 10, 0, 1638426, 10, 0, 1638427, 10, 0, 1638428, 10, 0, 1638429, 10, 0, 1638430, 10, 0, 1638431, 10, 0, 1638432, 10, 0, 1638433, 10, 0, 1638434, 10, 0, 1638435, 10, 0, 1638436, 10, 0, 1638437, 10, 0, 1638438, 10, 0, 1638439, 10, 0, 1638440, 10, 0, 1638441, 10, 0, 1638442, 10, 0, 1638443, 10, 0, 1638444, 10, 0, 1638445, 10, 0, 1638446, 10, 0, 1638447, 10, 0, 1638448, 10, 0, 1638449, 10, 0, 1638450, 10, 0, 1638451, 10, 0, 1638452, 10, 0, 1638453, 10, 0, 1638454, 10, 0, 1638455, 10, 0, 1638456, 10, 0, 1638457, 10, 0, 1638458, 10, 0, 1638459, 10, 0, 1638460, 10, 0, 1638461, 10, 0, 1638462, 10, 0, 1638463, 10, 0, 1638464, 10, 0, 1638465, 10, 0, 1638466, 10, 0, 1638467, 10, 0, 1638468, 10, 0, 1638469, 10, 0, 1638470, 10, 0, 1638471, 10, 0, 1703952, 10, 0, 1703953, 10, 0, 1703954, 10, 0, 1703955, 10, 0, 1703956, 10, 0, 1703957, 10, 0, 1703958, 10, 0, 1703959, 10, 0, 1703960, 10, 0, 1703961, 10, 0, 1703962, 10, 0, 1703963, 10, 0, 1703964, 10, 0, 1703965, 10, 0, 1703966, 10, 0, 1703967, 10, 0, 1703968, 10, 0, 1703969, 10, 0, 1703970, 10, 0, 1703971, 10, 0, 1703972, 10, 0, 1703973, 10, 0, 1703974, 10, 0, 1703975, 10, 0, 1703976, 10, 0, 1703977, 10, 0, 1703978, 10, 0, 1703979, 10, 0, 1703980, 10, 0, 1703981, 10, 0, 1703982, 10, 0, 1703983, 10, 0, 1703984, 10, 0, 1703985, 10, 0, 1703986, 10, 0, 1703987, 10, 0, 1703988, 10, 0, 1703989, 10, 0, 1703990, 10, 0, 1703991, 10, 0, 1703992, 10, 0, 1703993, 10, 0, 1703994, 10, 0, 1703995, 10, 0, 1703996, 10, 0, 1703997, 10, 0, 1703998, 10, 0, 1703999, 10, 0, 1704000, 10, 0, 1704001, 10, 0, 1704002, 10, 0, 1704003, 10, 0, 1704004, 10, 0, 1704005, 10, 0, 1704006, 10, 0, 1704007, 10, 0, 1769488, 10, 0, 1769489, 10, 0, 1769490, 10, 0, 1769491, 10, 0, 1769492, 10, 0, 1769493, 10, 0, 1769494, 10, 0, 1769495, 10, 0, 1769496, 10, 0, 1769497, 10, 0, 1769498, 10, 0, 1769499, 10, 0, 1769500, 10, 0, 1769501, 10, 0, 1769502, 10, 0, 1769503, 10, 0, 1769504, 10, 0, 1769505, 10, 0, 1769506, 10, 0, 1769507, 10, 0, 1769508, 10, 0, 1769509, 10, 0, 1769510, 10, 0, 1769511, 10, 0, 1769512, 10, 0, 1769513, 10, 0, 1769514, 10, 0, 1769515, 10, 0, 1769516, 10, 0, 1769517, 10, 0, 1769518, 10, 0, 1769519, 10, 0, 1769520, 10, 0, 1769521, 10, 0, 1769522, 10, 0, 1769523, 10, 0, 1769524, 10, 0, 1769525, 10, 0, 1769526, 10, 0, 1769527, 10, 0, 1769528, 10, 0, 1769529, 10, 0, 1769530, 10, 0, 1769531, 10, 0, 1769532, 10, 0, 1769533, 10, 0, 1769534, 10, 0, 1769535, 10, 0, 1769536, 10, 0, 1769537, 10, 0, 1769538, 10, 0, 1769539, 10, 0, 1769540, 10, 0, 1769541, 10, 0 ) @@ -16,7 +17,7 @@ __meta__ = { } [node name="Player" parent="." instance=ExtResource( 2 )] -position = Vector2( 251.684, 1045.6 ) +position = Vector2( 125.842, 522.8 ) [node name="ParallaxBg" parent="." instance=ExtResource( 3 )] diff --git a/2d/physics_platformer/Tileset.tres b/2d/physics_platformer/Tileset.tres index 0ea77c2f..12318712 100644 --- a/2d/physics_platformer/Tileset.tres +++ b/2d/physics_platformer/Tileset.tres @@ -5,62 +5,62 @@ [sub_resource type="ConvexPolygonShape2D" id=1] custom_solver_bias = 0.0 -points = PoolVector2Array( -32, -24, 32, -24, 32, 32, -32, 32 ) +points = PoolVector2Array( -16, -12, 16, -12, 16, 16, -16, 16 ) [sub_resource type="ConvexPolygonShape2D" id=2] custom_solver_bias = 0.0 -points = PoolVector2Array( -32, 32, -32, -24, 24, -24, 24, 32 ) +points = PoolVector2Array( -16, 16, -16, -12, 12, -12, 12, 16 ) [sub_resource type="ConvexPolygonShape2D" id=3] custom_solver_bias = 0.0 -points = PoolVector2Array( -32, -32, 32, -32, 32, 32, -32, 32 ) +points = PoolVector2Array( -16, -16, 16, -16, 16, 16, -16, 16 ) [sub_resource type="ConvexPolygonShape2D" id=4] custom_solver_bias = 0.0 -points = PoolVector2Array( -32, -56, 32, 8, 32, 64, -32, 64 ) +points = PoolVector2Array( -16, -28, 16, 4, 16, 32, -16, 32 ) [sub_resource type="ConvexPolygonShape2D" id=5] custom_solver_bias = 0.0 -points = PoolVector2Array( -32, 32, -32, -32, 24, -32, 24, 32 ) +points = PoolVector2Array( -16, 16, -16, -16, 12, -16, 12, 16 ) [sub_resource type="ConvexPolygonShape2D" id=6] custom_solver_bias = 0.0 -points = PoolVector2Array( -32, -24, 32, -24, 32, 24, -32, 24 ) +points = PoolVector2Array( -16, -12, 16, -12, 16, 12, -16, 12 ) [sub_resource type="ConvexPolygonShape2D" id=7] custom_solver_bias = 0.0 -points = PoolVector2Array( -32, -24, 24, -24, 24, 24, -32, 24 ) +points = PoolVector2Array( -16, -12, 12, -12, 12, 12, -16, 12 ) [sub_resource type="ConvexPolygonShape2D" id=8] custom_solver_bias = 0.0 -points = PoolVector2Array( -32, 32, -32, -32, 24, -32, 24, 32 ) +points = PoolVector2Array( -16, 16, -16, -16, 12, -16, 12, 16 ) [sub_resource type="ConvexPolygonShape2D" id=9] custom_solver_bias = 0.0 -points = PoolVector2Array( -64, 32, -64, -32, -8, -32, -8, 32 ) +points = PoolVector2Array( -32, 16, -32, -16, -4, -16, -4, 16 ) [sub_resource type="ConvexPolygonShape2D" id=10] custom_solver_bias = 0.0 -points = PoolVector2Array( -32, 32, -32, -32, 24, -32, 32, -24, 32, 32 ) +points = PoolVector2Array( -16, 16, -16, -16, 12, -16, 16, -12, 16, 16 ) [sub_resource type="ConvexPolygonShape2D" id=11] custom_solver_bias = 0.0 -points = PoolVector2Array( -32, 32, -32, -24, 32, -24, 32, 32 ) +points = PoolVector2Array( -16, 16, -16, -12, 16, -12, 16, 16 ) [sub_resource type="ConvexPolygonShape2D" id=12] custom_solver_bias = 0.0 -points = PoolVector2Array( -32, 32, -32, -24, 32, -24, 32, 32 ) +points = PoolVector2Array( -16, 16, -16, -12, 16, -12, 16, 16 ) [resource] @@ -68,144 +68,144 @@ points = PoolVector2Array( -32, 32, -32, -24, 32, -24, 32, 32 ) 0/texture = ExtResource( 1 ) 0/tex_offset = Vector2( 0, 0 ) 0/modulate = Color( 1, 1, 1, 1 ) -0/region = Rect2( 0, 0, 64, 64 ) -0/occluder_offset = Vector2( 32, 32 ) -0/navigation_offset = Vector2( 32, 32 ) -0/shape_offset = Vector2( 32, 32 ) +0/region = Rect2( 0, 0, 32, 32 ) +0/occluder_offset = Vector2( 16, 16 ) +0/navigation_offset = Vector2( 16, 16 ) +0/shape_offset = Vector2( 16, 16 ) 0/shapes = [ SubResource( 1 ) ] 1/name = "edge" 1/texture = ExtResource( 1 ) 1/tex_offset = Vector2( 0, 0 ) 1/modulate = Color( 1, 1, 1, 1 ) -1/region = Rect2( 64, 0, 64, 64 ) -1/occluder_offset = Vector2( 32, 32 ) -1/navigation_offset = Vector2( 32, 32 ) -1/shape_offset = Vector2( 32, 32 ) +1/region = Rect2( 32, 0, 32, 32 ) +1/occluder_offset = Vector2( 16, 16 ) +1/navigation_offset = Vector2( 16, 16 ) +1/shape_offset = Vector2( 16, 16 ) 1/shapes = [ SubResource( 2 ) ] 2/name = "wall" 2/texture = ExtResource( 1 ) 2/tex_offset = Vector2( 0, 0 ) 2/modulate = Color( 1, 1, 1, 1 ) -2/region = Rect2( 64, 64, 64, 64 ) -2/occluder_offset = Vector2( 32, 32 ) -2/navigation_offset = Vector2( 32, 32 ) -2/shape_offset = Vector2( 32, 32 ) +2/region = Rect2( 32, 32, 32, 32 ) +2/occluder_offset = Vector2( 16, 16 ) +2/navigation_offset = Vector2( 16, 16 ) +2/shape_offset = Vector2( 16, 16 ) 2/shapes = [ SubResource( 8 ) ] 3/name = "wall_deco" 3/texture = ExtResource( 1 ) 3/tex_offset = Vector2( 0, 0 ) 3/modulate = Color( 1, 1, 1, 1 ) -3/region = Rect2( 320, 128, 128, 64 ) -3/occluder_offset = Vector2( 64, 32 ) -3/navigation_offset = Vector2( 64, 32 ) -3/shape_offset = Vector2( 64, 32 ) +3/region = Rect2( 160, 64, 64, 32 ) +3/occluder_offset = Vector2( 32, 16 ) +3/navigation_offset = Vector2( 32, 16 ) +3/shape_offset = Vector2( 32, 16 ) 3/shapes = [ SubResource( 9 ) ] 4/name = "corner" 4/texture = ExtResource( 1 ) 4/tex_offset = Vector2( 0, 0 ) 4/modulate = Color( 1, 1, 1, 1 ) -4/region = Rect2( 64, 128, 64, 64 ) -4/occluder_offset = Vector2( 32, 32 ) -4/navigation_offset = Vector2( 32, 32 ) -4/shape_offset = Vector2( 32, 32 ) +4/region = Rect2( 32, 64, 32, 32 ) +4/occluder_offset = Vector2( 16, 16 ) +4/navigation_offset = Vector2( 16, 16 ) +4/shape_offset = Vector2( 16, 16 ) 4/shapes = [ SubResource( 10 ) ] 5/name = "flowers" 5/texture = ExtResource( 1 ) 5/tex_offset = Vector2( 0, 0 ) 5/modulate = Color( 1, 1, 1, 1 ) -5/region = Rect2( 192, 192, 64, 64 ) -5/occluder_offset = Vector2( 32, 32 ) -5/navigation_offset = Vector2( 32, 32 ) -5/shape_offset = Vector2( 32, 32 ) +5/region = Rect2( 96, 96, 32, 32 ) +5/occluder_offset = Vector2( 16, 16 ) +5/navigation_offset = Vector2( 16, 16 ) +5/shape_offset = Vector2( 16, 16 ) 5/shapes = [ SubResource( 11 ) ] 6/name = "tree_base" 6/texture = ExtResource( 1 ) 6/tex_offset = Vector2( 0, 0 ) 6/modulate = Color( 1, 1, 1, 1 ) -6/region = Rect2( 256, 192, 64, 64 ) -6/occluder_offset = Vector2( 32, 32 ) -6/navigation_offset = Vector2( 32, 32 ) -6/shape_offset = Vector2( 32, 32 ) +6/region = Rect2( 128, 96, 32, 32 ) +6/occluder_offset = Vector2( 16, 16 ) +6/navigation_offset = Vector2( 16, 16 ) +6/shape_offset = Vector2( 16, 16 ) 6/shapes = [ SubResource( 12 ) ] 7/name = "tree_mid" 7/texture = ExtResource( 1 ) 7/tex_offset = Vector2( 0, 0 ) 7/modulate = Color( 1, 1, 1, 1 ) -7/region = Rect2( 256, 128, 64, 64 ) -7/occluder_offset = Vector2( 32, 32 ) -7/navigation_offset = Vector2( 32, 32 ) +7/region = Rect2( 128, 64, 32, 32 ) +7/occluder_offset = Vector2( 16, 16 ) +7/navigation_offset = Vector2( 16, 16 ) 7/shape_offset = Vector2( 0, 0 ) 7/shapes = [ ] 8/name = "tree_mid 2" 8/texture = ExtResource( 1 ) 8/tex_offset = Vector2( 0, 0 ) 8/modulate = Color( 1, 1, 1, 1 ) -8/region = Rect2( 256, 64, 64, 64 ) -8/occluder_offset = Vector2( 32, 32 ) -8/navigation_offset = Vector2( 32, 32 ) +8/region = Rect2( 128, 32, 32, 32 ) +8/occluder_offset = Vector2( 16, 16 ) +8/navigation_offset = Vector2( 16, 16 ) 8/shape_offset = Vector2( 0, 0 ) 8/shapes = [ ] 9/name = "tree_top" 9/texture = ExtResource( 1 ) 9/tex_offset = Vector2( 0, 0 ) 9/modulate = Color( 1, 1, 1, 1 ) -9/region = Rect2( 256, 0, 64, 64 ) -9/occluder_offset = Vector2( 32, 32 ) -9/navigation_offset = Vector2( 32, 32 ) +9/region = Rect2( 128, 0, 32, 32 ) +9/occluder_offset = Vector2( 16, 16 ) +9/navigation_offset = Vector2( 16, 16 ) 9/shape_offset = Vector2( 0, 0 ) 9/shapes = [ ] 10/name = "solid" 10/texture = ExtResource( 1 ) 10/tex_offset = Vector2( 0, 0 ) 10/modulate = Color( 1, 1, 1, 1 ) -10/region = Rect2( 0, 64, 64, 64 ) -10/occluder_offset = Vector2( 32, 32 ) -10/navigation_offset = Vector2( 32, 32 ) +10/region = Rect2( 0, 32, 32, 32 ) +10/occluder_offset = Vector2( 16, 16 ) +10/navigation_offset = Vector2( 16, 16 ) 10/shape_offset = Vector2( 0, 0 ) 10/shapes = [ ] 11/name = "ceiling" 11/texture = ExtResource( 1 ) 11/tex_offset = Vector2( 0, 0 ) 11/modulate = Color( 1, 1, 1, 1 ) -11/region = Rect2( 384, 64, 64, 64 ) -11/occluder_offset = Vector2( 32, 32 ) -11/navigation_offset = Vector2( 32, 32 ) -11/shape_offset = Vector2( 32, 32 ) +11/region = Rect2( 192, 32, 32, 32 ) +11/occluder_offset = Vector2( 16, 16 ) +11/navigation_offset = Vector2( 16, 16 ) +11/shape_offset = Vector2( 16, 16 ) 11/shapes = [ SubResource( 3 ) ] 12/name = "ramp" 12/texture = ExtResource( 1 ) 12/tex_offset = Vector2( 0, 0 ) 12/modulate = Color( 1, 1, 1, 1 ) -12/region = Rect2( 128, 128, 64, 128 ) -12/occluder_offset = Vector2( 32, 64 ) -12/navigation_offset = Vector2( 32, 64 ) -12/shape_offset = Vector2( 32, 64 ) +12/region = Rect2( 64, 64, 32, 64 ) +12/occluder_offset = Vector2( 16, 32 ) +12/navigation_offset = Vector2( 16, 32 ) +12/shape_offset = Vector2( 16, 32 ) 12/shapes = [ SubResource( 4 ) ] 13/name = "ceiling2wall" 13/texture = ExtResource( 1 ) 13/tex_offset = Vector2( 0, 0 ) 13/modulate = Color( 1, 1, 1, 1 ) -13/region = Rect2( 448, 64, 64, 64 ) -13/occluder_offset = Vector2( 32, 32 ) -13/navigation_offset = Vector2( 32, 32 ) -13/shape_offset = Vector2( 32, 32 ) +13/region = Rect2( 224, 32, 32, 32 ) +13/occluder_offset = Vector2( 16, 16 ) +13/navigation_offset = Vector2( 16, 16 ) +13/shape_offset = Vector2( 16, 16 ) 13/shapes = [ SubResource( 5 ) ] 14/name = "platform_floor" 14/texture = ExtResource( 1 ) 14/tex_offset = Vector2( 0, 0 ) 14/modulate = Color( 1, 1, 1, 1 ) -14/region = Rect2( 128, 0, 64, 64 ) -14/occluder_offset = Vector2( 32, 32 ) -14/navigation_offset = Vector2( 32, 32 ) -14/shape_offset = Vector2( 32, 32 ) +14/region = Rect2( 64, 0, 32, 32 ) +14/occluder_offset = Vector2( 16, 16 ) +14/navigation_offset = Vector2( 16, 16 ) +14/shape_offset = Vector2( 16, 16 ) 14/shapes = [ SubResource( 6 ) ] 15/name = "platform_edge" 15/texture = ExtResource( 1 ) 15/tex_offset = Vector2( 0, 0 ) 15/modulate = Color( 1, 1, 1, 1 ) -15/region = Rect2( 192, 0, 64, 64 ) -15/occluder_offset = Vector2( 32, 32 ) -15/navigation_offset = Vector2( 32, 32 ) -15/shape_offset = Vector2( 32, 32 ) +15/region = Rect2( 96, 0, 32, 32 ) +15/occluder_offset = Vector2( 16, 16 ) +15/navigation_offset = Vector2( 16, 16 ) +15/shape_offset = Vector2( 16, 16 ) 15/shapes = [ SubResource( 7 ) ] diff --git a/2d/physics_platformer/TilesetEdit.tscn b/2d/physics_platformer/TilesetEdit.tscn index 72f284d8..1bf2f264 100644 --- a/2d/physics_platformer/TilesetEdit.tscn +++ b/2d/physics_platformer/TilesetEdit.tscn @@ -6,142 +6,142 @@ [node name="Floor" type="Sprite" parent="."] texture = ExtResource( 1 ) -region_rect = Rect2( 0, 0, 64, 64 ) +region_rect = Rect2( 0, 0, 32, 32 ) [node name="Collision" type="StaticBody2D" parent="Floor"] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Floor/Collision"] -polygon = PoolVector2Array( 32, -24, 32, 32, -32, 32, -32, -24 ) +polygon = PoolVector2Array( 16, -12, 16, 16, -16, 16, -16, -12 ) [node name="Edge" type="Sprite" parent="."] -position = Vector2( 64, 0 ) +position = Vector2( 32, 0 ) texture = ExtResource( 1 ) -region_rect = Rect2( 64, 0, 64, 64 ) +region_rect = Rect2( 32, 0, 32, 32 ) [node name="Collision" type="StaticBody2D" parent="Edge"] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Edge/Collision"] -polygon = PoolVector2Array( -32, -24, 24, -24, 24, 32, -32, 32 ) +polygon = PoolVector2Array( -16, -12, 12, -12, 12, 16, -16, 16 ) [node name="Wall" type="Sprite" parent="."] -position = Vector2( 64, 64 ) +position = Vector2( 32, 32 ) texture = ExtResource( 1 ) -region_rect = Rect2( 64, 64, 64, 64 ) +region_rect = Rect2( 32, 32, 32, 32 ) [node name="Collision" type="StaticBody2D" parent="Wall"] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Wall/Collision"] -polygon = PoolVector2Array( -32, -32, 24, -32, 24, 32, -32, 32 ) +polygon = PoolVector2Array( -16, -16, 12, -16, 12, 16, -16, 16 ) [node name="WallDeco" type="Sprite" parent="."] -position = Vector2( 96, 128 ) +position = Vector2( 48, 64 ) texture = ExtResource( 1 ) -region_rect = Rect2( 320, 128, 128, 64 ) +region_rect = Rect2( 160, 64, 64, 32 ) [node name="Collision" type="StaticBody2D" parent="WallDeco"] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="WallDeco/Collision"] -polygon = PoolVector2Array( -64, -32, -8, -32, -8, 32, -64, 32 ) +polygon = PoolVector2Array( -32, -16, -4, -16, -4, 16, -32, 16 ) [node name="Corner" type="Sprite" parent="."] -position = Vector2( 64, 192 ) +position = Vector2( 32, 96 ) texture = ExtResource( 1 ) -region_rect = Rect2( 64, 128, 64, 64 ) +region_rect = Rect2( 32, 64, 32, 32 ) [node name="Collision" type="StaticBody2D" parent="Corner"] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Corner/Collision"] -polygon = PoolVector2Array( -32, -32, 24, -32, 32, -24, 32, 32, -32, 32 ) +polygon = PoolVector2Array( -16, -16, 12, -16, 16, -12, 16, 16, -16, 16 ) [node name="Flowers" type="Sprite" parent="."] -position = Vector2( 128, 192 ) +position = Vector2( 64, 96 ) texture = ExtResource( 1 ) -region_rect = Rect2( 192, 192, 64, 64 ) +region_rect = Rect2( 96, 96, 32, 32 ) [node name="Collision" type="StaticBody2D" parent="Flowers"] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Flowers/Collision"] -polygon = PoolVector2Array( -32, 32, 32, 32, 32, -24, -32, -24 ) +polygon = PoolVector2Array( -16, 16, 16, 16, 16, -12, -16, -12 ) [node name="TreeBase" type="Sprite" parent="."] -position = Vector2( 192, 192 ) +position = Vector2( 96, 96 ) texture = ExtResource( 1 ) -region_rect = Rect2( 256, 192, 64, 64 ) +region_rect = Rect2( 128, 96, 32, 32 ) [node name="Collision" type="StaticBody2D" parent="TreeBase"] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="TreeBase/Collision"] -polygon = PoolVector2Array( -32, 32, 32, 32, 32, -24, -32, -24 ) +polygon = PoolVector2Array( -16, 16, 16, 16, 16, -12, -16, -12 ) [node name="TreeMid" type="Sprite" parent="."] -position = Vector2( 192, 128 ) +position = Vector2( 96, 64 ) texture = ExtResource( 1 ) -region_rect = Rect2( 256, 128, 64, 64 ) +region_rect = Rect2( 128, 64, 32, 32 ) [node name="TreeMid2" type="Sprite" parent="."] -position = Vector2( 192, 64 ) +position = Vector2( 96, 32 ) texture = ExtResource( 1 ) -region_rect = Rect2( 256, 64, 64, 64 ) +region_rect = Rect2( 128, 32, 32, 32 ) [node name="TreeTop" type="Sprite" parent="."] -position = Vector2( 192, 0 ) +position = Vector2( 96, 0 ) texture = ExtResource( 1 ) -region_rect = Rect2( 256, 0, 64, 64 ) +region_rect = Rect2( 128, 0, 32, 32 ) [node name="Solid" type="Sprite" parent="."] -position = Vector2( 0, 64 ) +position = Vector2( 0, 32 ) texture = ExtResource( 1 ) -region_rect = Rect2( 0, 64, 64, 64 ) +region_rect = Rect2( 0, 32, 32, 32 ) [node name="Ceiling" type="Sprite" parent="."] -position = Vector2( 0, 128 ) +position = Vector2( 0, 64 ) texture = ExtResource( 1 ) -region_rect = Rect2( 384, 64, 64, 64 ) +region_rect = Rect2( 192, 32, 32, 32 ) [node name="Collision" type="StaticBody2D" parent="Ceiling"] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Ceiling/Collision"] -polygon = PoolVector2Array( 32, -32, 32, 32, -32, 32, -32, -32 ) +polygon = PoolVector2Array( 16, -16, 16, 16, -16, 16, -16, -16 ) [node name="Ramp" type="Sprite" parent="."] -position = Vector2( 256, 224 ) +position = Vector2( 128, 112 ) texture = ExtResource( 1 ) -region_rect = Rect2( 128, 128, 64, 128 ) +region_rect = Rect2( 64, 64, 32, 64 ) [node name="Collision" type="StaticBody2D" parent="Ramp"] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Ramp/Collision"] -polygon = PoolVector2Array( -32, -56, 32, 8, 32, 64, -32, 64 ) +polygon = PoolVector2Array( -16, -28, 16, 4, 16, 32, -16, 32 ) [node name="CeilingWall" type="Sprite" parent="."] -position = Vector2( 0, 192 ) +position = Vector2( 0, 96 ) texture = ExtResource( 1 ) -region_rect = Rect2( 448, 64, 64, 64 ) +region_rect = Rect2( 224, 32, 32, 32 ) [node name="Collision" type="StaticBody2D" parent="CeilingWall"] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="CeilingWall/Collision"] -polygon = PoolVector2Array( -32, -32, 24, -32, 24, 32, -32, 32 ) +polygon = PoolVector2Array( -16, -16, 12, -16, 12, 16, -16, 16 ) [node name="PlatformFloor" type="Sprite" parent="."] -position = Vector2( 0, 256 ) +position = Vector2( 0, 128 ) texture = ExtResource( 1 ) -region_rect = Rect2( 128, 0, 64, 64 ) +region_rect = Rect2( 64, 0, 32, 32 ) [node name="Collision" type="StaticBody2D" parent="PlatformFloor"] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="PlatformFloor/Collision"] -polygon = PoolVector2Array( 32, -24, 32, 24, -32, 24, -32, -24 ) +polygon = PoolVector2Array( 16, -12, 16, 12, -16, 12, -16, -12 ) [node name="PlatformEdge" type="Sprite" parent="."] -position = Vector2( 64, 256 ) +position = Vector2( 32, 128 ) texture = ExtResource( 1 ) -region_rect = Rect2( 192, 0, 64, 64 ) +region_rect = Rect2( 96, 0, 32, 32 ) [node name="Collision" type="StaticBody2D" parent="PlatformEdge"] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="PlatformEdge/Collision"] -polygon = PoolVector2Array( 24, -24, 24, 24, -32, 24, -32, -24 ) +polygon = PoolVector2Array( 12, -12, 12, 12, -16, 12, -16, -12 ) [node name="Help" type="Label" parent="."] margin_left = 1.0 diff --git a/2d/physics_platformer/background/ParallaxBg.tscn b/2d/physics_platformer/background/ParallaxBg.tscn index 54ad00ff..3b88ab4c 100644 --- a/2d/physics_platformer/background/ParallaxBg.tscn +++ b/2d/physics_platformer/background/ParallaxBg.tscn @@ -11,7 +11,7 @@ scroll_base_scale = Vector2( 0.7, 0 ) [node name="Sky" type="ParallaxLayer" parent="."] -motion_mirroring = Vector2( 800, 0 ) +motion_mirroring = Vector2( 400, 0 ) [node name="Sprite" type="Sprite" parent="Sky"] scale = Vector2( 32, 0.94 ) @@ -20,54 +20,54 @@ centered = false [node name="Clouds" type="ParallaxLayer" parent="."] motion_scale = Vector2( 0.1, 1 ) -motion_mirroring = Vector2( 800, 0 ) +motion_mirroring = Vector2( 400, 0 ) [node name="Sprite1" type="Sprite" parent="Clouds"] -position = Vector2( 28, 127 ) +position = Vector2( 14, 64 ) texture = ExtResource( 2 ) centered = false [node name="Sprite2" type="Sprite" parent="Clouds"] -position = Vector2( 404, 24 ) +position = Vector2( 202, 12 ) texture = ExtResource( 2 ) centered = false [node name="Sprite3" type="Sprite" parent="Clouds"] -position = Vector2( 154, 46 ) +position = Vector2( 77, 23 ) texture = ExtResource( 3 ) centered = false [node name="Sprite4" type="Sprite" parent="Clouds"] -position = Vector2( 525, 130 ) +position = Vector2( 272, 65 ) texture = ExtResource( 3 ) centered = false [node name="Sprite5" type="Sprite" parent="Clouds"] -position = Vector2( 255, 158 ) +position = Vector2( 127, 79 ) texture = ExtResource( 4 ) centered = false [node name="Sprite6" type="Sprite" parent="Clouds"] -position = Vector2( 674, 70 ) +position = Vector2( 337, 35 ) texture = ExtResource( 4 ) centered = false [node name="Mount2" type="ParallaxLayer" parent="."] motion_scale = Vector2( 0.2, 1 ) -motion_mirroring = Vector2( 800, 0 ) +motion_mirroring = Vector2( 400, 0 ) [node name="Sprite" type="Sprite" parent="Mount2"] -position = Vector2( 0, 225 ) +position = Vector2( 0, 113 ) texture = ExtResource( 5 ) centered = false -region_rect = Rect2( 0, 0, 800, 256 ) +region_rect = Rect2( 0, 0, 400, 128 ) [node name="Mount1" type="ParallaxLayer" parent="."] motion_scale = Vector2( 0.4, 1 ) -motion_mirroring = Vector2( 800, 0 ) +motion_mirroring = Vector2( 400, 0 ) [node name="Sprite" type="Sprite" parent="Mount1"] -position = Vector2( 0, 225 ) +position = Vector2( 0, 113 ) texture = ExtResource( 6 ) centered = false -region_rect = Rect2( 0, 0, 800, 256 ) +region_rect = Rect2( 0, 0, 400, 128 ) diff --git a/2d/physics_platformer/background/Seesaw.tscn b/2d/physics_platformer/background/Seesaw.tscn index d2694c36..244f1845 100644 --- a/2d/physics_platformer/background/Seesaw.tscn +++ b/2d/physics_platformer/background/Seesaw.tscn @@ -4,10 +4,10 @@ [ext_resource path="res://background/plankpin.png" type="Texture" id=2] [sub_resource type="RectangleShape2D" id=1] -extents = Vector2( 128, 8 ) +extents = Vector2( 64, 4 ) [sub_resource type="RectangleShape2D" id=2] -extents = Vector2( 16, 27 ) +extents = Vector2( 8, 13.5 ) [node name="Seesaw" type="Node2D"] @@ -27,9 +27,9 @@ node_b = NodePath("../Pillar") [node name="Pillar" type="StaticBody2D" parent="."] [node name="Sprite" type="Sprite" parent="Pillar"] -position = Vector2( -0.290825, 20.2425 ) +position = Vector2( -0.1454125, 10.12125 ) texture = ExtResource( 2 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="Pillar"] -position = Vector2( 0, 25 ) +position = Vector2( 0, 12.5 ) shape = SubResource( 2 ) diff --git a/2d/physics_platformer/background/plank.png b/2d/physics_platformer/background/plank.png index 4ede3169..55eecda9 100644 Binary files a/2d/physics_platformer/background/plank.png and b/2d/physics_platformer/background/plank.png differ diff --git a/2d/physics_platformer/background/plank.png.import b/2d/physics_platformer/background/plank.png.import index 1cd32f1d..ef0d701e 100644 --- a/2d/physics_platformer/background/plank.png.import +++ b/2d/physics_platformer/background/plank.png.import @@ -20,7 +20,7 @@ compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 -flags/filter=true +flags/filter=false flags/mipmaps=false flags/anisotropic=false flags/srgb=2 @@ -30,5 +30,5 @@ process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 -detect_3d=true +detect_3d=false svg/scale=1.0 diff --git a/2d/physics_platformer/background/plankpin.png b/2d/physics_platformer/background/plankpin.png index 5b0e3834..bf0aafb2 100644 Binary files a/2d/physics_platformer/background/plankpin.png and b/2d/physics_platformer/background/plankpin.png differ diff --git a/2d/physics_platformer/background/plankpin.png.import b/2d/physics_platformer/background/plankpin.png.import index 9c2663bc..1d21b805 100644 --- a/2d/physics_platformer/background/plankpin.png.import +++ b/2d/physics_platformer/background/plankpin.png.import @@ -20,7 +20,7 @@ compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 -flags/filter=true +flags/filter=false flags/mipmaps=false flags/anisotropic=false flags/srgb=2 @@ -30,5 +30,5 @@ process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 -detect_3d=true +detect_3d=false svg/scale=1.0 diff --git a/2d/physics_platformer/background/scroll_bg_cloud_1.png b/2d/physics_platformer/background/scroll_bg_cloud_1.png index 2dd839c1..d2579c25 100644 Binary files a/2d/physics_platformer/background/scroll_bg_cloud_1.png and b/2d/physics_platformer/background/scroll_bg_cloud_1.png differ diff --git a/2d/physics_platformer/background/scroll_bg_cloud_1.png.import b/2d/physics_platformer/background/scroll_bg_cloud_1.png.import index 844cb7d6..e61037bb 100644 --- a/2d/physics_platformer/background/scroll_bg_cloud_1.png.import +++ b/2d/physics_platformer/background/scroll_bg_cloud_1.png.import @@ -20,7 +20,7 @@ compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 -flags/filter=true +flags/filter=false flags/mipmaps=false flags/anisotropic=false flags/srgb=2 @@ -30,5 +30,5 @@ process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 -detect_3d=true +detect_3d=false svg/scale=1.0 diff --git a/2d/physics_platformer/background/scroll_bg_cloud_2.png b/2d/physics_platformer/background/scroll_bg_cloud_2.png index 4dbcc1da..3121f0e2 100644 Binary files a/2d/physics_platformer/background/scroll_bg_cloud_2.png and b/2d/physics_platformer/background/scroll_bg_cloud_2.png differ diff --git a/2d/physics_platformer/background/scroll_bg_cloud_2.png.import b/2d/physics_platformer/background/scroll_bg_cloud_2.png.import index 6b2163fe..5bd93491 100644 --- a/2d/physics_platformer/background/scroll_bg_cloud_2.png.import +++ b/2d/physics_platformer/background/scroll_bg_cloud_2.png.import @@ -20,7 +20,7 @@ compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 -flags/filter=true +flags/filter=false flags/mipmaps=false flags/anisotropic=false flags/srgb=2 @@ -30,5 +30,5 @@ process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 -detect_3d=true +detect_3d=false svg/scale=1.0 diff --git a/2d/physics_platformer/background/scroll_bg_cloud_3.png b/2d/physics_platformer/background/scroll_bg_cloud_3.png index 5bac8734..07813159 100644 Binary files a/2d/physics_platformer/background/scroll_bg_cloud_3.png and b/2d/physics_platformer/background/scroll_bg_cloud_3.png differ diff --git a/2d/physics_platformer/background/scroll_bg_cloud_3.png.import b/2d/physics_platformer/background/scroll_bg_cloud_3.png.import index 86fe28b4..2316fd85 100644 --- a/2d/physics_platformer/background/scroll_bg_cloud_3.png.import +++ b/2d/physics_platformer/background/scroll_bg_cloud_3.png.import @@ -20,7 +20,7 @@ compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 -flags/filter=true +flags/filter=false flags/mipmaps=false flags/anisotropic=false flags/srgb=2 @@ -30,5 +30,5 @@ process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 -detect_3d=true +detect_3d=false svg/scale=1.0 diff --git a/2d/physics_platformer/background/scroll_bg_fg_1.png b/2d/physics_platformer/background/scroll_bg_fg_1.png index 1dfff4b0..32ee99b7 100644 Binary files a/2d/physics_platformer/background/scroll_bg_fg_1.png and b/2d/physics_platformer/background/scroll_bg_fg_1.png differ diff --git a/2d/physics_platformer/background/scroll_bg_fg_1.png.import b/2d/physics_platformer/background/scroll_bg_fg_1.png.import index b95e9504..5f3912cf 100644 --- a/2d/physics_platformer/background/scroll_bg_fg_1.png.import +++ b/2d/physics_platformer/background/scroll_bg_fg_1.png.import @@ -20,7 +20,7 @@ compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 -flags/filter=true +flags/filter=false flags/mipmaps=false flags/anisotropic=false flags/srgb=2 @@ -30,5 +30,5 @@ process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 -detect_3d=true +detect_3d=false svg/scale=1.0 diff --git a/2d/physics_platformer/background/scroll_bg_fg_2.png b/2d/physics_platformer/background/scroll_bg_fg_2.png index 4fa35887..bc812415 100644 Binary files a/2d/physics_platformer/background/scroll_bg_fg_2.png and b/2d/physics_platformer/background/scroll_bg_fg_2.png differ diff --git a/2d/physics_platformer/background/scroll_bg_fg_2.png.import b/2d/physics_platformer/background/scroll_bg_fg_2.png.import index eca2580e..cf45621b 100644 --- a/2d/physics_platformer/background/scroll_bg_fg_2.png.import +++ b/2d/physics_platformer/background/scroll_bg_fg_2.png.import @@ -20,7 +20,7 @@ compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 -flags/filter=true +flags/filter=false flags/mipmaps=false flags/anisotropic=false flags/srgb=2 @@ -30,5 +30,5 @@ process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 -detect_3d=true +detect_3d=false svg/scale=1.0 diff --git a/2d/physics_platformer/background/scroll_bg_sky.png b/2d/physics_platformer/background/scroll_bg_sky.png index 625626ce..6d45c807 100644 Binary files a/2d/physics_platformer/background/scroll_bg_sky.png and b/2d/physics_platformer/background/scroll_bg_sky.png differ diff --git a/2d/physics_platformer/background/scroll_bg_sky.png.import b/2d/physics_platformer/background/scroll_bg_sky.png.import index 70c3d74a..024a110a 100644 --- a/2d/physics_platformer/background/scroll_bg_sky.png.import +++ b/2d/physics_platformer/background/scroll_bg_sky.png.import @@ -20,7 +20,7 @@ compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 -flags/filter=true +flags/filter=false flags/mipmaps=false flags/anisotropic=false flags/srgb=2 @@ -30,5 +30,5 @@ process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 -detect_3d=true +detect_3d=false svg/scale=1.0 diff --git a/2d/physics_platformer/coin/Coin.tscn b/2d/physics_platformer/coin/Coin.tscn index d723b16a..08ca9316 100644 --- a/2d/physics_platformer/coin/Coin.tscn +++ b/2d/physics_platformer/coin/Coin.tscn @@ -90,6 +90,7 @@ tracks/4/keys = { } [sub_resource type="CircleShape2D" id=3] +radius = 5.0 [sub_resource type="CanvasItemMaterial" id=4] blend_mode = 1 @@ -139,5 +140,6 @@ process_material = SubResource( 7 ) texture = ExtResource( 4 ) [node name="Enabler" type="VisibilityEnabler2D" parent="."] +rect = Rect2( -5, -5, 10, 10 ) pause_particles = false [connection signal="body_entered" from="." to="." method="_on_body_enter"] diff --git a/2d/physics_platformer/coin/coin.png b/2d/physics_platformer/coin/coin.png index 9d1568b5..099e329b 100644 Binary files a/2d/physics_platformer/coin/coin.png and b/2d/physics_platformer/coin/coin.png differ diff --git a/2d/physics_platformer/coin/coin.png.import b/2d/physics_platformer/coin/coin.png.import index 6090e6df..d63f0ad6 100644 --- a/2d/physics_platformer/coin/coin.png.import +++ b/2d/physics_platformer/coin/coin.png.import @@ -20,7 +20,7 @@ compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 -flags/filter=true +flags/filter=false flags/mipmaps=false flags/anisotropic=false flags/srgb=2 @@ -30,5 +30,5 @@ process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 -detect_3d=true +detect_3d=false svg/scale=1.0 diff --git a/2d/physics_platformer/enemy/Enemy.tscn b/2d/physics_platformer/enemy/Enemy.tscn index 96b31429..7c27ebaa 100644 --- a/2d/physics_platformer/enemy/Enemy.tscn +++ b/2d/physics_platformer/enemy/Enemy.tscn @@ -101,7 +101,7 @@ tracks/0/keys = { } [sub_resource type="CircleShape2D" id=5] -radius = 14.0 +radius = 7.0 [sub_resource type="Gradient" id=6] offsets = PoolRealArray( 0, 0.564972, 1 ) @@ -130,8 +130,8 @@ contacts_reported = 4 script = ExtResource( 1 ) [node name="Enabler" type="VisibilityEnabler2D" parent="."] -position = Vector2( 16.2569, 11.0034 ) -scale = Vector2( 23.5056, 10.8629 ) +position = Vector2( 8.12845, 5.5017 ) +scale = Vector2( 11.7528, 5.43145 ) pause_particles = false [node name="AnimationPlayer" type="AnimationPlayer" parent="."] @@ -145,26 +145,26 @@ hframes = 8 frame = 4 [node name="Shape1" type="CollisionShape2D" parent="."] -position = Vector2( -1.08072, -2.16144 ) +position = Vector2( -0.54036, -1.08072 ) shape = SubResource( 5 ) [node name="Shape2" type="CollisionShape2D" parent="."] -position = Vector2( 6.48431, 3.24216 ) +position = Vector2( 3.24216, 1.62108 ) shape = SubResource( 5 ) [node name="Shape3" type="CollisionShape2D" parent="."] -position = Vector2( -12.495, 3.53415 ) +position = Vector2( -6.2475, 1.76707 ) shape = SubResource( 5 ) [node name="RaycastLeft" type="RayCast2D" parent="."] -position = Vector2( -33.2868, -9.34363 ) +position = Vector2( -14, -4.672 ) enabled = true -cast_to = Vector2( 0, 45 ) +cast_to = Vector2( 0, 22.5 ) [node name="RaycastRight" type="RayCast2D" parent="."] -position = Vector2( 29.1987, -9.34363 ) +position = Vector2( 11, -4.672 ) enabled = true -cast_to = Vector2( 0, 45 ) +cast_to = Vector2( 0, 22.5 ) [node name="Particles2D" type="Particles2D" parent="."] modulate = Color( 1, 1, 1, 0.685843 ) diff --git a/2d/physics_platformer/enemy/enemy.gd b/2d/physics_platformer/enemy/enemy.gd index 6e1dbe7e..a4a3b1e0 100644 --- a/2d/physics_platformer/enemy/enemy.gd +++ b/2d/physics_platformer/enemy/enemy.gd @@ -1,7 +1,7 @@ class_name Enemy extends RigidBody2D -const WALK_SPEED = 50 +const WALK_SPEED = 25 enum State { WALKING, diff --git a/2d/physics_platformer/enemy/enemy.png b/2d/physics_platformer/enemy/enemy.png index 4c28bc15..bfd9391c 100644 Binary files a/2d/physics_platformer/enemy/enemy.png and b/2d/physics_platformer/enemy/enemy.png differ diff --git a/2d/physics_platformer/enemy/enemy.png.import b/2d/physics_platformer/enemy/enemy.png.import index 97a7c88e..a7c3f0b9 100644 --- a/2d/physics_platformer/enemy/enemy.png.import +++ b/2d/physics_platformer/enemy/enemy.png.import @@ -30,5 +30,5 @@ process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 -detect_3d=true +detect_3d=false svg/scale=1.0 diff --git a/2d/physics_platformer/platform/MovingPlatform.tscn b/2d/physics_platformer/platform/MovingPlatform.tscn index 60e99ad2..cbab92ea 100644 --- a/2d/physics_platformer/platform/MovingPlatform.tscn +++ b/2d/physics_platformer/platform/MovingPlatform.tscn @@ -13,4 +13,4 @@ mode = 3 texture = ExtResource( 2 ) [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Platform"] -polygon = PoolVector2Array( -88, -24, 88, -24, 88, 24, -88, 24 ) +polygon = PoolVector2Array( -44, -12, 44, -12, 44, 12, -44, 12 ) diff --git a/2d/physics_platformer/platform/OneWayPlatform.tscn b/2d/physics_platformer/platform/OneWayPlatform.tscn index de619542..434aa8ce 100644 --- a/2d/physics_platformer/platform/OneWayPlatform.tscn +++ b/2d/physics_platformer/platform/OneWayPlatform.tscn @@ -3,7 +3,7 @@ [ext_resource path="res://platform/one_way_platform.png" type="Texture" id=1] [sub_resource type="RectangleShape2D" id=1] -extents = Vector2( 100, 10 ) +extents = Vector2( 50, 5 ) [node name="OneWayPlatform" type="StaticBody2D"] @@ -11,6 +11,6 @@ extents = Vector2( 100, 10 ) texture = ExtResource( 1 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] -position = Vector2( 1.46304, -13.1672 ) +position = Vector2( 0.73152, -6.5836 ) shape = SubResource( 1 ) one_way_collision = true diff --git a/2d/physics_platformer/platform/moving_platform.png b/2d/physics_platformer/platform/moving_platform.png index 67168f5f..5801b007 100644 Binary files a/2d/physics_platformer/platform/moving_platform.png and b/2d/physics_platformer/platform/moving_platform.png differ diff --git a/2d/physics_platformer/platform/moving_platform.png.import b/2d/physics_platformer/platform/moving_platform.png.import index 4c69cfcc..a5175cf6 100644 --- a/2d/physics_platformer/platform/moving_platform.png.import +++ b/2d/physics_platformer/platform/moving_platform.png.import @@ -20,7 +20,7 @@ compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 -flags/filter=true +flags/filter=false flags/mipmaps=false flags/anisotropic=false flags/srgb=2 @@ -30,5 +30,5 @@ process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 -detect_3d=true +detect_3d=false svg/scale=1.0 diff --git a/2d/physics_platformer/platform/one_way_platform.png b/2d/physics_platformer/platform/one_way_platform.png index 283dbf1d..e4c2071d 100644 Binary files a/2d/physics_platformer/platform/one_way_platform.png and b/2d/physics_platformer/platform/one_way_platform.png differ diff --git a/2d/physics_platformer/platform/one_way_platform.png.import b/2d/physics_platformer/platform/one_way_platform.png.import index bfcd1f4d..c71a2e0b 100644 --- a/2d/physics_platformer/platform/one_way_platform.png.import +++ b/2d/physics_platformer/platform/one_way_platform.png.import @@ -20,7 +20,7 @@ compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 -flags/filter=true +flags/filter=false flags/mipmaps=false flags/anisotropic=false flags/srgb=2 @@ -30,5 +30,5 @@ process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 -detect_3d=true +detect_3d=false svg/scale=1.0 diff --git a/2d/physics_platformer/player/Bullet.tscn b/2d/physics_platformer/player/Bullet.tscn index 66ab9fef..55b79288 100644 --- a/2d/physics_platformer/player/Bullet.tscn +++ b/2d/physics_platformer/player/Bullet.tscn @@ -17,6 +17,7 @@ orbit_velocity_random = 0.0 scale = 0.8 [sub_resource type="CircleShape2D" id=3] +radius = 4.5 [sub_resource type="Animation" id=4] length = 1.5 diff --git a/2d/physics_platformer/player/Player.tscn b/2d/physics_platformer/player/Player.tscn index 723fd8f6..4873d560 100644 --- a/2d/physics_platformer/player/Player.tscn +++ b/2d/physics_platformer/player/Player.tscn @@ -203,10 +203,11 @@ tracks/0/keys = { [sub_resource type="RayShape2D" id=15] custom_solver_bias = 0.5 +length = 18.0 [node name="Player" type="RigidBody2D"] mode = 2 -mass = 3.0 +mass = 1.5 physics_material_override = SubResource( 1 ) custom_integrator = true contacts_reported = 3 @@ -219,7 +220,7 @@ hframes = 16 [node name="Smoke" type="Particles2D" parent="Sprite"] self_modulate = Color( 1, 1, 1, 0.26702 ) -position = Vector2( 20.7312, 3.21187 ) +position = Vector2( 10, 1.5 ) rotation = -1.45648 emitting = false lifetime = 0.3 @@ -243,19 +244,19 @@ anims/standing_weapon_ready = SubResource( 14 ) [node name="Camera" type="Camera2D" parent="."] current = true +zoom = Vector2( 0.5, 0.5 ) limit_left = 0 limit_top = 0 [node name="BulletShoot" type="Position2D" parent="."] -position = Vector2( 31.2428, 4.08784 ) +position = Vector2( 15, 2 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] -position = Vector2( 0.291992, -12.1587 ) -scale = Vector2( 1, 1.76469 ) +position = Vector2( 0.15, -6 ) shape = SubResource( 15 ) [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."] -polygon = PoolVector2Array( -0.138023, 16.5036, -19.902, -24.8691, 19.3625, -24.6056 ) +polygon = PoolVector2Array( -0.138, 8.25, -10, -12, 11, -12 ) [node name="UI" type="CanvasLayer" parent="."] layer = 0 diff --git a/2d/physics_platformer/player/bullet.png b/2d/physics_platformer/player/bullet.png index 79b505f1..821a20d0 100644 Binary files a/2d/physics_platformer/player/bullet.png and b/2d/physics_platformer/player/bullet.png differ diff --git a/2d/physics_platformer/player/bullet.png.import b/2d/physics_platformer/player/bullet.png.import index 42e175e6..78c66e61 100644 --- a/2d/physics_platformer/player/bullet.png.import +++ b/2d/physics_platformer/player/bullet.png.import @@ -20,7 +20,7 @@ compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 flags/repeat=0 -flags/filter=true +flags/filter=false flags/mipmaps=false flags/anisotropic=false flags/srgb=2 @@ -30,5 +30,5 @@ process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 -detect_3d=true +detect_3d=false svg/scale=1.0 diff --git a/2d/physics_platformer/player/player.gd b/2d/physics_platformer/player/player.gd index 631e315f..f25db381 100644 --- a/2d/physics_platformer/player/player.gd +++ b/2d/physics_platformer/player/player.gd @@ -23,13 +23,13 @@ extends RigidBody2D # - Friction cant be used, so floor velocity must be considered # for moving platforms. -const WALK_ACCEL = 800.0 -const WALK_DEACCEL = 800.0 -const WALK_MAX_VELOCITY = 200.0 -const AIR_ACCEL = 200.0 -const AIR_DEACCEL = 200.0 -const JUMP_VELOCITY = 460 -const STOP_JUMP_FORCE = 900.0 +const WALK_ACCEL = 400.0 +const WALK_DEACCEL = 400.0 +const WALK_MAX_VELOCITY = 100.0 +const AIR_ACCEL = 100.0 +const AIR_DEACCEL = 100.0 +const JUMP_VELOCITY = 230 +const STOP_JUMP_FORCE = 450.0 const MAX_SHOOT_POSE_TIME = 0.3 const MAX_FLOOR_AIRBORNE_TIME = 0.15 @@ -209,7 +209,7 @@ func _shot_bullet(): bi.position = pos get_parent().add_child(bi) - bi.linear_velocity = Vector2(800.0 * ss, -80) + bi.linear_velocity = Vector2(400.0 * ss, -40) ($Sprite/Smoke as Particles2D).restart() ($SoundShoot as AudioStreamPlayer2D).play() @@ -219,5 +219,5 @@ func _shot_bullet(): func _spawn_enemy_above(): var e = Enemy.instance() - e.position = position + 100 * Vector2.UP + e.position = position + 50 * Vector2.UP get_parent().add_child(e) diff --git a/2d/physics_platformer/player/robot_demo.png b/2d/physics_platformer/player/robot_demo.png index b2d12594..22ebcf1b 100644 Binary files a/2d/physics_platformer/player/robot_demo.png and b/2d/physics_platformer/player/robot_demo.png differ diff --git a/2d/physics_platformer/player/robot_demo.png.import b/2d/physics_platformer/player/robot_demo.png.import index f148c142..5b984fa0 100644 --- a/2d/physics_platformer/player/robot_demo.png.import +++ b/2d/physics_platformer/player/robot_demo.png.import @@ -30,5 +30,5 @@ process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 -detect_3d=true +detect_3d=false svg/scale=1.0 diff --git a/2d/physics_platformer/project.godot b/2d/physics_platformer/project.godot index b8547ef9..eb152234 100644 --- a/2d/physics_platformer/project.godot +++ b/2d/physics_platformer/project.godot @@ -62,8 +62,6 @@ window/size/width=800 window/size/height=480 window/stretch/mode="2d" window/stretch/aspect="keep" -stretch/aspect="keep_height" -stretch/mode="2d" [gdnative] @@ -73,6 +71,29 @@ singletons=[ ] repeat=false +[importer_defaults] + +texture={ +"compress/bptc_ldr": 0, +"compress/hdr_mode": 0, +"compress/lossy_quality": 0.7, +"compress/mode": 0, +"compress/normal_map": 0, +"detect_3d": false, +"flags/anisotropic": false, +"flags/filter": false, +"flags/mipmaps": false, +"flags/repeat": 0, +"flags/srgb": 2, +"process/HDR_as_SRGB": false, +"process/fix_alpha_border": true, +"process/invert_color": false, +"process/premult_alpha": false, +"size_limit": 0, +"stream": false, +"svg/scale": 1.0 +} + [input] jump={ @@ -115,7 +136,7 @@ spawn={ [physics] -2d/default_gravity=700 +2d/default_gravity=350 [rasterizer] @@ -129,9 +150,9 @@ mipmap_policy=1 quality/intended_usage/framebuffer_allocation=0 quality/intended_usage/framebuffer_allocation.mobile=1 +quality/2d/use_pixel_snap=true quality/filters/anisotropic_filter_level=2 quality/filters/use_nearest_mipmap_filter=true -quality/voxel_cone_tracing/high_quality=false quality/depth/hdr=false [texture_import] diff --git a/2d/physics_platformer/tiles_demo.png b/2d/physics_platformer/tiles_demo.png index 4d37bf6c..99fd472d 100644 Binary files a/2d/physics_platformer/tiles_demo.png and b/2d/physics_platformer/tiles_demo.png differ diff --git a/2d/physics_platformer/tiles_demo.png.import b/2d/physics_platformer/tiles_demo.png.import index 26ccb23b..9c560d55 100644 --- a/2d/physics_platformer/tiles_demo.png.import +++ b/2d/physics_platformer/tiles_demo.png.import @@ -30,5 +30,5 @@ process/HDR_as_SRGB=false process/invert_color=false stream=false size_limit=0 -detect_3d=true +detect_3d=false svg/scale=1.0 diff --git a/2d/platformer/assets/art/background/cloud_1.png b/2d/platformer/assets/art/background/cloud_1.png index 51c37b5b..d2579c25 100644 Binary files a/2d/platformer/assets/art/background/cloud_1.png and b/2d/platformer/assets/art/background/cloud_1.png differ diff --git a/2d/platformer/assets/art/background/cloud_2.png b/2d/platformer/assets/art/background/cloud_2.png index cbd60980..3121f0e2 100644 Binary files a/2d/platformer/assets/art/background/cloud_2.png and b/2d/platformer/assets/art/background/cloud_2.png differ diff --git a/2d/platformer/assets/art/background/cloud_3.png b/2d/platformer/assets/art/background/cloud_3.png index 5bac8734..07813159 100644 Binary files a/2d/platformer/assets/art/background/cloud_3.png and b/2d/platformer/assets/art/background/cloud_3.png differ diff --git a/2d/platformer/assets/art/background/distant_platforms_1.png b/2d/platformer/assets/art/background/distant_platforms_1.png index 3d78ae25..53a3dc7b 100644 Binary files a/2d/platformer/assets/art/background/distant_platforms_1.png and b/2d/platformer/assets/art/background/distant_platforms_1.png differ diff --git a/2d/platformer/assets/art/background/distant_platforms_2.png b/2d/platformer/assets/art/background/distant_platforms_2.png index 82d01b9f..9727b4ff 100644 Binary files a/2d/platformer/assets/art/background/distant_platforms_2.png and b/2d/platformer/assets/art/background/distant_platforms_2.png differ diff --git a/2d/platformer/assets/art/background/sky.png b/2d/platformer/assets/art/background/sky.png index d4e8773b..6d45c807 100644 Binary files a/2d/platformer/assets/art/background/sky.png and b/2d/platformer/assets/art/background/sky.png differ diff --git a/2d/platformer/assets/art/coin/coin.png b/2d/platformer/assets/art/coin/coin.png index 9d1568b5..099e329b 100644 Binary files a/2d/platformer/assets/art/coin/coin.png and b/2d/platformer/assets/art/coin/coin.png differ diff --git a/2d/platformer/assets/art/enemy/enemy.png b/2d/platformer/assets/art/enemy/enemy.png index 4c28bc15..bfd9391c 100644 Binary files a/2d/platformer/assets/art/enemy/enemy.png and b/2d/platformer/assets/art/enemy/enemy.png differ diff --git a/2d/platformer/assets/art/platforms/moving_platform.png b/2d/platformer/assets/art/platforms/moving_platform.png index f3d7ce39..6409b6a8 100644 Binary files a/2d/platformer/assets/art/platforms/moving_platform.png and b/2d/platformer/assets/art/platforms/moving_platform.png differ diff --git a/2d/platformer/assets/art/platforms/one_way_platform.png b/2d/platformer/assets/art/platforms/one_way_platform.png index 4e55eb95..b9c4b801 100644 Binary files a/2d/platformer/assets/art/platforms/one_way_platform.png and b/2d/platformer/assets/art/platforms/one_way_platform.png differ diff --git a/2d/platformer/assets/art/player/bullet/bullet.png b/2d/platformer/assets/art/player/bullet/bullet.png index 4b422721..821a20d0 100644 Binary files a/2d/platformer/assets/art/player/bullet/bullet.png and b/2d/platformer/assets/art/player/bullet/bullet.png differ diff --git a/2d/platformer/assets/art/player/bullet/bullet.png.import b/2d/platformer/assets/art/player/bullet/bullet.png.import index 892c6649..88e81238 100644 --- a/2d/platformer/assets/art/player/bullet/bullet.png.import +++ b/2d/platformer/assets/art/player/bullet/bullet.png.import @@ -14,17 +14,17 @@ dest_files=[ "res://.import/bullet.png-a148438922f3743d5615622ef8134c9f.stex" ] [params] -compress/mode=3 +compress/mode=0 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 -compress/normal_map=2 +compress/normal_map=0 flags/repeat=0 -flags/filter=true -flags/mipmaps=true +flags/filter=false +flags/mipmaps=false flags/anisotropic=false -flags/srgb=0 -process/fix_alpha_border=false +flags/srgb=2 +process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false diff --git a/2d/platformer/assets/art/player/robot_demo.png b/2d/platformer/assets/art/player/robot_demo.png index 9e9b6675..22ebcf1b 100644 Binary files a/2d/platformer/assets/art/player/robot_demo.png and b/2d/platformer/assets/art/player/robot_demo.png differ diff --git a/2d/platformer/assets/art/tileset/tiles_demo.png b/2d/platformer/assets/art/tileset/tiles_demo.png index ec366881..6bb47427 100644 Binary files a/2d/platformer/assets/art/tileset/tiles_demo.png and b/2d/platformer/assets/art/tileset/tiles_demo.png differ diff --git a/2d/platformer/assets/art/tileset/tileset.tres b/2d/platformer/assets/art/tileset/tileset.tres index e96c2c78..8cc5a0b4 100644 --- a/2d/platformer/assets/art/tileset/tileset.tres +++ b/2d/platformer/assets/art/tileset/tileset.tres @@ -3,47 +3,47 @@ [ext_resource path="res://assets/art/tileset/tiles_demo.png" type="Texture" id=1] [sub_resource type="ConvexPolygonShape2D" id=1] -points = PoolVector2Array( 0, 12, 64, 12, 64, 64, 0, 64 ) +points = PoolVector2Array( 0, 6, 32, 6, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=2] -points = PoolVector2Array( 0, 12, 56, 12, 56, 64, 0, 64 ) +points = PoolVector2Array( 0, 6, 28, 6, 28, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=3] -points = PoolVector2Array( 0, 0, 64, 0, 64, 64, 0, 64 ) +points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=4] -points = PoolVector2Array( 0, 12, 64, 12, 64, 64, 0, 64 ) +points = PoolVector2Array( 0, 6, 32, 6, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=5] -points = PoolVector2Array( 64, 76, 64, 128, 0, 128, 0, 12 ) +points = PoolVector2Array( 32, 38, 32, 64, 0, 64, 0, 6 ) [sub_resource type="ConvexPolygonShape2D" id=6] -points = PoolVector2Array( 0, 0, 56, 0, 56, 64, 0, 64 ) +points = PoolVector2Array( 0, 0, 28, 0, 28, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=7] -points = PoolVector2Array( 56, 12, 64, 12, 64, 64, 0, 64, 0, 0, 56, 0 ) +points = PoolVector2Array( 28, 6, 32, 6, 32, 32, 0, 32, 0, 0, 28, 0 ) [sub_resource type="ConvexPolygonShape2D" id=8] -points = PoolVector2Array( 0, 12, 64, 12, 64, 64, 0, 64 ) +points = PoolVector2Array( 0, 6, 32, 6, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=9] -points = PoolVector2Array( 0, 12, 56, 12, 56, 64, 0, 64 ) +points = PoolVector2Array( 0, 6, 28, 6, 28, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=10] -points = PoolVector2Array( 0, 0, 64, 0, 64, 64, 0, 64 ) +points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) [sub_resource type="ConvexPolygonShape2D" id=11] -points = PoolVector2Array( 0, 0, 64, 0, 64, 48, 0, 48 ) +points = PoolVector2Array( 0, 0, 32, 0, 32, 24, 0, 24 ) [sub_resource type="ConvexPolygonShape2D" id=12] -points = PoolVector2Array( 0, 0, 56, 0, 56, 48, 0, 48 ) +points = PoolVector2Array( 0, 0, 28, 0, 28, 24, 0, 24 ) [resource] 0/name = "ground" 0/texture = ExtResource( 1 ) 0/tex_offset = Vector2( 0, 0 ) 0/modulate = Color( 1, 1, 1, 1 ) -0/region = Rect2( 0, 0, 64, 64 ) +0/region = Rect2( 0, 0, 32, 32 ) 0/tile_mode = 0 0/occluder_offset = Vector2( 0, 0 ) 0/navigation_offset = Vector2( 0, 0 ) @@ -59,7 +59,7 @@ points = PoolVector2Array( 0, 0, 56, 0, 56, 48, 0, 48 ) 1/texture = ExtResource( 1 ) 1/tex_offset = Vector2( 0, 0 ) 1/modulate = Color( 1, 1, 1, 1 ) -1/region = Rect2( 64, 0, 64, 64 ) +1/region = Rect2( 32, 0, 32, 32 ) 1/tile_mode = 0 1/occluder_offset = Vector2( 0, 0 ) 1/navigation_offset = Vector2( 0, 0 ) @@ -75,7 +75,7 @@ points = PoolVector2Array( 0, 0, 56, 0, 56, 48, 0, 48 ) 2/texture = ExtResource( 1 ) 2/tex_offset = Vector2( 0, 0 ) 2/modulate = Color( 1, 1, 1, 1 ) -2/region = Rect2( 128, 128, 64, 128 ) +2/region = Rect2( 64, 64, 32, 64 ) 2/tile_mode = 0 2/occluder_offset = Vector2( 0, 0 ) 2/navigation_offset = Vector2( 0, 0 ) @@ -91,7 +91,7 @@ points = PoolVector2Array( 0, 0, 56, 0, 56, 48, 0, 48 ) 3/texture = ExtResource( 1 ) 3/tex_offset = Vector2( 0, 0 ) 3/modulate = Color( 1, 1, 1, 1 ) -3/region = Rect2( 64, 64, 64, 64 ) +3/region = Rect2( 32, 32, 32, 32 ) 3/tile_mode = 0 3/occluder_offset = Vector2( 0, 0 ) 3/navigation_offset = Vector2( 0, 0 ) @@ -107,7 +107,7 @@ points = PoolVector2Array( 0, 0, 56, 0, 56, 48, 0, 48 ) 4/texture = ExtResource( 1 ) 4/tex_offset = Vector2( 0, 0 ) 4/modulate = Color( 1, 1, 1, 1 ) -4/region = Rect2( 64, 128, 64, 64 ) +4/region = Rect2( 32, 64, 32, 32 ) 4/tile_mode = 0 4/occluder_offset = Vector2( 0, 0 ) 4/navigation_offset = Vector2( 0, 0 ) @@ -123,7 +123,7 @@ points = PoolVector2Array( 0, 0, 56, 0, 56, 48, 0, 48 ) 5/texture = ExtResource( 1 ) 5/tex_offset = Vector2( 0, 0 ) 5/modulate = Color( 1, 1, 1, 1 ) -5/region = Rect2( 128, 0, 64, 64 ) +5/region = Rect2( 64, 0, 32, 32 ) 5/tile_mode = 0 5/occluder_offset = Vector2( 0, 0 ) 5/navigation_offset = Vector2( 0, 0 ) @@ -139,7 +139,7 @@ points = PoolVector2Array( 0, 0, 56, 0, 56, 48, 0, 48 ) 6/texture = ExtResource( 1 ) 6/tex_offset = Vector2( 0, 0 ) 6/modulate = Color( 1, 1, 1, 1 ) -6/region = Rect2( 192, 0, 64, 64 ) +6/region = Rect2( 96, 0, 32, 32 ) 6/tile_mode = 0 6/occluder_offset = Vector2( 0, 0 ) 6/navigation_offset = Vector2( 0, 0 ) @@ -155,7 +155,7 @@ points = PoolVector2Array( 0, 0, 56, 0, 56, 48, 0, 48 ) 7/texture = ExtResource( 1 ) 7/tex_offset = Vector2( 0, 0 ) 7/modulate = Color( 1, 1, 1, 1 ) -7/region = Rect2( 0, 64, 64, 64 ) +7/region = Rect2( 0, 32, 32, 32 ) 7/tile_mode = 0 7/occluder_offset = Vector2( 0, 0 ) 7/navigation_offset = Vector2( 0, 0 ) @@ -171,7 +171,7 @@ points = PoolVector2Array( 0, 0, 56, 0, 56, 48, 0, 48 ) 8/texture = ExtResource( 1 ) 8/tex_offset = Vector2( 0, 0 ) 8/modulate = Color( 1, 1, 1, 1 ) -8/region = Rect2( 384, 64, 64, 64 ) +8/region = Rect2( 192, 32, 32, 32 ) 8/tile_mode = 0 8/occluder_offset = Vector2( 0, 0 ) 8/navigation_offset = Vector2( 0, 0 ) @@ -187,7 +187,7 @@ points = PoolVector2Array( 0, 0, 56, 0, 56, 48, 0, 48 ) 9/texture = ExtResource( 1 ) 9/tex_offset = Vector2( 0, 0 ) 9/modulate = Color( 1, 1, 1, 1 ) -9/region = Rect2( 448, 64, 64, 64 ) +9/region = Rect2( 224, 32, 32, 32 ) 9/tile_mode = 0 9/occluder_offset = Vector2( 0, 0 ) 9/navigation_offset = Vector2( 0, 0 ) @@ -203,7 +203,7 @@ points = PoolVector2Array( 0, 0, 56, 0, 56, 48, 0, 48 ) 10/texture = ExtResource( 1 ) 10/tex_offset = Vector2( 0, 0 ) 10/modulate = Color( 1, 1, 1, 1 ) -10/region = Rect2( 320, 64, 64, 64 ) +10/region = Rect2( 160, 32, 32, 32 ) 10/tile_mode = 0 10/occluder_offset = Vector2( 0, 0 ) 10/navigation_offset = Vector2( 0, 0 ) @@ -219,7 +219,7 @@ points = PoolVector2Array( 0, 0, 56, 0, 56, 48, 0, 48 ) 11/texture = ExtResource( 1 ) 11/tex_offset = Vector2( 0, 0 ) 11/modulate = Color( 1, 1, 1, 1 ) -11/region = Rect2( 256, 128, 64, 64 ) +11/region = Rect2( 128, 64, 32, 32 ) 11/tile_mode = 0 11/occluder_offset = Vector2( 0, 0 ) 11/navigation_offset = Vector2( 0, 0 ) @@ -229,7 +229,7 @@ points = PoolVector2Array( 0, 0, 56, 0, 56, 48, 0, 48 ) 12/texture = ExtResource( 1 ) 12/tex_offset = Vector2( 0, 0 ) 12/modulate = Color( 1, 1, 1, 1 ) -12/region = Rect2( 256, 64, 64, 64 ) +12/region = Rect2( 128, 32, 32, 32 ) 12/tile_mode = 0 12/occluder_offset = Vector2( 0, 0 ) 12/navigation_offset = Vector2( 0, 0 ) @@ -239,7 +239,7 @@ points = PoolVector2Array( 0, 0, 56, 0, 56, 48, 0, 48 ) 13/texture = ExtResource( 1 ) 13/tex_offset = Vector2( 0, 0 ) 13/modulate = Color( 1, 1, 1, 1 ) -13/region = Rect2( 256, 192, 64, 64 ) +13/region = Rect2( 128, 96, 32, 32 ) 13/tile_mode = 0 13/occluder_offset = Vector2( 0, 0 ) 13/navigation_offset = Vector2( 0, 0 ) @@ -255,7 +255,7 @@ points = PoolVector2Array( 0, 0, 56, 0, 56, 48, 0, 48 ) 14/texture = ExtResource( 1 ) 14/tex_offset = Vector2( 0, 0 ) 14/modulate = Color( 1, 1, 1, 1 ) -14/region = Rect2( 256, 0, 64, 64 ) +14/region = Rect2( 128, 0, 32, 32 ) 14/tile_mode = 0 14/occluder_offset = Vector2( 0, 0 ) 14/navigation_offset = Vector2( 0, 0 ) diff --git a/2d/platformer/project.godot b/2d/platformer/project.godot index 71d88db2..a545b40e 100644 --- a/2d/platformer/project.godot +++ b/2d/platformer/project.godot @@ -81,6 +81,29 @@ singletons=[ ] repeat=false +[importer_defaults] + +texture={ +"compress/bptc_ldr": 0, +"compress/hdr_mode": 0, +"compress/lossy_quality": 0.7, +"compress/mode": 0, +"compress/normal_map": 0, +"detect_3d": false, +"flags/anisotropic": false, +"flags/filter": false, +"flags/mipmaps": false, +"flags/repeat": 0, +"flags/srgb": 2, +"process/HDR_as_SRGB": false, +"process/fix_alpha_border": true, +"process/invert_color": false, +"process/premult_alpha": false, +"size_limit": 0, +"stream": false, +"svg/scale": 1.0 +} + [input] jump={ @@ -136,8 +159,7 @@ toggle_pause={ [physics] -2d/default_gravity=700 -2d/gravity_default=1800.0 +2d/default_gravity=350 [rasterizer] diff --git a/2d/platformer/src/Actors/Enemy.tscn b/2d/platformer/src/Actors/Enemy.tscn index ae55902c..6343a343 100644 --- a/2d/platformer/src/Actors/Enemy.tscn +++ b/2d/platformer/src/Actors/Enemy.tscn @@ -169,8 +169,8 @@ tracks/0/keys = { } [sub_resource type="CapsuleShape2D" id=5] -radius = 13.4556 -height = 14.2002 +radius = 11.0 +height = 7.0 [sub_resource type="CanvasItemMaterial" id=6] blend_mode = 1 @@ -195,7 +195,6 @@ orbit_velocity = 0.0 orbit_velocity_random = 0.0 angle = 720.0 angle_random = 1.0 -scale = 0.4 scale_random = 1.0 color_ramp = SubResource( 8 ) hue_variation = 0.05 @@ -205,25 +204,25 @@ hue_variation_random = 0.46 collision_layer = 2 collision_mask = 24 script = ExtResource( 5 ) -speed = Vector2( 150, 500 ) -gravity = 1800.0 +speed = Vector2( 75, 250 ) +gravity = 900.0 [node name="PlatformDetector" type="RayCast2D" parent="."] -position = Vector2( 0, 12 ) +position = Vector2( 0, 6 ) enabled = true cast_to = Vector2( 0, 8 ) collision_mask = 8 [node name="FloorDetectorLeft" type="RayCast2D" parent="."] -position = Vector2( -30, -8 ) +position = Vector2( -15, -4 ) enabled = true -cast_to = Vector2( 0, 70 ) +cast_to = Vector2( 0, 35 ) collision_mask = 24 [node name="FloorDetectorRight" type="RayCast2D" parent="."] -position = Vector2( 31.16, -8 ) +position = Vector2( 15.5, -3 ) enabled = true -cast_to = Vector2( 0, 70 ) +cast_to = Vector2( 0, 35 ) collision_mask = 24 [node name="Sprite" type="Sprite" parent="."] @@ -231,7 +230,7 @@ material = SubResource( 1 ) texture = ExtResource( 4 ) flip_h = true hframes = 8 -frame = 5 +frame = 7 [node name="AnimationPlayer" type="AnimationPlayer" parent="."] anims/destroy = SubResource( 2 ) diff --git a/2d/platformer/src/Actors/Gun.gd b/2d/platformer/src/Actors/Gun.gd index f13b3afc..224363b2 100644 --- a/2d/platformer/src/Actors/Gun.gd +++ b/2d/platformer/src/Actors/Gun.gd @@ -4,7 +4,7 @@ extends Position2D # The Cooldown timer controls the cooldown duration between shots. -const BULLET_VELOCITY = 1000.0 +const BULLET_VELOCITY = 500.0 const Bullet = preload("res://src/Objects/Bullet.tscn") onready var sound_shoot = $Shoot diff --git a/2d/platformer/src/Actors/Player.gd b/2d/platformer/src/Actors/Player.gd index 4e68b8e1..1cfac327 100644 --- a/2d/platformer/src/Actors/Player.gd +++ b/2d/platformer/src/Actors/Player.gd @@ -2,7 +2,7 @@ class_name Player extends Actor -const FLOOR_DETECT_DISTANCE = 40.0 +const FLOOR_DETECT_DISTANCE = 20.0 onready var platform_detector = $PlatformDetector onready var sprite = $Sprite diff --git a/2d/platformer/src/Actors/Player.tscn b/2d/platformer/src/Actors/Player.tscn index 234d976d..c2341c6f 100644 --- a/2d/platformer/src/Actors/Player.tscn +++ b/2d/platformer/src/Actors/Player.tscn @@ -184,13 +184,13 @@ tracks/0/keys = { } [sub_resource type="RectangleShape2D" id=11] -extents = Vector2( 10, 27 ) +extents = Vector2( 10, 14 ) [node name="Player" type="KinematicBody2D"] collision_mask = 30 script = ExtResource( 1 ) -speed = Vector2( 300, 700 ) -gravity = 1800.0 +speed = Vector2( 150, 350 ) +gravity = 900.0 [node name="ShootAnimation" type="Timer" parent="."] process_mode = 0 @@ -203,14 +203,14 @@ cast_to = Vector2( 0, 6 ) collision_mask = 8 [node name="Sprite" type="Sprite" parent="."] -position = Vector2( 0, -28 ) +position = Vector2( 0, -14 ) texture = ExtResource( 2 ) vframes = 2 hframes = 16 frame = 16 [node name="Gun" type="Position2D" parent="Sprite"] -position = Vector2( 30.6589, 6.13176 ) +position = Vector2( 14, 1 ) script = ExtResource( 9 ) [node name="Shoot" type="AudioStreamPlayer2D" parent="Sprite/Gun"] @@ -241,7 +241,7 @@ current = true process_mode = 0 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] -position = Vector2( 0, -27 ) +position = Vector2( 0, -14 ) shape = SubResource( 11 ) [node name="Jump" type="AudioStreamPlayer2D" parent="."] diff --git a/2d/platformer/src/Level/Level.tscn b/2d/platformer/src/Level/Level.tscn index 7d335e7f..2516ad2e 100644 --- a/2d/platformer/src/Level/Level.tscn +++ b/2d/platformer/src/Level/Level.tscn @@ -23,7 +23,7 @@ tracks/0/keys = { "times": PoolRealArray( 0, 2 ), "transitions": PoolRealArray( 1, 1 ), "update": 0, -"values": [ Vector2( 1414.49, 799.663 ), Vector2( 1131.8, 607.41 ) ] +"values": [ Vector2( 707, 400 ), Vector2( 566, 303 ) ] } [sub_resource type="Animation" id=2] @@ -39,7 +39,7 @@ tracks/0/keys = { "times": PoolRealArray( 0, 4 ), "transitions": PoolRealArray( 1, 1 ), "update": 0, -"values": [ Vector2( -93.4945, 159.269 ), Vector2( -93.4945, 814.766 ) ] +"values": [ Vector2( -47, 80 ), Vector2( -47, 407 ) ] } [node name="Level" type="Node2D"] @@ -47,168 +47,169 @@ pause_mode = 1 [node name="TileMap" type="TileMap" parent="."] tile_set = ExtResource( 1 ) +cell_size = Vector2( 32, 32 ) collision_layer = 16 collision_mask = 0 format = 1 -tile_data = PoolIntArray( -65546, 536870913, 0, -65545, 1, 0, -131044, 536870913, 0, -131043, 1, 0, -10, 536870915, 0, -9, 3, 0, -65508, 536870915, 0, -65507, 3, 0, 65526, 536870915, 0, 65527, 3, 0, 28, 536870915, 0, 29, 3, 0, 131062, 536870915, 0, 131063, 3, 0, 131069, 536870918, 0, 131070, 5, 0, 131071, 5, 0, 65536, 5, 0, 65537, 5, 0, 65538, 5, 0, 65539, 5, 0, 65540, 6, 0, 65564, 536870915, 0, 65565, 3, 0, 196598, 536870915, 0, 196599, 3, 0, 131080, 536870913, 0, 131081, 0, 0, 131082, 0, 0, 131083, 0, 0, 131084, 0, 0, 131085, 1, 0, 131100, 536870915, 0, 131101, 3, 0, 262134, 536870915, 0, 262135, 3, 0, 196616, 536870921, 0, 196617, 8, 0, 196618, 8, 0, 196619, 8, 0, 196620, 8, 0, 196621, 9, 0, 196626, 536870913, 0, 196627, 0, 0, 196628, 0, 0, 196629, 0, 0, 196630, 0, 0, 196631, 0, 0, 196632, 0, 0, 196633, 0, 0, 196634, 0, 0, 196635, 0, 0, 196636, 536870916, 0, 196637, 3, 0, 327670, 536870915, 0, 327671, 3, 0, 262149, 536870918, 0, 262150, 6, 0, 262162, 536870921, 0, 262163, 536870920, 0, 262164, 536870920, 0, 262165, 536870920, 0, 262166, 536870920, 0, 262167, 536870922, 0, 262168, 7, 0, 262169, 7, 0, 262170, 7, 0, 262171, 7, 0, 262172, 7, 0, 262173, 3, 0, 393206, 536870915, 0, 393207, 3, 0, 327682, 536870918, 0, 327683, 6, 0, 327703, 536870921, 0, 327704, 536870920, 0, 327705, 536870922, 0, 327706, 7, 0, 327707, 7, 0, 327708, 7, 0, 327709, 3, 0, 458742, 536870915, 0, 458743, 4, 0, 458744, 0, 0, 458745, 0, 0, 458746, 1, 0, 393241, 536870921, 0, 393242, 536870920, 0, 393243, 536870920, 0, 393244, 536870922, 0, 393245, 3, 0, 524278, 536870915, 0, 524279, 536870919, 0, 524280, 536870919, 0, 524281, 536870919, 0, 524282, 3, 0, 458754, 536870913, 0, 458755, 0, 0, 458756, 0, 0, 458757, 2, 0, 458764, 536870913, 0, 458765, 1, 0, 458780, 536870915, 0, 458781, 3, 0, 589814, 536870915, 0, 589815, 536870919, 0, 589816, 536870919, 0, 589817, 536870919, 0, 589818, 3, 0, 524290, 536870915, 0, 524291, 7, 0, 524292, 7, 0, 524294, 536870912, 0, 524295, 536870912, 0, 524296, 536870912, 0, 524297, 536870912, 0, 524298, 536870912, 0, 524299, 536870912, 0, 524300, 536870916, 0, 524301, 3, 0, 524316, 536870915, 0, 524317, 3, 0, 655350, 536870915, 0, 655351, 536870919, 0, 655352, 536870919, 0, 655353, 536870919, 0, 655354, 3, 0, 589826, 536870915, 0, 589827, 7, 0, 589828, 7, 0, 589829, 7, 0, 589830, 7, 0, 589831, 7, 0, 589832, 7, 0, 589833, 7, 0, 589834, 7, 0, 589835, 7, 0, 589836, 7, 0, 589837, 4, 0, 589838, 0, 0, 589839, 1, 0, 589852, 536870915, 0, 589853, 3, 0, 720886, 536870915, 0, 720887, 536870919, 0, 720888, 536870919, 0, 720889, 536870919, 0, 720890, 3, 0, 655362, 536870921, 0, 655363, 536870920, 0, 655364, 536870920, 0, 655365, 536870920, 0, 655366, 536870920, 0, 655367, 536870920, 0, 655368, 536870920, 0, 655369, 536870920, 0, 655370, 536870920, 0, 655371, 536870920, 0, 655372, 536870920, 0, 655373, 536870920, 0, 655374, 536870920, 0, 655375, 9, 0, 655388, 536870915, 0, 655389, 3, 0, 786422, 536870915, 0, 786423, 536870919, 0, 786424, 536870919, 0, 786425, 536870919, 0, 786426, 3, 0, 720924, 536870915, 0, 720925, 3, 0, 851958, 536870915, 0, 851959, 536870919, 0, 851960, 536870919, 0, 851961, 536870919, 0, 851962, 3, 0, 786456, 536870918, 0, 786457, 536870917, 0, 786458, 6, 0, 786460, 536870915, 0, 786461, 3, 0, 917494, 536870915, 0, 917495, 536870919, 0, 917496, 536870919, 0, 917497, 536870919, 0, 917498, 4, 0, 917499, 0, 0, 917500, 0, 0, 917501, 0, 0, 917502, 0, 0, 917503, 0, 0, 851968, 0, 0, 851969, 1, 0, 851996, 536870915, 0, 851997, 3, 0, 983030, 536870915, 0, 983031, 536870919, 0, 983032, 536870919, 0, 983033, 536870919, 0, 983034, 536870919, 0, 983035, 536870919, 0, 983036, 536870919, 0, 983037, 536870919, 0, 983038, 536870919, 0, 983039, 536870919, 0, 917504, 536870919, 0, 917505, 3, 0, 917526, 536870913, 0, 917527, 536870912, 0, 917528, 536870912, 0, 917529, 0, 0, 917530, 536870912, 0, 917531, 536870912, 0, 917532, 536870916, 0, 917533, 3, 0, 1048566, 536870915, 0, 1048567, 536870919, 0, 1048568, 536870919, 0, 1048569, 536870919, 0, 1048570, 536870919, 0, 1048571, 536870919, 0, 1048572, 536870919, 0, 1048573, 536870919, 0, 1048574, 536870919, 0, 1048575, 536870919, 0, 983040, 536870919, 0, 983041, 3, 0, 983057, 536870918, 0, 983058, 5, 0, 983059, 6, 0, 983062, 536870915, 0, 983063, 7, 0, 983064, 7, 0, 983065, 7, 0, 983066, 7, 0, 983067, 7, 0, 983068, 7, 0, 983069, 3, 0, 1114102, 536870915, 0, 1114103, 536870919, 0, 1114104, 536870919, 0, 1114105, 536870919, 0, 1114106, 536870919, 0, 1114107, 536870919, 0, 1114108, 536870919, 0, 1114109, 536870919, 0, 1114110, 536870919, 0, 1114111, 536870919, 0, 1048576, 536870919, 0, 1048577, 3, 0, 1048579, 536870926, 0, 1048598, 536870915, 0, 1048599, 7, 0, 1048600, 7, 0, 1048601, 7, 0, 1048602, 7, 0, 1048603, 7, 0, 1048604, 7, 0, 1048605, 3, 0, 1179638, 536870915, 0, 1179639, 536870919, 0, 1179640, 536870919, 0, 1179641, 536870919, 0, 1179642, 536870919, 0, 1179643, 536870919, 0, 1179644, 536870919, 0, 1179645, 536870919, 0, 1179646, 536870919, 0, 1179647, 536870919, 0, 1114112, 536870919, 0, 1114113, 4, 0, 1114114, 0, 0, 1114115, 536870925, 0, 1114116, 0, 0, 1114117, 2, 0, 1114123, 536870926, 0, 1114126, 536870918, 0, 1114127, 5, 0, 1114128, 6, 0, 1114133, 536870914, 0, 1114134, 536870916, 0, 1114135, 7, 0, 1114136, 7, 0, 1114137, 7, 0, 1114138, 7, 0, 1114139, 7, 0, 1114140, 7, 0, 1114141, 3, 0, 1245174, 536870915, 0, 1245175, 536870919, 0, 1245176, 536870919, 0, 1245177, 536870919, 0, 1245178, 536870919, 0, 1245179, 536870919, 0, 1245180, 536870919, 0, 1245181, 536870919, 0, 1245182, 536870919, 0, 1245183, 536870919, 0, 1179648, 536870919, 0, 1179649, 536870919, 0, 1179650, 536870919, 0, 1179651, 536870919, 0, 1179652, 536870922, 0, 1179654, 2, 0, 1179658, 536870913, 0, 1179659, 536870925, 0, 1179660, 1, 0, 1179668, 536870914, 0, 1179670, 7, 0, 1179671, 7, 0, 1179672, 7, 0, 1179673, 7, 0, 1179674, 7, 0, 1179675, 7, 0, 1179676, 7, 0, 1179677, 3, 0, 1310710, 536870915, 0, 1310711, 536870919, 0, 1310712, 536870919, 0, 1310713, 536870919, 0, 1310714, 536870919, 0, 1310715, 536870919, 0, 1310716, 536870919, 0, 1310717, 536870919, 0, 1310718, 536870919, 0, 1310719, 536870919, 0, 1245184, 536870919, 0, 1245185, 536870919, 0, 1245186, 536870919, 0, 1245187, 536870919, 0, 1245188, 536870919, 0, 1245189, 536870922, 0, 1245191, 2, 0, 1245194, 536870915, 0, 1245195, 7, 0, 1245196, 3, 0, 1245203, 536870914, 0, 1245205, 7, 0, 1245206, 7, 0, 1245207, 7, 0, 1245208, 7, 0, 1245209, 7, 0, 1245210, 7, 0, 1245211, 7, 0, 1245212, 7, 0, 1245213, 3, 0, 1376246, 536870915, 0, 1376247, 536870919, 0, 1376248, 536870919, 0, 1376249, 536870919, 0, 1376250, 536870919, 0, 1376251, 536870919, 0, 1376252, 536870919, 0, 1376253, 536870919, 0, 1376254, 536870919, 0, 1376255, 536870919, 0, 1310720, 536870919, 0, 1310721, 536870919, 0, 1310722, 536870919, 0, 1310723, 536870919, 0, 1310724, 536870919, 0, 1310725, 536870919, 0, 1310726, 536870922, 0, 1310728, 536870912, 0, 1310729, 536870912, 0, 1310730, 536870916, 0, 1310731, 7, 0, 1310732, 4, 0, 1310733, 0, 0, 1310734, 0, 0, 1310735, 0, 0, 1310736, 0, 0, 1310737, 0, 0, 1310738, 536870912, 0, 1310740, 7, 0, 1310741, 7, 0, 1310742, 7, 0, 1310743, 7, 0, 1310744, 7, 0, 1310745, 7, 0, 1310746, 7, 0, 1310747, 7, 0, 1310748, 7, 0, 1310749, 3, 0, 1441782, 536870921, 0, 1441783, 536870920, 0, 1441784, 536870920, 0, 1441785, 536870920, 0, 1441786, 536870920, 0, 1441787, 536870920, 0, 1441788, 536870920, 0, 1441789, 536870920, 0, 1441790, 536870920, 0, 1441791, 536870920, 0, 1376256, 536870920, 0, 1376257, 536870920, 0, 1376258, 536870920, 0, 1376259, 536870920, 0, 1376260, 536870920, 0, 1376261, 536870920, 0, 1376262, 536870920, 0, 1376263, 536870920, 0, 1376264, 536870920, 0, 1376265, 536870920, 0, 1376266, 536870920, 0, 1376267, 536870920, 0, 1376268, 536870920, 0, 1376269, 536870920, 0, 1376270, 536870920, 0, 1376271, 536870920, 0, 1376272, 536870920, 0, 1376273, 536870920, 0, 1376274, 536870920, 0, 1376275, 536870920, 0, 1376276, 536870920, 0, 1376277, 536870920, 0, 1376278, 536870920, 0, 1376279, 536870920, 0, 1376280, 536870920, 0, 1376281, 536870920, 0, 1376282, 536870920, 0, 1376283, 536870920, 0, 1376284, 8, 0, 1376285, 9, 0 ) +tile_data = PoolIntArray( -65546, 536870913, 0, -65545, 1, 0, -131044, 536870913, 0, -131043, 1, 0, -10, 536870915, 0, -9, 3, 0, -65508, 536870915, 0, -65507, 3, 0, 65526, 536870915, 0, 65527, 3, 0, 28, 536870915, 0, 29, 3, 0, 131062, 536870915, 0, 131063, 3, 0, 131069, 536870918, 0, 131070, 5, 0, 131071, 5, 0, 65536, 5, 0, 65537, 5, 0, 65538, 5, 0, 65539, 5, 0, 65540, 6, 0, 65564, 536870915, 0, 65565, 3, 0, 196598, 536870915, 0, 196599, 3, 0, 131080, 536870913, 0, 131081, 0, 0, 131082, 0, 0, 131083, 0, 0, 131084, 0, 0, 131085, 1, 0, 131100, 536870915, 0, 131101, 3, 0, 262134, 536870915, 0, 262135, 3, 0, 196616, 536870921, 0, 196617, 8, 0, 196618, 8, 0, 196619, 8, 0, 196620, 8, 0, 196621, 9, 0, 196626, 536870913, 0, 196627, 0, 0, 196628, 0, 0, 196629, 0, 0, 196630, 0, 0, 196631, 0, 0, 196632, 0, 0, 196633, 0, 0, 196634, 0, 0, 196635, 0, 0, 196636, 536870916, 0, 196637, 3, 0, 327670, 536870915, 0, 327671, 3, 0, 262149, 536870918, 0, 262150, 6, 0, 262162, 536870921, 0, 262163, 536870920, 0, 262164, 536870920, 0, 262165, 536870920, 0, 262166, 536870920, 0, 262167, 536870922, 0, 262168, 7, 0, 262169, 7, 0, 262170, 7, 0, 262171, 7, 0, 262172, 7, 0, 262173, 3, 0, 393206, 536870915, 0, 393207, 3, 0, 327682, 536870918, 0, 327683, 6, 0, 327703, 536870921, 0, 327704, 536870920, 0, 327705, 536870922, 0, 327706, 7, 0, 327707, 7, 0, 327708, 7, 0, 327709, 3, 0, 458742, 536870915, 0, 458743, 4, 0, 458744, 0, 0, 458745, 0, 0, 458746, 1, 0, 393241, 536870921, 0, 393242, 536870920, 0, 393243, 536870920, 0, 393244, 536870922, 0, 393245, 3, 0, 524278, 536870915, 0, 524279, 536870919, 0, 524280, 536870919, 0, 524281, 536870919, 0, 524282, 3, 0, 458754, 536870913, 0, 458755, 0, 0, 458756, 0, 0, 458757, 2, 0, 458764, 536870913, 0, 458765, 1, 0, 458780, 536870915, 0, 458781, 3, 0, 589814, 536870915, 0, 589815, 536870919, 0, 589816, 536870919, 0, 589817, 536870919, 0, 589818, 3, 0, 524290, 536870915, 0, 524291, 7, 0, 524292, 7, 0, 524294, 536870912, 0, 524295, 536870912, 0, 524296, 536870912, 0, 524297, 536870912, 0, 524298, 536870912, 0, 524299, 536870912, 0, 524300, 536870916, 0, 524301, 3, 0, 524316, 536870915, 0, 524317, 3, 0, 655350, 536870915, 0, 655351, 536870919, 0, 655352, 536870919, 0, 655353, 536870919, 0, 655354, 3, 0, 589826, 536870915, 0, 589827, 7, 0, 589828, 7, 0, 589829, 7, 0, 589830, 7, 0, 589831, 7, 0, 589832, 7, 0, 589833, 7, 0, 589834, 7, 0, 589835, 7, 0, 589836, 7, 0, 589837, 4, 0, 589838, 0, 0, 589839, 1, 0, 589852, 536870915, 0, 589853, 3, 0, 720886, 536870915, 0, 720887, 536870919, 0, 720888, 536870919, 0, 720889, 536870919, 0, 720890, 3, 0, 655362, 536870921, 0, 655363, 536870920, 0, 655364, 536870920, 0, 655365, 536870920, 0, 655366, 536870920, 0, 655367, 536870920, 0, 655368, 536870920, 0, 655369, 536870920, 0, 655370, 536870920, 0, 655371, 536870920, 0, 655372, 536870920, 0, 655373, 536870920, 0, 655374, 536870920, 0, 655375, 9, 0, 655388, 536870915, 0, 655389, 3, 0, 786422, 536870915, 0, 786423, 536870919, 0, 786424, 536870919, 0, 786425, 536870919, 0, 786426, 3, 0, 720924, 536870915, 0, 720925, 3, 0, 851958, 536870915, 0, 851959, 536870919, 0, 851960, 536870919, 0, 851961, 536870919, 0, 851962, 3, 0, 786456, 536870918, 0, 786457, 536870917, 0, 786458, 6, 0, 786460, 536870915, 0, 786461, 3, 0, 917494, 536870915, 0, 917495, 536870919, 0, 917496, 536870919, 0, 917497, 536870919, 0, 917498, 4, 0, 917499, 0, 0, 917500, 0, 0, 917501, 0, 0, 917502, 0, 0, 917503, 0, 0, 851968, 0, 0, 851969, 1, 0, 851996, 536870915, 0, 851997, 3, 0, 983030, 536870915, 0, 983031, 536870919, 0, 983032, 536870919, 0, 983033, 536870919, 0, 983034, 536870919, 0, 983035, 536870919, 0, 983036, 536870919, 0, 983037, 536870919, 0, 983038, 536870919, 0, 983039, 536870919, 0, 917504, 536870919, 0, 917505, 3, 0, 917526, 536870913, 0, 917527, 536870912, 0, 917528, 536870912, 0, 917529, 0, 0, 917530, 536870912, 0, 917531, 536870912, 0, 917532, 536870916, 0, 917533, 3, 0, 1048566, 536870915, 0, 1048567, 536870919, 0, 1048568, 536870919, 0, 1048569, 536870919, 0, 1048570, 536870919, 0, 1048571, 536870919, 0, 1048572, 536870919, 0, 1048573, 536870919, 0, 1048574, 536870919, 0, 1048575, 536870919, 0, 983040, 536870919, 0, 983041, 3, 0, 983057, 536870918, 0, 983058, 5, 0, 983059, 6, 0, 983062, 536870915, 0, 983063, 7, 0, 983064, 7, 0, 983065, 7, 0, 983066, 7, 0, 983067, 7, 0, 983068, 7, 0, 983069, 3, 0, 1114102, 536870915, 0, 1114103, 536870919, 0, 1114104, 536870919, 0, 1114105, 536870919, 0, 1114106, 536870919, 0, 1114107, 536870919, 0, 1114108, 536870919, 0, 1114109, 536870919, 0, 1114110, 536870919, 0, 1114111, 536870919, 0, 1048576, 536870919, 0, 1048577, 3, 0, 1048579, 536870926, 0, 1048598, 536870915, 0, 1048599, 7, 0, 1048600, 7, 0, 1048601, 7, 0, 1048602, 7, 0, 1048603, 7, 0, 1048604, 7, 0, 1048605, 3, 0, 1179638, 536870915, 0, 1179639, 536870919, 0, 1179640, 536870919, 0, 1179641, 536870919, 0, 1179642, 536870919, 0, 1179643, 536870919, 0, 1179644, 536870919, 0, 1179645, 536870919, 0, 1179646, 536870919, 0, 1179647, 536870919, 0, 1114112, 536870919, 0, 1114113, 4, 0, 1114114, 0, 0, 1114115, 536870925, 0, 1114116, 0, 0, 1114117, 2, 0, 1114123, 536870926, 0, 1114126, 536870918, 0, 1114127, 5, 0, 1114128, 6, 0, 1114133, 536870914, 0, 1114134, 536870916, 0, 1114135, 7, 0, 1114136, 7, 0, 1114137, 7, 0, 1114138, 7, 0, 1114139, 7, 0, 1114140, 7, 0, 1114141, 3, 0, 1245174, 536870915, 0, 1245175, 536870919, 0, 1245176, 536870919, 0, 1245177, 536870919, 0, 1245178, 536870919, 0, 1245179, 536870919, 0, 1245180, 536870919, 0, 1245181, 536870919, 0, 1245182, 536870919, 0, 1245183, 536870919, 0, 1179648, 536870919, 0, 1179649, 536870919, 0, 1179650, 536870919, 0, 1179651, 536870919, 0, 1179652, 7, 0, 1179654, 2, 0, 1179658, 536870913, 0, 1179659, 536870925, 0, 1179660, 1, 0, 1179668, 536870914, 0, 1179670, 7, 0, 1179671, 7, 0, 1179672, 7, 0, 1179673, 7, 0, 1179674, 7, 0, 1179675, 7, 0, 1179676, 7, 0, 1179677, 3, 0, 1310710, 536870915, 0, 1310711, 536870919, 0, 1310712, 536870919, 0, 1310713, 536870919, 0, 1310714, 536870919, 0, 1310715, 536870919, 0, 1310716, 536870919, 0, 1310717, 536870919, 0, 1310718, 536870919, 0, 1310719, 536870919, 0, 1245184, 536870919, 0, 1245185, 536870919, 0, 1245186, 536870919, 0, 1245187, 536870919, 0, 1245188, 536870919, 0, 1245189, 7, 0, 1245191, 2, 0, 1245194, 536870915, 0, 1245195, 7, 0, 1245196, 3, 0, 1245203, 536870914, 0, 1245205, 7, 0, 1245206, 7, 0, 1245207, 7, 0, 1245208, 7, 0, 1245209, 7, 0, 1245210, 7, 0, 1245211, 7, 0, 1245212, 7, 0, 1245213, 3, 0, 1376246, 536870915, 0, 1376247, 536870919, 0, 1376248, 536870919, 0, 1376249, 536870919, 0, 1376250, 536870919, 0, 1376251, 536870919, 0, 1376252, 536870919, 0, 1376253, 536870919, 0, 1376254, 536870919, 0, 1376255, 536870919, 0, 1310720, 536870919, 0, 1310721, 536870919, 0, 1310722, 536870919, 0, 1310723, 536870919, 0, 1310724, 536870919, 0, 1310725, 536870919, 0, 1310726, 7, 0, 1310728, 536870912, 0, 1310729, 536870912, 0, 1310730, 536870916, 0, 1310731, 7, 0, 1310732, 4, 0, 1310733, 0, 0, 1310734, 0, 0, 1310735, 0, 0, 1310736, 0, 0, 1310737, 0, 0, 1310738, 536870912, 0, 1310740, 7, 0, 1310741, 7, 0, 1310742, 7, 0, 1310743, 7, 0, 1310744, 7, 0, 1310745, 7, 0, 1310746, 7, 0, 1310747, 7, 0, 1310748, 7, 0, 1310749, 3, 0, 1441782, 536870921, 0, 1441783, 536870920, 0, 1441784, 536870920, 0, 1441785, 536870920, 0, 1441786, 536870920, 0, 1441787, 536870920, 0, 1441788, 536870920, 0, 1441789, 536870920, 0, 1441790, 536870920, 0, 1441791, 536870920, 0, 1376256, 536870920, 0, 1376257, 536870920, 0, 1376258, 536870920, 0, 1376259, 536870920, 0, 1376260, 536870920, 0, 1376261, 536870920, 0, 1376262, 536870920, 0, 1376263, 536870920, 0, 1376264, 536870920, 0, 1376265, 536870920, 0, 1376266, 536870920, 0, 1376267, 536870920, 0, 1376268, 536870920, 0, 1376269, 536870920, 0, 1376270, 536870920, 0, 1376271, 536870920, 0, 1376272, 536870920, 0, 1376273, 536870920, 0, 1376274, 536870920, 0, 1376275, 536870920, 0, 1376276, 536870920, 0, 1376277, 536870920, 0, 1376278, 536870920, 0, 1376279, 536870920, 0, 1376280, 536870920, 0, 1376281, 536870920, 0, 1376282, 536870920, 0, 1376283, 536870920, 0, 1376284, 8, 0, 1376285, 9, 0 ) [node name="Coins" type="Node" parent="."] [node name="CoinsArc" type="Node2D" parent="Coins"] -position = Vector2( 539.755, 1147.54 ) +position = Vector2( 269.878, 573.77 ) [node name="Coin" parent="Coins/CoinsArc" instance=ExtResource( 4 )] -position = Vector2( -29.4628, 59.9619 ) +position = Vector2( -14.7314, 29.9809 ) [node name="Coin2" parent="Coins/CoinsArc" instance=ExtResource( 4 )] -position = Vector2( 0.171143, 0.141846 ) +position = Vector2( 0.0855715, 0.070923 ) [node name="Coin3" parent="Coins/CoinsArc" instance=ExtResource( 4 )] -position = Vector2( 62.5472, -35.7081 ) +position = Vector2( 31.2736, -17.854 ) [node name="CoinsVertical" type="Node2D" parent="Coins"] -position = Vector2( 732.045, 1037.88 ) +position = Vector2( 366.022, 518.94 ) [node name="Coin" parent="Coins/CoinsVertical" instance=ExtResource( 4 )] -position = Vector2( -0.110291, 31.8701 ) +position = Vector2( -0.0551455, 15.9351 ) [node name="Coin2" parent="Coins/CoinsVertical" instance=ExtResource( 4 )] -position = Vector2( -0.110291, -0.129883 ) +position = Vector2( -0.0551455, -0.0649415 ) [node name="Coin3" parent="Coins/CoinsVertical" instance=ExtResource( 4 )] -position = Vector2( -0.110291, -32.1299 ) +position = Vector2( -0.0551455, -16.065 ) [node name="CoinsVertical2" type="Node2D" parent="Coins"] -position = Vector2( 1018.11, -17.9731 ) +position = Vector2( 509.055, -8.98655 ) [node name="Coin" parent="Coins/CoinsVertical2" instance=ExtResource( 4 )] -position = Vector2( -0.110291, 31.8701 ) +position = Vector2( -0.0551455, 15.9351 ) [node name="Coin2" parent="Coins/CoinsVertical2" instance=ExtResource( 4 )] -position = Vector2( -0.110291, -0.129883 ) +position = Vector2( -0.0551455, -0.0649415 ) [node name="Coin3" parent="Coins/CoinsVertical2" instance=ExtResource( 4 )] -position = Vector2( -0.110291, -32.1299 ) +position = Vector2( -0.0551455, -16.065 ) [node name="CoinsSquare" type="Node2D" parent="Coins"] -position = Vector2( -429.669, 323.199 ) +position = Vector2( -214.835, 161.6 ) [node name="Coin" parent="Coins/CoinsSquare" instance=ExtResource( 4 )] -position = Vector2( -32, -32 ) +position = Vector2( -16, -16 ) [node name="Coin2" parent="Coins/CoinsSquare" instance=ExtResource( 4 )] -position = Vector2( 32, -32 ) +position = Vector2( 16, -16 ) [node name="Coin3" parent="Coins/CoinsSquare" instance=ExtResource( 4 )] -position = Vector2( -32, 32 ) +position = Vector2( -16, 16 ) [node name="Coin4" parent="Coins/CoinsSquare" instance=ExtResource( 4 )] -position = Vector2( 32, 32 ) +position = Vector2( 16, 16 ) [node name="CoinsSquare2" type="Node2D" parent="Coins"] -position = Vector2( 695.105, 66.9483 ) +position = Vector2( 347.552, 33.4742 ) [node name="Coin" parent="Coins/CoinsSquare2" instance=ExtResource( 4 )] -position = Vector2( -32, -32 ) +position = Vector2( -16, -16 ) [node name="Coin2" parent="Coins/CoinsSquare2" instance=ExtResource( 4 )] -position = Vector2( 32, -32 ) +position = Vector2( 16, -16 ) [node name="Coin3" parent="Coins/CoinsSquare2" instance=ExtResource( 4 )] -position = Vector2( -32, 32 ) +position = Vector2( -16, 16 ) [node name="Coin4" parent="Coins/CoinsSquare2" instance=ExtResource( 4 )] -position = Vector2( 32, 32 ) +position = Vector2( 16, 16 ) [node name="CoinsSquare3" type="Node2D" parent="Coins"] -position = Vector2( 1353.17, 117.285 ) +position = Vector2( 676.585, 58.6425 ) [node name="Coin" parent="Coins/CoinsSquare3" instance=ExtResource( 4 )] -position = Vector2( -32, -32 ) +position = Vector2( -16, -16 ) [node name="Coin2" parent="Coins/CoinsSquare3" instance=ExtResource( 4 )] -position = Vector2( 32, -32 ) +position = Vector2( 16, -16 ) [node name="Coin3" parent="Coins/CoinsSquare3" instance=ExtResource( 4 )] -position = Vector2( -32, 32 ) +position = Vector2( -16, 16 ) [node name="Coin4" parent="Coins/CoinsSquare3" instance=ExtResource( 4 )] -position = Vector2( 32, 32 ) +position = Vector2( 16, 16 ) [node name="CoinsSquare4" type="Node2D" parent="Coins"] -position = Vector2( 1592.58, 117.285 ) +position = Vector2( 796.29, 58.6425 ) [node name="Coin" parent="Coins/CoinsSquare4" instance=ExtResource( 4 )] -position = Vector2( -32, -32 ) +position = Vector2( -16, -16 ) [node name="Coin2" parent="Coins/CoinsSquare4" instance=ExtResource( 4 )] -position = Vector2( 32, -32 ) +position = Vector2( 16, -16 ) [node name="Coin3" parent="Coins/CoinsSquare4" instance=ExtResource( 4 )] -position = Vector2( -32, 32 ) +position = Vector2( -16, 16 ) [node name="Coin4" parent="Coins/CoinsSquare4" instance=ExtResource( 4 )] -position = Vector2( 32, 32 ) +position = Vector2( 16, 16 ) [node name="CoinsHorizontal" type="Node2D" parent="Coins"] -position = Vector2( 73.2408, 805.983 ) +position = Vector2( 36.6204, 402.991 ) [node name="Coin" parent="Coins/CoinsHorizontal" instance=ExtResource( 4 )] -position = Vector2( -32, 0 ) +position = Vector2( -16, 0 ) [node name="Coin2" parent="Coins/CoinsHorizontal" instance=ExtResource( 4 )] [node name="Coin3" parent="Coins/CoinsHorizontal" instance=ExtResource( 4 )] -position = Vector2( 32, 0 ) +position = Vector2( 16, 0 ) [node name="CoinsHorizontal2" type="Node2D" parent="Coins"] -position = Vector2( 1337.21, 863.089 ) +position = Vector2( 668.605, 431.544 ) [node name="Coin" parent="Coins/CoinsHorizontal2" instance=ExtResource( 4 )] -position = Vector2( -32, 0 ) +position = Vector2( -16, 0 ) [node name="Coin2" parent="Coins/CoinsHorizontal2" instance=ExtResource( 4 )] [node name="Coin3" parent="Coins/CoinsHorizontal2" instance=ExtResource( 4 )] -position = Vector2( 32, 0 ) +position = Vector2( 16, 0 ) [node name="CoinsHorizontal3" type="Node2D" parent="Coins"] -position = Vector2( 671.17, 311.745 ) +position = Vector2( 335.585, 155.872 ) [node name="Coin" parent="Coins/CoinsHorizontal3" instance=ExtResource( 4 )] -position = Vector2( -32, 0 ) +position = Vector2( -16, 0 ) [node name="Coin2" parent="Coins/CoinsHorizontal3" instance=ExtResource( 4 )] [node name="Coin3" parent="Coins/CoinsHorizontal3" instance=ExtResource( 4 )] -position = Vector2( 32, 0 ) +position = Vector2( 16, 0 ) [node name="CoinsHorizontal4" type="Node2D" parent="Coins"] -position = Vector2( -126.888, 41.1804 ) +position = Vector2( -63.444, 20.5902 ) [node name="Coin" parent="Coins/CoinsHorizontal4" instance=ExtResource( 4 )] -position = Vector2( -32, 0 ) +position = Vector2( -16, 0 ) [node name="Coin2" parent="Coins/CoinsHorizontal4" instance=ExtResource( 4 )] [node name="Coin3" parent="Coins/CoinsHorizontal4" instance=ExtResource( 4 )] -position = Vector2( 32, 0 ) +position = Vector2( 16, 0 ) [node name="CoinsHorizontal5" type="Node2D" parent="Coins"] -position = Vector2( 255.215, 41.1804 ) +position = Vector2( 127.607, 20.5902 ) [node name="Coin" parent="Coins/CoinsHorizontal5" instance=ExtResource( 4 )] -position = Vector2( -32, 0 ) +position = Vector2( -16, 0 ) [node name="Coin2" parent="Coins/CoinsHorizontal5" instance=ExtResource( 4 )] [node name="Coin3" parent="Coins/CoinsHorizontal5" instance=ExtResource( 4 )] -position = Vector2( 32, 0 ) +position = Vector2( 16, 0 ) [node name="Platforms" type="Node" parent="."] [node name="Platform" parent="Platforms" instance=ExtResource( 3 )] -position = Vector2( 1414.49, 799.663 ) +position = Vector2( 707, 400 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="Platforms/Platform"] autoplay = "move" @@ -216,7 +217,7 @@ playback_process_mode = 0 anims/move = SubResource( 1 ) [node name="Platform2" parent="Platforms" instance=ExtResource( 3 )] -position = Vector2( -93.4945, 700.054 ) +position = Vector2( -47, 80 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="Platforms/Platform2"] autoplay = "move" @@ -224,14 +225,14 @@ playback_process_mode = 0 anims/move = SubResource( 2 ) [node name="PlatformStatic" type="StaticBody2D" parent="Platforms"] -position = Vector2( 1139.87, 211.754 ) +position = Vector2( 569.935, 105.877 ) rotation = 0.355618 z_index = -1 collision_layer = 16 collision_mask = 0 [node name="Sprite2" type="Sprite" parent="Platforms/PlatformStatic"] -position = Vector2( -177.384, 21.0007 ) +position = Vector2( -88.692, 10.5003 ) rotation = -0.246293 texture = ExtResource( 6 ) @@ -239,30 +240,35 @@ texture = ExtResource( 6 ) texture = ExtResource( 6 ) [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Platforms/PlatformStatic"] -polygon = PoolVector2Array( -261.093, 20.4292, -94.1774, -21.2967, 16.1709, -14.2775, 20.3489, -3.02834, -93.7491, -8.65489, -257.264, 30.7409 ) +position = Vector2( -0.0684814, 0.0254364 ) +polygon = PoolVector2Array( -129.699, 9.94633, -47, -10.5, 8, -7, 10, -1.5, -46.75, -4, -130, 15 ) [node name="Enemies" type="Node" parent="."] [node name="Enemy" parent="Enemies" instance=ExtResource( 2 )] -position = Vector2( 542.081, 491.279 ) +position = Vector2( 271.04, 245.639 ) [node name="Enemy2" parent="Enemies" instance=ExtResource( 2 )] -position = Vector2( 692.218, 97.1263 ) +position = Vector2( 346.109, 48.5631 ) [node name="Enemy3" parent="Enemies" instance=ExtResource( 2 )] -position = Vector2( 1265.45, 157.109 ) +position = Vector2( 632.725, 78.5545 ) [node name="Enemy4" parent="Enemies" instance=ExtResource( 2 )] -position = Vector2( 1657.03, 154.524 ) +position = Vector2( 828.515, 77.262 ) [node name="Player" parent="." instance=ExtResource( 5 )] -position = Vector2( 173.294, 1093.02 ) +position = Vector2( 86.647, 546.51 ) + +[node name="Sprite" parent="Player" index="2"] +frame = 22 [node name="Camera" parent="Player" index="4"] -limit_left = -626 -limit_top = -780 -limit_right = 1905 -limit_bottom = 1384 +zoom = Vector2( 0.5, 0.5 ) +limit_left = -315 +limit_top = -250 +limit_right = 955 +limit_bottom = 690 limit_smoothed = true editor_draw_limits = true diff --git a/2d/platformer/src/Level/ParallaxBackground.tscn b/2d/platformer/src/Level/ParallaxBackground.tscn index 8b34be08..5ce15041 100644 --- a/2d/platformer/src/Level/ParallaxBackground.tscn +++ b/2d/platformer/src/Level/ParallaxBackground.tscn @@ -11,10 +11,10 @@ scroll_base_scale = Vector2( 0.4, 0 ) [node name="Sky" type="ParallaxLayer" parent="."] -motion_mirroring = Vector2( 800, 0 ) +motion_mirroring = Vector2( 400, 0 ) [node name="Sprite" type="Sprite" parent="Sky"] -scale = Vector2( 128, 0.94 ) +scale = Vector2( 64, 0.94 ) texture = ExtResource( 2 ) centered = false @@ -31,7 +31,7 @@ texture = ExtResource( 3 ) centered = false [node name="Sprite2" type="Sprite" parent="Clouds/CloudGroup1"] -position = Vector2( 200, 20 ) +position = Vector2( 100, 10 ) texture = ExtResource( 3 ) centered = false @@ -41,17 +41,17 @@ texture = ExtResource( 4 ) centered = false [node name="Sprite4" type="Sprite" parent="Clouds/CloudGroup1"] -position = Vector2( 300, 130 ) +position = Vector2( 150, 65 ) texture = ExtResource( 4 ) centered = false [node name="Sprite5" type="Sprite" parent="Clouds/CloudGroup1"] -position = Vector2( 30, 150 ) +position = Vector2( 15, 75 ) texture = ExtResource( 5 ) centered = false [node name="Sprite6" type="Sprite" parent="Clouds/CloudGroup1"] -position = Vector2( 450, 70 ) +position = Vector2( 225, 35 ) texture = ExtResource( 5 ) centered = false @@ -63,7 +63,7 @@ texture = ExtResource( 3 ) centered = false [node name="Sprite2" type="Sprite" parent="Clouds/CloudGroup2"] -position = Vector2( 200, 20 ) +position = Vector2( 100, 10 ) texture = ExtResource( 3 ) centered = false @@ -73,22 +73,22 @@ texture = ExtResource( 4 ) centered = false [node name="Sprite4" type="Sprite" parent="Clouds/CloudGroup2"] -position = Vector2( 300, 130 ) +position = Vector2( 150, 65 ) texture = ExtResource( 4 ) centered = false [node name="Sprite5" type="Sprite" parent="Clouds/CloudGroup2"] -position = Vector2( 30, 150 ) +position = Vector2( 15, 75 ) texture = ExtResource( 5 ) centered = false [node name="Sprite6" type="Sprite" parent="Clouds/CloudGroup2"] -position = Vector2( 450, 70 ) +position = Vector2( 225, 35 ) texture = ExtResource( 5 ) centered = false [node name="CloudGroup3" type="Node2D" parent="Clouds"] -position = Vector2( 780, 0 ) +position = Vector2( 390, 0 ) [node name="Sprite1" type="Sprite" parent="Clouds/CloudGroup3"] position = Vector2( -200, 120 ) @@ -96,7 +96,7 @@ texture = ExtResource( 3 ) centered = false [node name="Sprite2" type="Sprite" parent="Clouds/CloudGroup3"] -position = Vector2( 200, 20 ) +position = Vector2( 100, 10 ) texture = ExtResource( 3 ) centered = false @@ -106,22 +106,22 @@ texture = ExtResource( 4 ) centered = false [node name="Sprite4" type="Sprite" parent="Clouds/CloudGroup3"] -position = Vector2( 300, 130 ) +position = Vector2( 150, 65 ) texture = ExtResource( 4 ) centered = false [node name="Sprite5" type="Sprite" parent="Clouds/CloudGroup3"] -position = Vector2( 30, 150 ) +position = Vector2( 15, 75 ) texture = ExtResource( 5 ) centered = false [node name="Sprite6" type="Sprite" parent="Clouds/CloudGroup3"] -position = Vector2( 450, 70 ) +position = Vector2( 225, 35 ) texture = ExtResource( 5 ) centered = false [node name="CloudGroup4" type="Node2D" parent="Clouds"] -position = Vector2( 1560, 0 ) +position = Vector2( 780, 0 ) [node name="Sprite1" type="Sprite" parent="Clouds/CloudGroup4"] position = Vector2( -200, 120 ) @@ -129,7 +129,7 @@ texture = ExtResource( 3 ) centered = false [node name="Sprite2" type="Sprite" parent="Clouds/CloudGroup4"] -position = Vector2( 200, 20 ) +position = Vector2( 100, 10 ) texture = ExtResource( 3 ) centered = false @@ -139,36 +139,36 @@ texture = ExtResource( 4 ) centered = false [node name="Sprite4" type="Sprite" parent="Clouds/CloudGroup4"] -position = Vector2( 300, 130 ) +position = Vector2( 150, 65 ) texture = ExtResource( 4 ) centered = false [node name="Sprite5" type="Sprite" parent="Clouds/CloudGroup4"] -position = Vector2( 30, 150 ) +position = Vector2( 15, 75 ) texture = ExtResource( 5 ) centered = false [node name="Sprite6" type="Sprite" parent="Clouds/CloudGroup4"] -position = Vector2( 450, 70 ) +position = Vector2( 225, 35 ) texture = ExtResource( 5 ) centered = false [node name="Mountains2" type="ParallaxLayer" parent="."] -position = Vector2( 0, 481 ) +position = Vector2( 0, 243 ) motion_scale = Vector2( 0.2, 1 ) [node name="Sprite" type="Sprite" parent="Mountains2"] -position = Vector2( 0, -120 ) +position = Vector2( 0, -64 ) texture = ExtResource( 1 ) region_enabled = true -region_rect = Rect2( 0, 0, 4096, 256 ) +region_rect = Rect2( 0, 0, 2048, 128 ) [node name="Mountains1" type="ParallaxLayer" parent="."] -position = Vector2( 0, 481 ) +position = Vector2( 0, 246 ) motion_scale = Vector2( 0.4, 1 ) [node name="Sprite" type="Sprite" parent="Mountains1"] -position = Vector2( 0, -100 ) +position = Vector2( 0, -64 ) texture = ExtResource( 6 ) region_enabled = true -region_rect = Rect2( 0, 0, 4096, 256 ) +region_rect = Rect2( 0, 0, 2048, 128 ) diff --git a/2d/platformer/src/Objects/Bullet.tscn b/2d/platformer/src/Objects/Bullet.tscn index 93a585f5..9be1f919 100644 --- a/2d/platformer/src/Objects/Bullet.tscn +++ b/2d/platformer/src/Objects/Bullet.tscn @@ -20,6 +20,7 @@ color = Color( 1, 1, 1, 0.705882 ) [sub_resource type="CanvasItemMaterial" id=4] [sub_resource type="CircleShape2D" id=5] +radius = 4.5 [sub_resource type="Animation" id=6] resource_name = "destroy" diff --git a/2d/platformer/src/Objects/Coin.tscn b/2d/platformer/src/Objects/Coin.tscn index a240096e..f2b9a340 100644 --- a/2d/platformer/src/Objects/Coin.tscn +++ b/2d/platformer/src/Objects/Coin.tscn @@ -137,6 +137,7 @@ tracks/3/keys = { } [sub_resource type="CircleShape2D" id=3] +radius = 5.0 [node name="Coin" type="Area2D"] monitorable = false diff --git a/2d/platformer/src/Platforms/Platform.tscn b/2d/platformer/src/Platforms/Platform.tscn index 1564b262..258089da 100644 --- a/2d/platformer/src/Platforms/Platform.tscn +++ b/2d/platformer/src/Platforms/Platform.tscn @@ -3,7 +3,7 @@ [ext_resource path="res://assets/art/platforms/moving_platform.png" type="Texture" id=2] [sub_resource type="RectangleShape2D" id=1] -extents = Vector2( 94, 12 ) +extents = Vector2( 47, 6 ) [node name="Platform" type="KinematicBody2D"] z_index = -1 @@ -16,6 +16,6 @@ motion/sync_to_physics = true texture = ExtResource( 2 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] -position = Vector2( 0, -8 ) +position = Vector2( 0, -4 ) shape = SubResource( 1 ) one_way_collision = true