From a47c0bfffccfc4cc8b034929295baf6e8cfe9490 Mon Sep 17 00:00:00 2001 From: pennyrigate Date: Thu, 26 Jan 2023 00:42:58 -0500 Subject: [PATCH] jumping spider hitbox doesnt change when jumping --- maps/canopy.tscn | 40 +++++++++++++++---------------- objects/enemy/jumping_spider.tscn | 8 +++---- 2 files changed, 23 insertions(+), 25 deletions(-) diff --git a/maps/canopy.tscn b/maps/canopy.tscn index e7106c9..67ff12a 100644 --- a/maps/canopy.tscn +++ b/maps/canopy.tscn @@ -43,7 +43,7 @@ __meta__ = { tile_set = ExtResource( 4 ) cell_size = Vector2( 8, 8 ) format = 1 -tile_data = PoolIntArray( 196664, 0, 65537, 196665, 0, 65537, 196666, 0, 65537, 196667, 0, 65537, 196668, 0, 65537, 196669, 0, 65537, 196670, 0, 65537, 196671, 0, 65537, 196672, 0, 65537, 196673, 0, 65537, 196674, 0, 65537, 196675, 0, 65537, 262161, 0, 65537, 262162, 0, 65537, 262163, 0, 65537, 262164, 0, 65537, 262165, 0, 65537, 262166, 0, 65537, 262167, 0, 65537, 262168, 0, 65537, 262169, 0, 65537, 262170, 0, 65537, 262171, 0, 65537, 262172, 0, 65537, 262173, 0, 65537, 262174, 0, 65537, 262175, 0, 65537, 262176, 0, 65537, 327715, 0, 65537, 327725, 0, 65537, 327726, 0, 65537, 327727, 0, 65537, 327728, 0, 65537, 327729, 0, 65537, 327730, 0, 65537, 327731, 0, 65537, 327732, 0, 65537, 327733, 0, 65537, 393216, 0, 65537, 393217, 0, 65537, 393218, 0, 65537, 393219, 0, 65537, 393220, 0, 65537, 393221, 0, 65537, 393251, 0, 65537, 393252, 0, 65537, 393253, 0, 65537, 393254, 0, 65537, 393255, 0, 65537, 393256, 0, 65537, 393257, 0, 65537, 393306, 0, 65537, 393307, 0, 65537, 393308, 0, 65537, 393309, 0, 65537, 393310, 0, 65537, 393311, 0, 65537, 458774, 0, 65537, 458775, 0, 65537, 458776, 0, 65537, 458777, 0, 65537, 458778, 0, 65537, 458779, 0, 65537, 458780, 0, 65537, 458781, 0, 65537, 458782, 0, 65537, 458783, 0, 65537, 458826, 0, 65537, 458827, 0, 65537, 458828, 0, 65537, 458829, 0, 65537, 458830, 0, 65537, 458831, 0, 65537, 458832, 0, 65537, 458833, 0, 65537, 458842, 0, 65537, 524297, 0, 65537, 524298, 0, 65537, 524299, 0, 65537, 524300, 0, 65537, 524361, 0, 65537, 524362, 0, 65537, 524369, 0, 65537, 524378, 0, 65537, 589836, 0, 65537, 589870, 0, 65537, 589871, 0, 65537, 589872, 0, 65537, 589873, 0, 65537, 589874, 0, 65537, 589875, 0, 65537, 589876, 0, 65537, 589877, 0, 65537, 589878, 0, 65537, 589879, 0, 65537, 589880, 0, 65537, 589881, 0, 65537, 589889, 0, 65537, 589890, 0, 65537, 589891, 0, 65537, 589897, 0, 65537, 589905, 0, 65537, 589906, 0, 65537, 589907, 0, 65537, 589914, 0, 65537, 655372, 0, 65537, 655373, 0, 65537, 655374, 0, 65537, 655406, 0, 65537, 655423, 0, 65537, 655424, 0, 65537, 655425, 0, 65537, 655427, 0, 65537, 655428, 0, 65537, 655429, 0, 65537, 655430, 0, 65537, 655431, 0, 65537, 655432, 0, 65537, 655433, 0, 65537, 655443, 0, 65537, 655450, 0, 65537, 720942, 0, 65537, 720958, 0, 65537, 720959, 0, 65537, 720979, 0, 65537, 720986, 0, 65537, 786433, 0, 65537, 786434, 0, 65537, 786435, 0, 65537, 786436, 0, 65538, 786450, 0, 65537, 786451, 0, 65537, 786452, 0, 65537, 786453, 0, 65537, 786454, 0, 65537, 786455, 0, 65537, 786456, 0, 65537, 786457, 0, 65537, 786458, 0, 65537, 786459, 0, 65537, 786460, 0, 65537, 786461, 0, 65537, 786462, 0, 65537, 786463, 0, 65537, 786464, 0, 65537, 786465, 0, 65537, 786466, 0, 65537, 786467, 0, 65537, 786468, 0, 65537, 786469, 0, 65537, 786470, 0, 65537, 786471, 0, 65537, 786472, 0, 65537, 786473, 0, 65537, 786474, 0, 65537, 786475, 0, 65537, 786476, 0, 65537, 786477, 0, 65537, 786478, 0, 65537, 786480, 0, 65537, 786481, 0, 65537, 786482, 0, 65537, 786483, 0, 65537, 786484, 0, 65537, 786485, 0, 65537, 786486, 0, 65537, 786487, 0, 65537, 786488, 0, 65537, 786489, 0, 65537, 786490, 0, 65537, 786493, 0, 65537, 786494, 0, 65537, 786515, 0, 65537, 786516, 0, 65537, 786517, 0, 65537, 786522, 0, 65537, 852058, 0, 65537, 917593, 0, 65537, 917594, 0, 65537, 983107, 0, 65537, 983108, 0, 65537, 983109, 0, 65537, 983110, 0, 65537, 983111, 0, 65537, 983112, 0, 65537, 983113, 0, 65537, 983114, 0, 65537, 983115, 0, 65537, 983116, 0, 65537, 983117, 0, 65537, 983118, 0, 65537, 983119, 0, 65537, 983120, 0, 65537, 983121, 0, 65537, 983122, 0, 65537, 983123, 0, 65537, 1048586, -1610612736, 65536, 1048601, 0, 65537, 1048602, 0, 65537, 1048603, 0, 65537, 1048604, 0, 65538, 1048606, 0, 65537, 1048607, 0, 65537, 1048608, 0, 65537, 1048609, 0, 65537, 1048610, 0, 65537, 1048611, 0, 65537, 1048612, 0, 65537, 1048613, 0, 65537, 1048635, 0, 65537, 1048636, 0, 65537, 1048637, 0, 65537, 1048638, 0, 65537, 1048639, 0, 65537, 1048640, 0, 65537, 1048641, 0, 65537, 1048642, 0, 65537, 1048643, 0, 65537, 1114112, 0, 65537, 1114113, 0, 65537, 1114114, 0, 65537, 1114115, 0, 65537, 1114116, 0, 65537, 1114117, 0, 65537, 1114118, 0, 65537, 1114119, 0, 65537, 1114120, 0, 65537, 1114121, 0, 65537, 1114122, 536870912, 2, 1114137, 0, 65537, 1114142, 0, 65537, 1179662, 0, 65536, 1179663, 0, 65537, 1179664, 0, 65537, 1179665, 0, 65537, 1179666, 0, 65537, 1179667, 0, 65537, 1179668, 0, 65537, 1179672, 0, 65537, 1179673, 0, 65537, 1179678, 0, 65537, 1179692, 0, 65537, 1179693, 0, 65537, 1179694, 0, 65537, 1179695, 0, 65537, 1179701, 0, 65537, 1179702, 0, 65537, 1179717, 0, 65537, 1179718, 0, 65537, 1179719, 0, 65537, 1179720, 0, 65537, 1179721, 0, 65537, 1179722, 0, 65537, 1179723, 0, 65537, 1179724, 0, 65537, 1179725, 0, 65537, 1179726, 0, 65537, 1179727, 0, 65537, 1179728, 0, 65537, 1179729, 0, 65537, 1179730, 0, 65537, 1179731, 0, 65537, 1245238, 0, 65537, 1245239, 0, 65537, 1245240, 0, 65537, 1245241, 0, 65537, 1245242, 0, 65537, 1245243, 0, 65537, 1245244, 0, 65537, 1245245, 0, 65537, 1245246, 0, 65537, 1245247, 0, 65537, 1245248, 0, 65537, 1245249, 0, 65537, 1245252, 0, 65537, 1245253, 0, 65537, 1441792, 0, 0, 1441793, 0, 0, 1441794, 0, 0, 1441795, 0, 0, 1441796, 0, 0, 1441797, 0, 0, 1441798, 0, 0, 1441799, 0, 0, 1441800, 0, 0, 1441801, 0, 0, 1441802, 0, 0, 1441803, 0, 0, 1441804, 0, 0, 1441805, 0, 0, 1441806, 0, 0, 1441807, 0, 0, 1441808, 0, 0, 1441809, 0, 0, 1441810, 0, 0, 1441811, 0, 0, 1441812, 0, 0, 1441813, 0, 0, 1441814, 0, 0, 1441815, 0, 0, 1441816, 0, 0, 1441817, 0, 0, 1441818, 0, 0, 1441819, 0, 0, 1441820, 0, 0, 1441821, 0, 0, 1441822, 0, 0, 1441823, 0, 0, 1441824, 0, 0, 1441825, 0, 0, 1441826, 0, 0, 1441827, 0, 0, 1441836, 0, 0, 1441837, 0, 0, 1441838, 0, 0, 1441839, 0, 0, 1441840, 0, 0, 1441841, 0, 0, 1441842, 0, 0, 1441843, 0, 0, 1441844, 0, 0, 1441845, 0, 0, 1441846, 0, 0, 1441847, 0, 0, 1441848, 0, 0, 1441849, 0, 0, 1441850, 0, 0, 1441851, 0, 0, 1441852, 0, 0, 1441853, 0, 0, 1441854, 0, 0, 1441855, 0, 0, 1441856, 0, 0, 1441857, 0, 0, 1441858, 0, 0, 1441859, 0, 0, 1441860, 0, 0, 1441861, 0, 0, 1441862, 0, 0, 1441863, 0, 0, 1441867, 0, 0, 1441868, 0, 0, 1441872, 0, 0, 1441873, 0, 0, 1441874, 0, 0, 1441875, 0, 0, 1441876, 0, 0, 1441877, 0, 0, 1441878, 0, 0, 1441879, 0, 0, 1441880, 0, 0, 1441881, 0, 0, 1441882, 0, 0, 1507328, 0, 65537, 1507329, 0, 65537, 1507330, 0, 65537, 1507331, 0, 65537, 1507332, 0, 65537, 1507333, 0, 65537, 1507334, 0, 65537, 1507335, 0, 65537, 1507336, 0, 65537, 1507337, 0, 65537, 1507338, 0, 65537, 1507339, 0, 65537, 1507340, 0, 65537, 1507341, 0, 65537, 1507342, 0, 65537, 1507343, 0, 65537, 1507344, 0, 65537, 1507345, 0, 65537, 1507346, 0, 65537, 1507347, 0, 65537, 1507348, 0, 65537, 1507349, 0, 65537, 1507350, 0, 65537, 1507351, 0, 65537, 1507352, 0, 65537, 1507353, 0, 65537, 1507354, 0, 65537, 1507355, 0, 65537, 1507356, 0, 65537, 1507357, 0, 65537, 1507358, 0, 65537, 1507359, 0, 65537, 1507360, 0, 65537, 1507361, 0, 65537, 1507362, 0, 65537, 1507363, 0, 65537, 1507372, 0, 65537, 1507373, 0, 65537, 1507374, 0, 65537, 1507375, 0, 65537, 1507376, 0, 65537, 1507377, 0, 65537, 1507378, 0, 65537, 1507379, 0, 65537, 1507380, 0, 65537, 1507381, 0, 65537, 1507382, 0, 65537, 1507383, 0, 65537, 1507384, 0, 65537, 1507385, 0, 65537, 1507386, 0, 65537, 1507387, 0, 65537, 1507388, 0, 65537, 1507389, 0, 65537, 1507390, 0, 65537, 1507391, 0, 65537, 1507392, 0, 65537, 1507393, 0, 65537, 1507394, 0, 65537, 1507395, 0, 65537, 1507396, 0, 65537, 1507397, 0, 65537, 1507398, 0, 65537, 1507399, 0, 65537, 1507403, 0, 65537, 1507404, 0, 65537, 1507408, 0, 65537, 1507409, 0, 65537, 1507410, 0, 65537, 1507411, 0, 65537, 1507412, 0, 65537, 1507413, 0, 65537, 1507414, 0, 65537, 1507415, 0, 65537, 1507416, 0, 65537, 1507417, 0, 65537, 1507418, 0, 65537 ) +tile_data = PoolIntArray( 9, 0, 65537, 65545, 0, 65537, 131081, 0, 65537, 196617, 0, 65537, 196663, 0, 65537, 196664, 0, 65537, 196665, 0, 65537, 196666, 0, 65537, 196667, 0, 65537, 196668, 0, 65537, 196669, 0, 65537, 196670, 0, 65537, 196671, 0, 65537, 196672, 0, 65537, 196673, 0, 65537, 196674, 0, 65537, 196675, 0, 65537, 262161, 0, 65537, 262162, 0, 65537, 262163, 0, 65537, 262164, 0, 65537, 262165, 0, 65537, 262166, 0, 65537, 262167, 0, 65537, 262168, 0, 65537, 262169, 0, 65537, 262170, 0, 65537, 262171, 0, 65537, 262172, 0, 65537, 262173, 0, 65537, 262174, 0, 65537, 262175, 0, 65537, 262176, 0, 65537, 327725, 0, 65537, 327726, 0, 65537, 327727, 0, 65537, 327728, 0, 65537, 327729, 0, 65537, 327730, 0, 65537, 327731, 0, 65537, 327732, 0, 65537, 327733, 0, 65537, 393216, 0, 65537, 393217, 0, 65537, 393218, 0, 65537, 393219, 0, 65537, 393220, 0, 65537, 393221, 0, 65537, 393222, 0, 65537, 393251, 0, 65537, 393252, 0, 65537, 393256, 0, 65537, 393257, 0, 65537, 393258, 0, 65537, 393306, 0, 65537, 393307, 0, 65537, 393308, 0, 65537, 393309, 0, 65537, 393310, 0, 65537, 393311, 0, 65537, 458774, 0, 65537, 458775, 0, 65537, 458776, 0, 65537, 458777, 0, 65537, 458778, 0, 65537, 458779, 0, 65537, 458780, 0, 65537, 458781, 0, 65537, 458782, 0, 65537, 458783, 0, 65537, 458826, 0, 65537, 458827, 0, 65537, 458828, 0, 65537, 458829, 0, 65537, 458830, 0, 65537, 458831, 0, 65537, 458832, 0, 65537, 458833, 0, 65537, 458842, 0, 65537, 524297, 0, 65537, 524298, 0, 65537, 524299, 0, 65537, 524300, 0, 65537, 524361, 0, 65537, 524362, 0, 65537, 524369, 0, 65537, 524378, 0, 65537, 589836, 0, 65537, 589870, 0, 65537, 589871, 0, 65537, 589872, 0, 65537, 589873, 0, 65537, 589874, 0, 65537, 589875, 0, 65537, 589876, 0, 65537, 589877, 0, 65537, 589878, 0, 65537, 589879, 0, 65537, 589880, 0, 65537, 589881, 0, 65537, 589889, 0, 65537, 589890, 0, 65537, 589891, 0, 65537, 589897, 0, 65537, 589905, 0, 65537, 589906, 0, 65537, 589907, 0, 65537, 589914, 0, 65537, 655372, 0, 65537, 655373, 0, 65537, 655374, 0, 65537, 655406, 0, 65537, 655423, 0, 65537, 655424, 0, 65537, 655425, 0, 65537, 655427, 0, 65537, 655428, 0, 65537, 655429, 0, 65537, 655430, 0, 65537, 655431, 0, 65537, 655432, 0, 65537, 655433, 0, 65537, 655443, 0, 65537, 655450, 0, 65537, 720942, 0, 65537, 720958, 0, 65537, 720959, 0, 65537, 720979, 0, 65537, 720986, 0, 65537, 786433, 0, 65537, 786434, 0, 65537, 786435, 0, 65537, 786436, 0, 65538, 786450, 0, 65537, 786451, 0, 65537, 786452, 0, 65537, 786453, 0, 65537, 786454, 0, 65537, 786455, 0, 65537, 786456, 0, 65537, 786457, 0, 65537, 786458, 0, 65537, 786459, 0, 65537, 786460, 0, 65537, 786461, 0, 65537, 786462, 0, 65537, 786463, 0, 65537, 786464, 0, 65537, 786465, 0, 65537, 786466, 0, 65537, 786467, 0, 65537, 786468, 0, 65537, 786469, 0, 65537, 786470, 0, 65537, 786471, 0, 65537, 786472, 0, 65537, 786473, 0, 65537, 786474, 0, 65537, 786475, 0, 65537, 786476, 0, 65537, 786477, 0, 65537, 786478, 0, 65537, 786480, 0, 65537, 786481, 0, 65537, 786482, 0, 65537, 786483, 0, 65537, 786484, 0, 65537, 786485, 0, 65537, 786486, 0, 65537, 786487, 0, 65537, 786488, 0, 65537, 786489, 0, 65537, 786490, 0, 65537, 786493, 0, 65537, 786494, 0, 65537, 786515, 0, 65537, 786516, 0, 65537, 786517, 0, 65537, 786522, 0, 65537, 852058, 0, 65537, 917593, 0, 65537, 917594, 0, 65537, 983107, 0, 65537, 983108, 0, 65537, 983109, 0, 65537, 983110, 0, 65537, 983111, 0, 65537, 983112, 0, 65537, 983113, 0, 65537, 983114, 0, 65537, 983115, 0, 65537, 983116, 0, 65537, 983117, 0, 65537, 983118, 0, 65537, 983119, 0, 65537, 983120, 0, 65537, 983121, 0, 65537, 983122, 0, 65537, 983123, 0, 65537, 1048586, -1610612736, 65536, 1048601, 0, 65537, 1048602, 0, 65537, 1048603, 0, 65537, 1048604, 0, 65538, 1048606, 0, 65537, 1048607, 0, 65537, 1048608, 0, 65537, 1048609, 0, 65537, 1048610, 0, 65537, 1048611, 0, 65537, 1048612, 0, 65537, 1048613, 0, 65537, 1048635, 0, 65537, 1048636, 0, 65537, 1048637, 0, 65537, 1048638, 0, 65537, 1048639, 0, 65537, 1048640, 0, 65537, 1048641, 0, 65537, 1048642, 0, 65537, 1048643, 0, 65537, 1114112, 0, 65537, 1114113, 0, 65537, 1114114, 0, 65537, 1114115, 0, 65537, 1114116, 0, 65537, 1114117, 0, 65537, 1114118, 0, 65537, 1114119, 0, 65537, 1114120, 0, 65537, 1114121, 0, 65537, 1114122, 536870912, 2, 1114137, 0, 65537, 1114142, 0, 65537, 1179662, 0, 65536, 1179663, 0, 65537, 1179664, 0, 65537, 1179665, 0, 65537, 1179666, 0, 65537, 1179667, 0, 65537, 1179668, 0, 65537, 1179672, 0, 65537, 1179673, 0, 65537, 1179678, 0, 65537, 1179692, 0, 65537, 1179693, 0, 65537, 1179694, 0, 65537, 1179695, 0, 65537, 1179701, 0, 65537, 1179702, 0, 65537, 1179717, 0, 65537, 1179718, 0, 65537, 1179719, 0, 65537, 1179720, 0, 65537, 1179721, 0, 65537, 1179722, 0, 65537, 1179723, 0, 65537, 1179724, 0, 65537, 1179725, 0, 65537, 1179726, 0, 65537, 1179727, 0, 65537, 1179728, 0, 65537, 1179729, 0, 65537, 1179730, 0, 65537, 1179731, 0, 65537, 1245238, 0, 65537, 1245239, 0, 65537, 1245240, 0, 65537, 1245241, 0, 65537, 1245242, 0, 65537, 1245243, 0, 65537, 1245244, 0, 65537, 1245245, 0, 65537, 1245246, 0, 65537, 1245247, 0, 65537, 1245248, 0, 65537, 1245249, 0, 65537, 1245252, 0, 65537, 1245253, 0, 65537, 1441792, 0, 0, 1441793, 0, 0, 1441794, 0, 0, 1441795, 0, 0, 1441796, 0, 0, 1441797, 0, 0, 1441798, 0, 0, 1441799, 0, 0, 1441800, 0, 0, 1441801, 0, 0, 1441802, 0, 0, 1441803, 0, 0, 1441804, 0, 0, 1441805, 0, 0, 1441806, 0, 0, 1441807, 0, 0, 1441808, 0, 0, 1441809, 0, 0, 1441810, 0, 0, 1441811, 0, 0, 1441812, 0, 0, 1441813, 0, 0, 1441814, 0, 0, 1441815, 0, 0, 1441816, 0, 0, 1441817, 0, 0, 1441818, 0, 0, 1441819, 0, 0, 1441820, 0, 0, 1441821, 0, 0, 1441822, 0, 0, 1441823, 0, 0, 1441824, 0, 0, 1441825, 0, 0, 1441826, 0, 0, 1441827, 0, 0, 1441836, 0, 0, 1441837, 0, 0, 1441838, 0, 0, 1441839, 0, 0, 1441840, 0, 0, 1441841, 0, 0, 1441842, 0, 0, 1441843, 0, 0, 1441844, 0, 0, 1441845, 0, 0, 1441846, 0, 0, 1441847, 0, 0, 1441848, 0, 0, 1441849, 0, 0, 1441850, 0, 0, 1441851, 0, 0, 1441852, 0, 0, 1441853, 0, 0, 1441854, 0, 0, 1441855, 0, 0, 1441856, 0, 0, 1441857, 0, 0, 1441858, 0, 0, 1441859, 0, 0, 1441860, 0, 0, 1441861, 0, 0, 1441862, 0, 0, 1441863, 0, 0, 1441867, 0, 0, 1441868, 0, 0, 1441872, 0, 0, 1441873, 0, 0, 1441874, 0, 0, 1441875, 0, 0, 1441876, 0, 0, 1441877, 0, 0, 1441878, 0, 0, 1441879, 0, 0, 1441880, 0, 0, 1441881, 0, 0, 1441882, 0, 0, 1507328, 0, 65537, 1507329, 0, 65537, 1507330, 0, 65537, 1507331, 0, 65537, 1507332, 0, 65537, 1507333, 0, 65537, 1507334, 0, 65537, 1507335, 0, 65537, 1507336, 0, 65537, 1507337, 0, 65537, 1507338, 0, 65537, 1507339, 0, 65537, 1507340, 0, 65537, 1507341, 0, 65537, 1507342, 0, 65537, 1507343, 0, 65537, 1507344, 0, 65537, 1507345, 0, 65537, 1507346, 0, 65537, 1507347, 0, 65537, 1507348, 0, 65537, 1507349, 0, 65537, 1507350, 0, 65537, 1507351, 0, 65537, 1507352, 0, 65537, 1507353, 0, 65537, 1507354, 0, 65537, 1507355, 0, 65537, 1507356, 0, 65537, 1507357, 0, 65537, 1507358, 0, 65537, 1507359, 0, 65537, 1507360, 0, 65537, 1507361, 0, 65537, 1507362, 0, 65537, 1507363, 0, 65537, 1507372, 0, 65537, 1507373, 0, 65537, 1507374, 0, 65537, 1507375, 0, 65537, 1507376, 0, 65537, 1507377, 0, 65537, 1507378, 0, 65537, 1507379, 0, 65537, 1507380, 0, 65537, 1507381, 0, 65537, 1507382, 0, 65537, 1507383, 0, 65537, 1507384, 0, 65537, 1507385, 0, 65537, 1507386, 0, 65537, 1507387, 0, 65537, 1507388, 0, 65537, 1507389, 0, 65537, 1507390, 0, 65537, 1507391, 0, 65537, 1507392, 0, 65537, 1507393, 0, 65537, 1507394, 0, 65537, 1507395, 0, 65537, 1507396, 0, 65537, 1507397, 0, 65537, 1507398, 0, 65537, 1507399, 0, 65537, 1507403, 0, 65537, 1507404, 0, 65537, 1507408, 0, 65537, 1507409, 0, 65537, 1507410, 0, 65537, 1507411, 0, 65537, 1507412, 0, 65537, 1507413, 0, 65537, 1507414, 0, 65537, 1507415, 0, 65537, 1507416, 0, 65537, 1507417, 0, 65537, 1507418, 0, 65537 ) [node name="Player" parent="." instance=ExtResource( 6 )] position = Vector2( 24, 166 ) @@ -52,7 +52,7 @@ position = Vector2( 24, 166 ) tile_set = ExtResource( 4 ) cell_size = Vector2( 8, 8 ) format = 1 -tile_data = PoolIntArray( 131123, 0, 196608, 196659, 0, 196608, 262195, 0, 196608, 393303, 0, 196608, 458839, 0, 196608, 524375, 0, 196608, 589911, 0, 196608, 655367, 0, 196608, 720903, 0, 196608, 917516, 0, 196608, 983052, 0, 196608, 1048588, 0, 196608, 1048663, 0, 196608, 1114199, 0, 196608, 1179735, 0, 196608, 1245271, 0, 196608 ) +tile_data = PoolIntArray( 131123, 0, 196608, 196659, 0, 196608, 262195, 0, 196608, 327718, 0, 196608, 393254, 0, 196608, 393303, 0, 196608, 458790, 0, 196608, 458839, 0, 196608, 524326, 0, 196608, 524375, 0, 196608, 589862, 0, 196608, 589911, 0, 196608, 655367, 0, 196608, 720903, 0, 196608, 917516, 0, 196608, 983052, 0, 196608, 1048588, 0, 196608, 1048663, 0, 196608, 1114199, 0, 196608, 1179735, 0, 196608, 1245271, 0, 196608 ) [node name="Death" type="TileMap" parent="."] tile_set = ExtResource( 18 ) @@ -74,6 +74,10 @@ scale = Vector2( 1, 2 ) position = Vector2( 408, 16 ) scale = Vector2( 1, 3 ) +[node name="Ladder6" parent="Platforms" instance=ExtResource( 12 )] +position = Vector2( 304, 40 ) +scale = Vector2( 1, 5 ) + [node name="Ladder4" parent="Platforms" instance=ExtResource( 12 )] position = Vector2( 696, 128 ) scale = Vector2( 1, 4 ) @@ -127,14 +131,6 @@ position = Vector2( 96, 160 ) [node name="Turniwood9" parent="Platforms" instance=ExtResource( 13 )] position = Vector2( 120, 48 ) -[node name="Turniwood20" parent="Platforms" instance=ExtResource( 13 )] -position = Vector2( 96, 32 ) -delay = 1.5 - -[node name="Turniwood21" parent="Platforms" instance=ExtResource( 13 )] -position = Vector2( 64, 32 ) -delay = 3.0 - [node name="Turniwood4" parent="Platforms" instance=ExtResource( 13 )] position = Vector2( 128, 104 ) @@ -185,11 +181,6 @@ position = Vector2( 56, 168 ) left_boundary = 2 right_boundary = 4 -[node name="JumpingSpider3" parent="Enemies" instance=ExtResource( 10 )] -position = Vector2( 176, 24 ) -left_boundary = 4 -right_boundary = 4 - [node name="JumpingSpider6" parent="Enemies" instance=ExtResource( 10 )] position = Vector2( 672, 168 ) right_boundary = 3 @@ -219,7 +210,7 @@ arrow_speed = 80.0 [node name="Skelarcher8" parent="Enemies" instance=ExtResource( 5 )] position = Vector2( 240, 24 ) scale = Vector2( -1, 1 ) -arrow_speed = 80.0 +arrow_speed = 100.0 [node name="Skelarcher6" parent="Enemies" instance=ExtResource( 5 )] position = Vector2( 96, 56 ) @@ -234,7 +225,7 @@ shoot_time = 2.0 arrow_speed = 80.0 [node name="Skelarcher9" parent="Enemies" instance=ExtResource( 5 )] -position = Vector2( 480, 16 ) +position = Vector2( 488, -8 ) scale = Vector2( -1, 1 ) shoot_time = 0.5 @@ -254,13 +245,10 @@ position = Vector2( 352, 136 ) shoot_time = 6.0 arrow_speed = 80.0 -[node name="Skelarcher3" parent="Enemies" instance=ExtResource( 5 )] -position = Vector2( 16, 88 ) -shoot_time = 2.0 - [node name="Skelarcher2" parent="Enemies" instance=ExtResource( 5 )] position = Vector2( 16, 128 ) shoot_time = 1.0 +arrow_speed = 80.0 [node name="JumpingSpider2" parent="Enemies" instance=ExtResource( 10 )] position = Vector2( 144, 168 ) @@ -276,6 +264,16 @@ down_boundary = 4 position = Vector2( 184, 64 ) down_boundary = 3 +[node name="Spider7" parent="Enemies" instance=ExtResource( 9 )] +position = Vector2( 16, 56 ) +speed = 50.0 +down_boundary = 4 + +[node name="Spider12" parent="Enemies" instance=ExtResource( 9 )] +position = Vector2( -24, 72 ) +speed = 50.0 +down_boundary = 4 + [node name="Spider3" parent="Enemies" instance=ExtResource( 9 )] position = Vector2( 536, 88 ) speed = 40.0 diff --git a/objects/enemy/jumping_spider.tscn b/objects/enemy/jumping_spider.tscn index b20b2de..12d141f 100644 --- a/objects/enemy/jumping_spider.tscn +++ b/objects/enemy/jumping_spider.tscn @@ -70,14 +70,14 @@ tracks/1/keys = { "times": PoolRealArray( 0, 0.2, 0.4 ), "transitions": PoolRealArray( 1, 1, 1 ), "update": 0, -"values": [ Vector2( 4, -2 ), Vector2( 4, -6 ), Vector2( 4, -2 ) ] +"values": [ Vector2( 4, 2 ), Vector2( 4, -2 ), Vector2( 4, 2 ) ] } tracks/2/type = "value" tracks/2/path = NodePath("Hitbox:position") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/imported = false -tracks/2/enabled = true +tracks/2/enabled = false tracks/2/keys = { "times": PoolRealArray( 0, 0.2, 0.4 ), "transitions": PoolRealArray( 1, 1, 1 ), @@ -86,7 +86,7 @@ tracks/2/keys = { } [sub_resource type="RectangleShape2D" id=3] -extents = Vector2( 4.5, 4 ) +extents = Vector2( 3.5, 4 ) [node name="JumpingSpider" type="Node2D" groups=["enemy"]] position = Vector2( 0, -4 ) @@ -96,7 +96,7 @@ script = ExtResource( 2 ) position = Vector2( 4, 2 ) texture = ExtResource( 1 ) region_enabled = true -region_rect = Rect2( 0, 0, 13, 12 ) +region_rect = Rect2( 13, 0, 13, 12 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="."] playback_process_mode = 0