diff --git a/autoloads/debug.gd b/autoloads/debug.gd index d016f63..36dab58 100644 --- a/autoloads/debug.gd +++ b/autoloads/debug.gd @@ -17,6 +17,7 @@ var debug = false var allow_sword = false var moon_jump = false var cfox_mode = false +var infinite_arrows = false # cheat code entry var entry_index = 0 var entry = false @@ -144,3 +145,5 @@ func _enter_code(): Game.get_map().rotation_degrees = -2 "CFOX": cfox_mode = true + "BANDANA": + infinite_arrows = true diff --git a/maps/station.tscn b/maps/station.tscn index d05a3a3..c7638cc 100644 --- a/maps/station.tscn +++ b/maps/station.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=24 format=2] +[gd_scene load_steps=25 format=2] [ext_resource path="res://maps/station.gd" type="Script" id=1] [ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=2] @@ -22,6 +22,7 @@ [ext_resource path="res://objects/collectibles/key.tscn" type="PackedScene" id=20] [ext_resource path="res://objects/environment/barrier/jail_bars.tscn" type="PackedScene" id=21] [ext_resource path="res://objects/npc/msx.tscn" type="PackedScene" id=22] +[ext_resource path="res://objects/environment/barrier/barrier.tscn" type="PackedScene" id=23] [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 4, 120 ) @@ -56,7 +57,7 @@ tile_set = ExtResource( 3 ) cell_size = Vector2( 8, 8 ) collision_layer = 9 format = 1 -tile_data = PoolIntArray( -65485, 1, 196609, -65484, 1, 196610, -65483, 1, 196610, -65482, 1, 196611, -65480, 1, 196609, -65479, 1, 196611, -65476, 1, 196608, 131135, 1, 1, 131136, 1, 3, 131168, 1, 196608, 196625, 0, 131072, 196626, 0, 131073, 196627, 0, 131073, 196628, 0, 131073, 196629, 0, 131073, 196630, 0, 131073, 196631, 0, 131073, 196642, 0, 131073, 196643, 0, 131073, 196644, 0, 131073, 196645, 0, 131073, 196646, 0, 131073, 196647, 0, 131073, 196648, 0, 131073, 196649, 0, 131073, 196650, 0, 131073, 196651, 0, 131073, 196652, 0, 131073, 196653, 0, 131073, 196654, 0, 131073, 196655, 0, 131073, 196656, 0, 131073, 196657, 0, 131073, 196658, 0, 131073, 196659, 0, 131073, 196663, 0, 131073, 196666, 0, 131073, 196667, 0, 131073, 196669, 0, 131073, 196670, 0, 131073, 196671, 1, 65537, 196672, 1, 65539, 196673, 0, 131073, 196676, 0, 131073, 196677, 0, 131073, 196678, 0, 131073, 196679, 0, 131073, 196680, 0, 131073, 196681, 0, 131073, 196682, 0, 131073, 196683, 0, 131073, 196684, 0, 131073, 196685, 0, 131073, 196686, 0, 131073, 196687, 0, 131073, 196688, 0, 131073, 196689, 0, 131073, 196690, 0, 131073, 196691, 0, 131073, 196692, 0, 131073, 196693, 0, 131073, 196694, 0, 131073, 196695, 0, 131073, 196696, 0, 131073, 196697, 0, 131073, 196703, 0, 131073, 262162, 1, 1, 262163, 1, 196610, 262164, 1, 196610, 262165, 1, 196610, 262166, 1, 196610, 262167, 1, 196611, 262178, 1, 196609, 262179, 1, 196610, 262180, 1, 196610, 262181, 1, 196610, 262182, 1, 196610, 262183, 1, 196610, 262184, 1, 196610, 262185, 1, 196610, 262186, 1, 196610, 262187, 1, 196610, 262188, 1, 196610, 262189, 1, 196610, 262190, 1, 196610, 262191, 1, 196610, 262192, 1, 196610, 262193, 1, 196610, 262194, 1, 196610, 262195, 1, 196611, 262199, 1, 196608, 262202, 1, 196609, 262203, 1, 196611, 262205, 1, 196609, 262206, 1, 196610, 262207, 1, 131074, 262208, 1, 131074, 262209, 1, 196611, 262212, 1, 196609, 262213, 1, 196610, 262214, 1, 196610, 262215, 1, 196610, 262216, 1, 196610, 262217, 1, 196610, 262218, 1, 196610, 262219, 1, 196610, 262220, 1, 196610, 262221, 1, 196610, 262222, 1, 196610, 262223, 1, 196610, 262224, 1, 196610, 262225, 1, 196610, 262226, 1, 196610, 262227, 1, 196610, 262228, 1, 196610, 262229, 1, 196610, 262230, 1, 196610, 262231, 1, 196610, 262232, 1, 196610, 262233, 1, 196611, 262239, 1, 0, 327690, 1, 1, 327691, 1, 2, 327692, 1, 2, 327693, 1, 2, 327694, 1, 3, 327698, 1, 65536, 327773, 0, 65538, 327774, 0, 65539, 327775, 1, 65539, 393226, 1, 131073, 393227, 1, 131074, 393228, 1, 131074, 393229, 1, 131074, 393230, 1, 131075, 393234, 1, 65536, 393307, 0, 65538, 393308, 0, 65539, 393309, 1, 1, 393310, 1, 2, 393311, 1, 65539, 458770, 1, 65536, 458830, 1, 196609, 458831, 1, 196610, 458832, 1, 196610, 458833, 1, 196610, 458834, 1, 196610, 458835, 1, 196610, 458836, 1, 2, 458837, 1, 196610, 458838, 1, 196610, 458839, 1, 196610, 458840, 1, 196610, 458841, 1, 196610, 458842, 1, 196610, 458843, 1, 196610, 458844, 1, 196610, 458845, 1, 131074, 458846, 1, 131074, 458847, 1, 65539, 524306, 1, 65537, 524307, 536870913, 196610, 524308, 536870913, 196610, 524309, 536870913, 196610, 524310, 536870913, 196610, 524311, 536870913, 196610, 524312, 536870913, 196610, 524313, 536870913, 196610, 524314, 536870913, 196610, 524315, 1, 196611, 524324, 1, 1, 524325, 1, 2, 524326, 1, 2, 524327, 1, 2, 524328, 1, 2, 524329, 1, 2, 524330, 1, 2, 524331, 1, 2, 524332, 1, 2, 524333, 1, 2, 524334, 1, 2, 524335, 1, 2, 524336, 1, 3, 524350, 1, 1, 524351, 1, 196610, 524352, 1, 196610, 524353, 1, 196610, 524354, 1, 196610, 524355, 1, 196610, 524356, 1, 196611, 524365, 1, 196608, 524372, 1, 131072, 524383, 1, 65536, 589842, 1, 65536, 589860, 1, 131073, 589861, 1, 131074, 589862, 1, 131074, 589863, 1, 131074, 589864, 1, 131074, 589865, 1, 131074, 589866, 1, 131074, 589867, 1, 131074, 589868, 1, 131074, 589869, 1, 131074, 589870, 1, 131074, 589871, 1, 65538, 589872, 1, 131075, 589878, 1, 196609, 589879, 1, 196611, 589882, 1, 196609, 589883, 1, 196610, 589884, 1, 196610, 589885, 1, 196610, 589886, 1, 131075, 589919, 1, 65536, 655365, 1, 1, 655366, 1, 2, 655367, 1, 2, 655368, 1, 2, 655369, 1, 2, 655370, 1, 2, 655371, 1, 2, 655372, 1, 2, 655373, 1, 3, 655378, 1, 65536, 655391, 1, 196609, 655392, 1, 196610, 655393, 1, 196611, 655407, 1, 65536, 655409, 1, 196609, 655410, 1, 196611, 655429, 1, 1, 655430, 1, 2, 655431, 1, 2, 655432, 1, 2, 655433, 1, 2, 655434, 1, 2, 655435, 1, 196611, 655444, 1, 0, 655455, 1, 65536, 720901, 1, 131073, 720902, 1, 131074, 720903, 1, 131074, 720904, 1, 131074, 720905, 1, 131074, 720906, 1, 131074, 720907, 1, 131074, 720908, 1, 131074, 720909, 1, 131075, 720914, 1, 65536, 720943, 1, 65536, 720950, 1, 196609, 720951, 1, 196610, 720952, 1, 196610, 720953, 1, 196610, 720954, 1, 196610, 720955, 1, 196610, 720956, 1, 196610, 720957, 1, 196610, 720958, 1, 3, 720965, 1, 65537, 720966, 1, 131074, 720967, 1, 131074, 720968, 1, 131074, 720969, 1, 131074, 720970, 1, 131075, 720977, 1, 196609, 720978, 1, 196610, 720979, 1, 196610, 720980, 1, 65539, 720991, 1, 65536, 786450, 1, 65536, 786479, 1, 65536, 786494, 1, 65536, 786499, 1, 196609, 786500, 1, 2, 786501, 1, 131075, 786516, 1, 65537, 786517, 1, 196611, 786520, 1, 196609, 786521, 1, 196611, 786527, 1, 65536, 851986, 1, 65536, 852015, 1, 131073, 852016, 1, 196610, 852017, 1, 196610, 852018, 1, 196611, 852030, 1, 131072, 852036, 1, 65536, 852046, 1, 0, 852052, 1, 65536, 852063, 1, 65536, 917522, 1, 65536, 917526, 1, 196609, 917527, 1, 196610, 917528, 1, 196610, 917529, 1, 196611, 917572, 1, 65536, 917579, 1, 0, 917582, 1, 65536, 917588, 1, 65536, 917596, 1, 196609, 917597, 1, 196610, 917598, 1, 196610, 917599, 1, 65539, 983047, 1, 1, 983048, 1, 2, 983049, 536870913, 2, 983050, 536870913, 2, 983051, 536870913, 2, 983052, 536870913, 2, 983053, 536870913, 2, 983054, 536870913, 2, 983055, 536870913, 2, 983056, 536870913, 2, 983057, 1, 2, 983058, 1, 65539, 983108, 1, 65536, 983112, 1, 0, 983115, 1, 65536, 983118, 1, 65536, 983124, 1, 65536, 983135, 1, 65536, 1048583, 1, 131073, 1048584, 1, 131074, 1048585, 536870913, 131074, 1048586, 536870913, 131074, 1048587, 536870913, 131074, 1048588, 536870913, 131074, 1048589, 536870913, 131074, 1048590, 536870913, 131074, 1048591, 536870913, 131074, 1048592, 536870913, 131074, 1048593, 1, 131074, 1048594, 1, 65539, 1048611, 0, 65538, 1048612, 0, 65539, 1048613, 1, 2, 1048614, 1, 2, 1048615, 1, 2, 1048616, 1, 2, 1048617, 1, 3, 1048644, 1, 65536, 1048648, 1, 131073, 1048649, 1, 196610, 1048650, 1, 196610, 1048651, 1, 131074, 1048652, 1, 196610, 1048653, 1, 196610, 1048654, 1, 131074, 1048655, 1, 196610, 1048656, 1, 196610, 1048657, 1, 196610, 1048658, 1, 196610, 1048659, 1, 196610, 1048660, 1, 131075, 1048671, 1, 65536, 1114116, 1, 1, 1114117, 1, 2, 1114118, 1, 3, 1114130, 1, 131072, 1114140, 1, 196609, 1114141, 1, 196610, 1114142, 1, 196610, 1114143, 1, 196610, 1114144, 1, 196610, 1114145, 1, 196610, 1114146, 1, 196610, 1114147, 1, 131074, 1114148, 1, 131074, 1114149, 1, 131074, 1114150, 1, 131074, 1114151, 1, 131074, 1114152, 1, 131074, 1114153, 1, 131075, 1114157, 1, 1, 1114158, 1, 2, 1114159, 1, 2, 1114160, 1, 2, 1114161, 1, 2, 1114162, 1, 2, 1114163, 1, 3, 1114167, 1, 196609, 1114168, 1, 196610, 1114169, 1, 196610, 1114170, 1, 196610, 1114171, 1, 196610, 1114172, 1, 196610, 1114173, 1, 196610, 1114174, 1, 196610, 1114175, 1, 196610, 1114176, 1, 196610, 1114177, 1, 196610, 1114178, 1, 196610, 1114179, 1, 196610, 1114180, 1, 131075, 1114201, 1, 1, 1114202, 1, 196610, 1114203, 1, 196610, 1114204, 1, 196610, 1114205, 1, 196610, 1114206, 1, 196610, 1114207, 1, 65539, 1179652, 1, 131073, 1179653, 1, 131074, 1179654, 1, 131075, 1179693, 1, 131073, 1179694, 1, 131074, 1179695, 1, 131074, 1179696, 1, 131074, 1179697, 1, 131074, 1179698, 1, 131074, 1179699, 1, 131075, 1179737, 1, 131072, 1179743, 1, 65536, 1245279, 1, 65536, 1310815, 1, 65536, 1376269, 0, 65538, 1376270, 0, 65539, 1376271, 1, 1, 1376272, 1, 2, 1376273, 1, 2, 1376274, 1, 2, 1376275, 1, 2, 1376276, 536870913, 2, 1376277, 536870913, 2, 1376278, 536870913, 2, 1376279, 536870913, 2, 1376280, 1, 2, 1376281, 1, 2, 1376282, 536870913, 2, 1376283, 1, 2, 1376284, 1, 2, 1376285, 1, 2, 1376286, 1, 2, 1376287, 1, 2, 1376288, 1, 2, 1376289, 1, 2, 1376290, 1, 2, 1376291, 1, 2, 1376292, 1, 2, 1376293, 1, 2, 1376294, 1, 2, 1376295, 1, 2, 1376296, 1, 2, 1376297, 1, 2, 1376298, 1, 2, 1376299, 1, 2, 1376300, 1, 2, 1376301, 1, 2, 1376302, 1, 2, 1376303, 1, 2, 1376304, 1, 2, 1376305, 1, 2, 1376306, 1, 2, 1376307, 1, 2, 1376308, 1, 2, 1376309, 1, 2, 1376310, 1, 2, 1376311, 1, 2, 1376312, 1, 2, 1376313, 1, 2, 1376314, 1, 2, 1376315, 1, 2, 1376316, 1, 2, 1376317, 1, 2, 1376318, 1, 2, 1376319, 1, 2, 1376320, 1, 2, 1376321, 1, 2, 1376322, 1, 2, 1376323, 1, 2, 1376324, 1, 2, 1376325, 1, 2, 1376326, 1, 2, 1376327, 1, 2, 1376328, 1, 2, 1376329, 1, 2, 1376330, 1, 2, 1376331, 1, 2, 1376332, 1, 2, 1376333, 1, 2, 1376334, 1, 2, 1376335, 1, 2, 1376336, 1, 2, 1376337, 1, 2, 1376338, 1, 2, 1376339, 1, 2, 1376340, 1, 2, 1376341, 1, 2, 1376342, 1, 2, 1376343, 1, 2, 1376344, 1, 2, 1376345, 1, 2, 1376346, 1, 2, 1376347, 1, 2, 1376348, 1, 2, 1376349, 1, 2, 1376350, 1, 2, 1376351, 1, 65539, 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, 1441803, 0, 0, 1441804, 0, 0, 1441805, 1, 1, 1441806, 1, 2, 1441807, 1, 65538, 1441808, 1, 65538, 1441809, 1, 65538, 1441810, 1, 65538, 1441811, 1, 65538, 1441812, 536870913, 65538, 1441813, 536870913, 65538, 1441814, 536870913, 65538, 1441815, 536870913, 65538, 1441816, 1, 65538, 1441817, 1, 65538, 1441818, 536870913, 65538, 1441819, 1, 65538, 1441820, 1, 65538, 1441821, 1, 65538, 1441822, 1, 65538, 1441823, 1, 65538, 1441824, 1, 65538, 1441825, 1, 65538, 1441826, 1, 65538, 1441827, 1, 65538, 1441828, 1, 65538, 1441829, 1, 65538, 1441830, 1, 65538, 1441831, 1, 65538, 1441832, 1, 65538, 1441833, 1, 65538, 1441834, 1, 65538, 1441835, 1, 65538, 1441836, 1, 65538, 1441837, 1, 65538, 1441838, 1, 65538, 1441839, 1, 65538, 1441840, 1, 65538, 1441841, 1, 65538, 1441842, 1, 65538, 1441843, 1, 65538, 1441844, 1, 65538, 1441845, 1, 65538, 1441846, 1, 65538, 1441847, 1, 65538, 1441848, 1, 65538, 1441849, 1, 65538, 1441850, 1, 65538, 1441851, 1, 65538, 1441852, 1, 65538, 1441853, 1, 65538, 1441854, 1, 65538, 1441855, 1, 65538, 1441856, 1, 65538, 1441857, 1, 65538, 1441858, 1, 65538, 1441859, 1, 65538, 1441860, 1, 65538, 1441861, 1, 65538, 1441862, 1, 65538, 1441863, 1, 65538, 1441864, 1, 65538, 1441865, 1, 65538, 1441866, 1, 65538, 1441867, 1, 65538, 1441868, 1, 65538, 1441869, 1, 65538, 1441870, 1, 65538, 1441871, 1, 65538, 1441872, 1, 65538, 1441873, 1, 65538, 1441874, 1, 65538, 1441875, 1, 65538, 1441876, 1, 65538, 1441877, 1, 65538, 1441878, 1, 65538, 1441879, 1, 65538, 1441880, 1, 65538, 1441881, 1, 65538, 1441882, 1, 65538, 1441883, 1, 65538, 1441884, 1, 65538, 1441885, 1, 65538, 1441886, 1, 65538, 1441887, 1, 65539, 1507328, 536870913, 196609, 1507329, 536870913, 196610, 1507330, 536870913, 196610, 1507331, 536870913, 196610, 1507332, 536870913, 196610, 1507333, 536870913, 196610, 1507334, 536870913, 196610, 1507335, 536870913, 196610, 1507336, 536870913, 196610, 1507337, 536870913, 196610, 1507338, 536870913, 196610, 1507339, 536870913, 196610, 1507340, 536870913, 196610, 1507341, 536870913, 131074, 1507342, 536870913, 131074, 1507343, 1, 131074, 1507344, 1, 131074, 1507345, 1, 131074, 1507346, 1, 131074, 1507347, 536870913, 131074, 1507348, 536870913, 131074, 1507349, 536870913, 131074, 1507350, 536870913, 131074, 1507351, 536870913, 131074, 1507352, 536870913, 131074, 1507353, 536870913, 131074, 1507354, 536870913, 131074, 1507355, 536870913, 131074, 1507356, 1, 131074, 1507357, 1, 131074, 1507358, 1, 131074, 1507359, 1, 131074, 1507360, 1, 131074, 1507361, 1, 131074, 1507362, 1, 131074, 1507363, 1, 131074, 1507364, 1, 131074, 1507365, 1, 131074, 1507366, 1, 131074, 1507367, 1, 131074, 1507368, 1, 131074, 1507369, 1, 131074, 1507370, 1, 131074, 1507371, 1, 131074, 1507372, 1, 131074, 1507373, 1, 131074, 1507374, 1, 131074, 1507375, 1, 131074, 1507376, 1, 131074, 1507377, 1, 131074, 1507378, 1, 131074, 1507379, 1, 131074, 1507380, 1, 131074, 1507381, 1, 131074, 1507382, 1, 131074, 1507383, 1, 131074, 1507384, 1, 131074, 1507385, 1, 131074, 1507386, 1, 131074, 1507387, 1, 131074, 1507388, 1, 131074, 1507389, 1, 131074, 1507390, 1, 131074, 1507391, 1, 131074, 1507392, 1, 131074, 1507393, 1, 131074, 1507394, 1, 131074, 1507395, 1, 131074, 1507396, 1, 131074, 1507397, 1, 131074, 1507398, 1, 131074, 1507399, 1, 131074, 1507400, 1, 131074, 1507401, 1, 131074, 1507402, 1, 131074, 1507403, 1, 131074, 1507404, 1, 131074, 1507405, 1, 131074, 1507406, 1, 131074, 1507407, 1, 131074, 1507408, 1, 131074, 1507409, 1, 131074, 1507410, 1, 131074, 1507411, 1, 131074, 1507412, 1, 131074, 1507413, 1, 131074, 1507414, 1, 131074, 1507415, 1, 131074, 1507416, 1, 131074, 1507417, 1, 131074, 1507418, 1, 131074, 1507419, 1, 131074, 1507420, 1, 131074, 1507421, 1, 131074, 1507422, 1, 131074, 1507423, 1, 131075 ) +tile_data = PoolIntArray( -65485, 1, 196609, -65484, 1, 196610, -65483, 1, 196610, -65482, 1, 196611, -65480, 1, 196609, -65479, 1, 196611, -65476, 1, 196608, 131135, 1, 1, 131136, 1, 3, 131168, 1, 196608, 196625, 0, 131072, 196626, 0, 131073, 196627, 0, 131073, 196628, 0, 131073, 196629, 0, 131073, 196630, 0, 131073, 196631, 0, 131073, 196638, 0, 131073, 196639, 0, 131073, 196642, 0, 131073, 196643, 0, 131073, 196644, 0, 131073, 196645, 0, 131073, 196646, 0, 131073, 196647, 0, 131073, 196648, 0, 131073, 196649, 0, 131073, 196650, 0, 131073, 196651, 0, 131073, 196652, 0, 131073, 196653, 0, 131073, 196654, 0, 131073, 196655, 0, 131073, 196656, 0, 131073, 196657, 0, 131073, 196658, 0, 131073, 196659, 0, 131073, 196660, 0, 131073, 196663, 0, 131073, 196666, 0, 131073, 196667, 0, 131073, 196669, 0, 131073, 196670, 0, 131073, 196671, 1, 65537, 196672, 1, 65539, 196673, 0, 131073, 196676, 0, 131073, 196677, 0, 131073, 196678, 0, 131073, 196679, 0, 131073, 196680, 0, 131073, 196681, 0, 131073, 196682, 0, 131073, 196683, 0, 131073, 196684, 0, 131073, 196685, 0, 131073, 196686, 0, 131073, 196687, 0, 131073, 196688, 0, 131073, 196689, 0, 131073, 196690, 0, 131073, 196691, 0, 131073, 196692, 0, 131073, 196697, 0, 131073, 196698, 0, 131073, 196699, 0, 131073, 196700, 0, 131073, 196701, 0, 131073, 196702, 0, 131073, 196703, 0, 131073, 262162, 1, 1, 262163, 1, 196610, 262164, 1, 196610, 262165, 1, 196610, 262166, 1, 196610, 262167, 1, 196611, 262174, 1, 196609, 262175, 1, 196611, 262178, 1, 196609, 262179, 1, 196610, 262180, 1, 196610, 262181, 1, 196610, 262182, 1, 196610, 262183, 1, 196610, 262184, 1, 196610, 262185, 1, 196610, 262186, 1, 196610, 262187, 1, 196610, 262188, 1, 196610, 262189, 1, 196610, 262190, 1, 196610, 262191, 1, 196610, 262192, 1, 196610, 262193, 1, 196610, 262194, 1, 196610, 262195, 1, 196610, 262196, 1, 196611, 262199, 1, 196608, 262202, 1, 196609, 262203, 1, 196611, 262205, 1, 196609, 262206, 1, 196610, 262207, 1, 131074, 262208, 1, 131074, 262209, 1, 196611, 262212, 1, 196609, 262213, 1, 196610, 262214, 1, 196610, 262215, 1, 196610, 262216, 1, 196610, 262217, 1, 196610, 262218, 1, 196610, 262219, 1, 196610, 262220, 1, 196610, 262221, 1, 196610, 262222, 1, 196610, 262223, 1, 196610, 262224, 1, 196610, 262225, 1, 196610, 262226, 1, 196610, 262227, 1, 196610, 262228, 1, 196611, 262233, 1, 196609, 262234, 1, 196610, 262235, 1, 196610, 262236, 1, 196610, 262237, 1, 196610, 262238, 1, 196610, 262239, 1, 3, 327690, 1, 1, 327691, 1, 2, 327692, 1, 2, 327693, 1, 2, 327694, 1, 3, 327698, 1, 65536, 327767, 1, 1, 327768, 1, 3, 327775, 1, 65536, 393226, 1, 131073, 393227, 1, 131074, 393228, 1, 131074, 393229, 1, 131074, 393230, 1, 131075, 393234, 1, 65536, 393303, 1, 65537, 393304, 1, 65539, 393311, 1, 65536, 458770, 1, 65536, 458830, 1, 196609, 458831, 1, 196610, 458832, 1, 196610, 458833, 1, 196610, 458834, 1, 196610, 458835, 1, 196610, 458836, 1, 2, 458837, 1, 196610, 458838, 1, 196610, 458839, 1, 131074, 458840, 1, 131075, 458847, 1, 65536, 524306, 1, 65537, 524307, 536870913, 196610, 524308, 536870913, 196610, 524309, 536870913, 2, 524310, 536870913, 196610, 524311, 536870913, 196610, 524312, 536870913, 196610, 524313, 536870913, 196610, 524314, 536870913, 196610, 524315, 1, 196611, 524349, 1, 196609, 524350, 1, 196610, 524351, 1, 2, 524352, 1, 196610, 524353, 1, 196610, 524354, 1, 196610, 524355, 1, 196610, 524356, 1, 196611, 524365, 1, 196608, 524372, 1, 131072, 524383, 1, 65536, 589842, 1, 65536, 589845, 1, 65536, 589860, 1, 196609, 589861, 1, 196610, 589862, 1, 196610, 589863, 1, 196610, 589864, 1, 196610, 589865, 1, 196610, 589866, 1, 196610, 589867, 1, 196610, 589868, 1, 196610, 589869, 1, 196610, 589870, 1, 196610, 589871, 1, 196610, 589872, 1, 196610, 589873, 1, 196610, 589874, 1, 196611, 589878, 1, 196609, 589879, 1, 196611, 589882, 1, 196608, 589887, 1, 65536, 589919, 1, 65536, 655365, 1, 1, 655366, 1, 2, 655367, 1, 2, 655368, 1, 2, 655369, 1, 2, 655370, 1, 2, 655371, 1, 2, 655372, 1, 2, 655373, 1, 3, 655378, 1, 65536, 655381, 1, 65536, 655391, 1, 196609, 655392, 1, 196610, 655393, 1, 196611, 655423, 1, 65536, 655429, 1, 1, 655430, 1, 196610, 655431, 1, 196610, 655432, 1, 196610, 655433, 1, 196610, 655434, 1, 196610, 655435, 1, 196611, 655444, 1, 0, 655455, 1, 65536, 720901, 1, 131073, 720902, 1, 131074, 720903, 1, 131074, 720904, 1, 131074, 720905, 1, 131074, 720906, 1, 131074, 720907, 1, 131074, 720908, 1, 131074, 720909, 1, 131075, 720914, 1, 65536, 720917, 1, 65536, 720950, 1, 1, 720951, 1, 196610, 720952, 1, 196610, 720953, 1, 196610, 720954, 1, 196610, 720955, 1, 3, 720959, 1, 65536, 720965, 1, 65536, 720977, 1, 196609, 720978, 1, 196610, 720979, 1, 196610, 720980, 1, 65539, 720991, 1, 65536, 786450, 1, 65536, 786453, 1, 65536, 786486, 1, 65536, 786491, 1, 65536, 786494, 1, 196609, 786495, 1, 131075, 786499, 1, 196609, 786500, 1, 2, 786501, 1, 131075, 786510, 1, 196608, 786516, 1, 65537, 786517, 1, 196611, 786520, 1, 196609, 786521, 1, 196611, 786527, 1, 65536, 851986, 1, 65536, 851989, 1, 65536, 852015, 1, 196609, 852016, 1, 196610, 852017, 1, 196610, 852018, 1, 196611, 852022, 1, 131072, 852027, 1, 65536, 852036, 1, 65536, 852052, 1, 65536, 852063, 1, 65536, 917522, 1, 65536, 917525, 1, 131072, 917527, 1, 196609, 917528, 1, 196610, 917529, 1, 196611, 917563, 1, 131073, 917564, 1, 3, 917572, 1, 65536, 917579, 1, 0, 917582, 1, 0, 917588, 1, 65536, 917596, 1, 196609, 917597, 1, 196610, 917598, 1, 196610, 917599, 1, 65539, 983047, 1, 1, 983048, 1, 2, 983049, 536870913, 2, 983050, 536870913, 2, 983051, 536870913, 2, 983052, 536870913, 2, 983053, 536870913, 2, 983054, 536870913, 2, 983055, 536870913, 2, 983056, 536870913, 2, 983057, 1, 2, 983058, 1, 65539, 983100, 1, 131073, 983101, 1, 196611, 983108, 1, 65536, 983112, 1, 0, 983115, 1, 65536, 983118, 1, 65536, 983124, 1, 65536, 983135, 1, 65536, 1048583, 1, 131073, 1048584, 1, 131074, 1048585, 536870913, 131074, 1048586, 536870913, 131074, 1048587, 536870913, 131074, 1048588, 536870913, 131074, 1048589, 536870913, 131074, 1048590, 536870913, 131074, 1048591, 536870913, 131074, 1048592, 536870913, 131074, 1048593, 1, 131074, 1048594, 1, 65539, 1048644, 1, 65536, 1048648, 1, 131073, 1048649, 1, 196610, 1048650, 1, 196610, 1048651, 1, 131074, 1048652, 1, 196610, 1048653, 1, 196610, 1048654, 1, 131074, 1048655, 1, 196610, 1048656, 1, 196610, 1048657, 1, 196611, 1048660, 1, 131072, 1048671, 1, 65536, 1114116, 1, 1, 1114117, 1, 2, 1114118, 1, 3, 1114130, 1, 131072, 1114140, 1, 196609, 1114141, 1, 196610, 1114142, 1, 196610, 1114143, 1, 196610, 1114144, 1, 196610, 1114145, 1, 196610, 1114146, 1, 196610, 1114147, 1, 196610, 1114148, 1, 196610, 1114149, 1, 196610, 1114150, 1, 196610, 1114151, 1, 196610, 1114152, 1, 196610, 1114153, 1, 196611, 1114157, 1, 196609, 1114158, 1, 196610, 1114159, 1, 196610, 1114160, 1, 196610, 1114161, 1, 196610, 1114162, 1, 196610, 1114163, 1, 196610, 1114164, 1, 196610, 1114165, 1, 196610, 1114166, 1, 196610, 1114167, 1, 196610, 1114168, 1, 196610, 1114169, 1, 196610, 1114170, 1, 196610, 1114171, 1, 196610, 1114172, 1, 196610, 1114173, 1, 196610, 1114174, 1, 196610, 1114175, 1, 196610, 1114176, 1, 196610, 1114177, 1, 196610, 1114178, 1, 196610, 1114179, 1, 196610, 1114180, 1, 131075, 1114201, 1, 1, 1114202, 1, 196610, 1114203, 1, 196610, 1114204, 1, 196610, 1114205, 1, 196610, 1114206, 1, 196610, 1114207, 1, 65539, 1179652, 1, 131073, 1179653, 1, 131074, 1179654, 1, 131075, 1179737, 1, 131072, 1179743, 1, 65536, 1245279, 1, 65536, 1310815, 1, 65536, 1376269, 0, 65538, 1376270, 0, 65539, 1376271, 1, 1, 1376272, 1, 2, 1376273, 1, 2, 1376274, 1, 2, 1376275, 1, 2, 1376276, 536870913, 2, 1376277, 536870913, 2, 1376278, 536870913, 2, 1376279, 536870913, 2, 1376280, 1, 2, 1376281, 1, 2, 1376282, 536870913, 2, 1376283, 1, 2, 1376284, 1, 2, 1376285, 1, 2, 1376286, 1, 2, 1376287, 1, 2, 1376288, 1, 2, 1376289, 1, 2, 1376290, 1, 2, 1376291, 1, 2, 1376292, 1, 2, 1376293, 1, 2, 1376294, 1, 2, 1376295, 1, 2, 1376296, 1, 2, 1376297, 1, 2, 1376298, 1, 2, 1376299, 1, 2, 1376300, 1, 2, 1376301, 1, 2, 1376302, 1, 2, 1376303, 1, 2, 1376304, 1, 2, 1376305, 1, 2, 1376306, 1, 2, 1376307, 1, 2, 1376308, 1, 2, 1376309, 1, 2, 1376310, 1, 2, 1376311, 1, 2, 1376312, 1, 2, 1376313, 1, 2, 1376314, 1, 2, 1376315, 1, 2, 1376316, 1, 2, 1376317, 1, 2, 1376318, 1, 2, 1376319, 1, 2, 1376320, 1, 2, 1376321, 1, 2, 1376322, 1, 2, 1376323, 1, 2, 1376324, 1, 2, 1376325, 1, 2, 1376326, 1, 2, 1376327, 1, 2, 1376328, 1, 2, 1376329, 1, 2, 1376330, 1, 2, 1376331, 1, 2, 1376332, 1, 2, 1376333, 1, 2, 1376334, 1, 2, 1376335, 1, 2, 1376336, 1, 2, 1376337, 1, 2, 1376338, 1, 2, 1376339, 1, 2, 1376340, 1, 2, 1376341, 1, 2, 1376342, 1, 2, 1376343, 1, 2, 1376344, 1, 2, 1376345, 1, 2, 1376346, 1, 2, 1376347, 1, 2, 1376348, 1, 2, 1376349, 1, 2, 1376350, 1, 2, 1376351, 1, 65539, 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, 1441803, 0, 0, 1441804, 0, 0, 1441805, 1, 1, 1441806, 1, 2, 1441807, 1, 65538, 1441808, 1, 65538, 1441809, 1, 65538, 1441810, 1, 65538, 1441811, 1, 65538, 1441812, 536870913, 65538, 1441813, 536870913, 65538, 1441814, 536870913, 65538, 1441815, 536870913, 65538, 1441816, 1, 65538, 1441817, 1, 65538, 1441818, 536870913, 65538, 1441819, 1, 65538, 1441820, 1, 65538, 1441821, 1, 65538, 1441822, 1, 65538, 1441823, 1, 65538, 1441824, 1, 65538, 1441825, 1, 65538, 1441826, 1, 65538, 1441827, 1, 65538, 1441828, 1, 65538, 1441829, 1, 65538, 1441830, 1, 65538, 1441831, 1, 65538, 1441832, 1, 65538, 1441833, 1, 65538, 1441834, 1, 65538, 1441835, 1, 65538, 1441836, 1, 65538, 1441837, 1, 65538, 1441838, 1, 65538, 1441839, 1, 65538, 1441840, 1, 65538, 1441841, 1, 65538, 1441842, 1, 65538, 1441843, 1, 65538, 1441844, 1, 65538, 1441845, 1, 65538, 1441846, 1, 65538, 1441847, 1, 65538, 1441848, 1, 65538, 1441849, 1, 65538, 1441850, 1, 65538, 1441851, 1, 65538, 1441852, 1, 65538, 1441853, 1, 65538, 1441854, 1, 65538, 1441855, 1, 65538, 1441856, 1, 65538, 1441857, 1, 65538, 1441858, 1, 65538, 1441859, 1, 65538, 1441860, 1, 65538, 1441861, 1, 65538, 1441862, 1, 65538, 1441863, 1, 65538, 1441864, 1, 65538, 1441865, 1, 65538, 1441866, 1, 65538, 1441867, 1, 65538, 1441868, 1, 65538, 1441869, 1, 65538, 1441870, 1, 65538, 1441871, 1, 65538, 1441872, 1, 65538, 1441873, 1, 65538, 1441874, 1, 65538, 1441875, 1, 65538, 1441876, 1, 65538, 1441877, 1, 65538, 1441878, 1, 65538, 1441879, 1, 65538, 1441880, 1, 65538, 1441881, 1, 65538, 1441882, 1, 65538, 1441883, 1, 65538, 1441884, 1, 65538, 1441885, 1, 65538, 1441886, 1, 65538, 1441887, 1, 65539, 1507328, 536870913, 196609, 1507329, 536870913, 196610, 1507330, 536870913, 196610, 1507331, 536870913, 196610, 1507332, 536870913, 196610, 1507333, 536870913, 196610, 1507334, 536870913, 196610, 1507335, 536870913, 196610, 1507336, 536870913, 196610, 1507337, 536870913, 196610, 1507338, 536870913, 196610, 1507339, 536870913, 196610, 1507340, 536870913, 196610, 1507341, 536870913, 131074, 1507342, 536870913, 131074, 1507343, 1, 131074, 1507344, 1, 131074, 1507345, 1, 131074, 1507346, 1, 131074, 1507347, 536870913, 131074, 1507348, 536870913, 131074, 1507349, 536870913, 131074, 1507350, 536870913, 131074, 1507351, 536870913, 131074, 1507352, 536870913, 131074, 1507353, 536870913, 131074, 1507354, 536870913, 131074, 1507355, 536870913, 131074, 1507356, 1, 131074, 1507357, 1, 131074, 1507358, 1, 131074, 1507359, 1, 131074, 1507360, 1, 131074, 1507361, 1, 131074, 1507362, 1, 131074, 1507363, 1, 131074, 1507364, 1, 131074, 1507365, 1, 131074, 1507366, 1, 131074, 1507367, 1, 131074, 1507368, 1, 131074, 1507369, 1, 131074, 1507370, 1, 131074, 1507371, 1, 131074, 1507372, 1, 131074, 1507373, 1, 131074, 1507374, 1, 131074, 1507375, 1, 131074, 1507376, 1, 131074, 1507377, 1, 131074, 1507378, 1, 131074, 1507379, 1, 131074, 1507380, 1, 131074, 1507381, 1, 131074, 1507382, 1, 131074, 1507383, 1, 131074, 1507384, 1, 131074, 1507385, 1, 131074, 1507386, 1, 131074, 1507387, 1, 131074, 1507388, 1, 131074, 1507389, 1, 131074, 1507390, 1, 131074, 1507391, 1, 131074, 1507392, 1, 131074, 1507393, 1, 131074, 1507394, 1, 131074, 1507395, 1, 131074, 1507396, 1, 131074, 1507397, 1, 131074, 1507398, 1, 131074, 1507399, 1, 131074, 1507400, 1, 131074, 1507401, 1, 131074, 1507402, 1, 131074, 1507403, 1, 131074, 1507404, 1, 131074, 1507405, 1, 131074, 1507406, 1, 131074, 1507407, 1, 131074, 1507408, 1, 131074, 1507409, 1, 131074, 1507410, 1, 131074, 1507411, 1, 131074, 1507412, 1, 131074, 1507413, 1, 131074, 1507414, 1, 131074, 1507415, 1, 131074, 1507416, 1, 131074, 1507417, 1, 131074, 1507418, 1, 131074, 1507419, 1, 131074, 1507420, 1, 131074, 1507421, 1, 131074, 1507422, 1, 131074, 1507423, 1, 131075 ) [node name="Player" parent="." instance=ExtResource( 2 )] position = Vector2( 39.0418, 166 ) @@ -90,54 +91,37 @@ position = Vector2( 200, 104 ) turn_time = inf [node name="Cop9" parent="Enemies" instance=ExtResource( 10 )] -position = Vector2( 408, 160 ) -left_boundary = 6.0 - -[node name="Cop12" parent="Enemies" instance=ExtResource( 10 )] -position = Vector2( 808, 144 ) -left_boundary = 6.0 -right_boundary = 6.0 -turn_time = inf +position = Vector2( 400, 160 ) +left_boundary = 5.0 [node name="Cop11" parent="Enemies" instance=ExtResource( 10 )] position = Vector2( 384, 128 ) left_boundary = 3.0 -right_boundary = 3.0 -turn_time = inf +right_boundary = 2.0 [node name="Cop10" parent="Enemies" instance=ExtResource( 10 )] position = Vector2( 616, 160 ) right_boundary = 9.0 [node name="Cop6" parent="Enemies" instance=ExtResource( 10 )] -position = Vector2( 176, 56 ) -left_boundary = 3.0 -right_boundary = 5.0 +position = Vector2( 184, 56 ) +left_boundary = 4.0 +right_boundary = 4.0 [node name="Cop4" parent="Enemies" instance=ExtResource( 10 )] position = Vector2( 592, 72 ) left_boundary = 5.0 right_boundary = 2.0 -[node name="Cop8" parent="Enemies" instance=ExtResource( 10 )] -position = Vector2( 824, 136 ) -left_boundary = 5.0 -right_boundary = 2.0 - -[node name="Cop5" parent="Enemies" instance=ExtResource( 10 )] -position = Vector2( 640, 48 ) -left_boundary = 2.0 -right_boundary = 11.0 - [node name="Cop7" parent="Enemies" instance=ExtResource( 10 )] position = Vector2( 352, 19 ) -left_boundary = 3.0 +left_boundary = 8.0 [node name="LaserWall" parent="Enemies" instance=ExtResource( 15 )] position = Vector2( 336, 40 ) left_up_boundary = 5.0 -right_down_boundary = 10.0 -speed = 50 +right_down_boundary = 6.0 +speed = 25 off_time = 2.0 on_time = 2.0 @@ -145,7 +129,7 @@ on_time = 2.0 position = Vector2( 456, 88 ) scale = Vector2( 1, -1 ) left_up_boundary = 3.0 -right_down_boundary = 4.0 +right_down_boundary = 3.0 speed = 50 off_time = 0.0 on_time = inf @@ -156,6 +140,17 @@ left_up_boundary = 4.0 right_down_boundary = 6.0 speed = 50 +[node name="LaserWall7" parent="Enemies" instance=ExtResource( 15 )] +position = Vector2( 188, 120 ) +speed = 0 +off_time = 0.5 + +[node name="LaserWall8" parent="Enemies" instance=ExtResource( 15 )] +position = Vector2( 408, 40 ) +speed = 0 +off_time = 0.7 +on_time = 0.7 + [node name="LaserWall2" parent="Enemies" instance=ExtResource( 15 )] position = Vector2( 760, 88 ) rotation = 1.5708 @@ -174,22 +169,11 @@ on_time = inf position = Vector2( 520, 24 ) rotation = -1.5708 move_direction = 1 -off_time = 5.0 - -[node name="Tin" parent="Enemies" instance=ExtResource( 16 )] -position = Vector2( 424, 80 ) -up_boundary = 1.0 -down_boundary = 2.0 +off_time = 4.0 [node name="Tin2" parent="Enemies" instance=ExtResource( 16 )] position = Vector2( 528, 96 ) -up_boundary = 3.0 -down_boundary = 1.0 -speed = 20 - -[node name="Tin3" parent="Enemies" instance=ExtResource( 16 )] -position = Vector2( 816, 104 ) -up_boundary = 3.0 +up_boundary = 2.0 down_boundary = 1.0 speed = 20 @@ -255,6 +239,11 @@ target_group = "cell" position = Vector2( 740, 158 ) scale = Vector2( -1, 1 ) +[node name="Barrier" parent="Environment" instance=ExtResource( 23 )] +position = Vector2( 434, 112 ) +scale = Vector2( 1, 24 ) +cost = 25 + [node name="Collectibles" type="Node2D" parent="."] [node name="Star" parent="Collectibles" instance=ExtResource( 11 )] @@ -268,16 +257,31 @@ color = 2 position = Vector2( 104, 72 ) [node name="Arrow2" parent="Collectibles" instance=ExtResource( 13 )] -position = Vector2( 159, 56 ) +position = Vector2( 168, 16 ) [node name="Arrow4" parent="Collectibles" instance=ExtResource( 13 )] position = Vector2( 184, 104 ) -[node name="Arrow3" parent="Collectibles" instance=ExtResource( 13 )] -position = Vector2( 760, 16 ) - [node name="Arrow5" parent="Collectibles" instance=ExtResource( 13 )] -position = Vector2( 296, 16 ) +position = Vector2( 368, 16 ) + +[node name="Arrow6" parent="Collectibles" instance=ExtResource( 13 )] +position = Vector2( 456, 128 ) + +[node name="Arrow8" parent="Collectibles" instance=ExtResource( 13 )] +position = Vector2( 464, 128 ) + +[node name="Arrow9" parent="Collectibles" instance=ExtResource( 13 )] +position = Vector2( 648, 120 ) + +[node name="Arrow10" parent="Collectibles" instance=ExtResource( 13 )] +position = Vector2( 544, 56 ) + +[node name="Arrow7" parent="Collectibles" instance=ExtResource( 13 )] +position = Vector2( 448, 128 ) + +[node name="Arrow11" parent="Collectibles" instance=ExtResource( 13 )] +position = Vector2( 440, 128 ) [node name="Shard" parent="Collectibles" instance=ExtResource( 19 )] position = Vector2( 568, 16 ) @@ -318,7 +322,7 @@ position = Vector2( 112, 32 ) position = Vector2( 152, 16 ) [node name="Gold13" parent="Collectibles" instance=ExtResource( 20 )] -position = Vector2( 464, 128 ) +position = Vector2( 496, 128 ) [node name="Gold14" parent="Collectibles" instance=ExtResource( 20 )] position = Vector2( 184, 16 ) @@ -327,13 +331,13 @@ position = Vector2( 184, 16 ) position = Vector2( 216, 56 ) [node name="Gold16" parent="Collectibles" instance=ExtResource( 20 )] -position = Vector2( 288, 56 ) +position = Vector2( 288, 64 ) [node name="Gold20" parent="Collectibles" instance=ExtResource( 20 )] position = Vector2( 224, 128 ) [node name="Gold21" parent="Collectibles" instance=ExtResource( 20 )] -position = Vector2( 248, 128 ) +position = Vector2( 496, 88 ) [node name="Gold22" parent="Collectibles" instance=ExtResource( 20 )] position = Vector2( 272, 128 ) @@ -342,7 +346,7 @@ position = Vector2( 272, 128 ) position = Vector2( 568, 160 ) [node name="Gold24" parent="Collectibles" instance=ExtResource( 20 )] -position = Vector2( 312, 120 ) +position = Vector2( 312, 128 ) [node name="Gold25" parent="Collectibles" instance=ExtResource( 20 )] position = Vector2( 440, 64 ) @@ -351,7 +355,7 @@ position = Vector2( 440, 64 ) position = Vector2( 472, 16 ) [node name="Gold27" parent="Collectibles" instance=ExtResource( 20 )] -position = Vector2( 472, 64 ) +position = Vector2( 464, 64 ) [node name="Gold28" parent="Collectibles" instance=ExtResource( 20 )] position = Vector2( 520, 160 ) @@ -366,7 +370,7 @@ position = Vector2( 576, 112 ) position = Vector2( 600, 104 ) [node name="Gold42" parent="Collectibles" instance=ExtResource( 20 )] -position = Vector2( 624, 96 ) +position = Vector2( 624, 88 ) [node name="Gold43" parent="Collectibles" instance=ExtResource( 20 )] position = Vector2( 152, 160 ) @@ -396,19 +400,19 @@ position = Vector2( 440, 160 ) position = Vector2( 576, 72 ) [node name="Gold33" parent="Collectibles" instance=ExtResource( 20 )] -position = Vector2( 616, 56 ) +position = Vector2( 640, 16 ) [node name="Gold34" parent="Collectibles" instance=ExtResource( 20 )] position = Vector2( 632, 48 ) [node name="Gold35" parent="Collectibles" instance=ExtResource( 20 )] -position = Vector2( 656, 48 ) +position = Vector2( 672, 48 ) [node name="Gold36" parent="Collectibles" instance=ExtResource( 20 )] -position = Vector2( 688, 48 ) +position = Vector2( 720, 16 ) [node name="Gold37" parent="Collectibles" instance=ExtResource( 20 )] -position = Vector2( 712, 48 ) +position = Vector2( 592, 16 ) [node name="Gold29" parent="Collectibles" instance=ExtResource( 20 )] position = Vector2( 528, 56 ) @@ -417,13 +421,13 @@ position = Vector2( 528, 56 ) position = Vector2( 440, 16 ) [node name="Gold17" parent="Collectibles" instance=ExtResource( 20 )] -position = Vector2( 320, 56 ) +position = Vector2( 320, 64 ) [node name="Gold18" parent="Collectibles" instance=ExtResource( 20 )] -position = Vector2( 352, 56 ) +position = Vector2( 352, 64 ) [node name="Gold19" parent="Collectibles" instance=ExtResource( 20 )] -position = Vector2( 384, 56 ) +position = Vector2( 384, 64 ) [node name="Gold11" parent="Collectibles" instance=ExtResource( 20 )] position = Vector2( 392, 16 ) @@ -432,7 +436,7 @@ position = Vector2( 392, 16 ) position = Vector2( 64, 72 ) [node name="Gold8" parent="Collectibles" instance=ExtResource( 20 )] -position = Vector2( 496, 128 ) +position = Vector2( 480, 104 ) [node name="Gold4" parent="Collectibles" instance=ExtResource( 20 )] position = Vector2( 664, 160 ) diff --git a/objects/player/player.gd b/objects/player/player.gd index aea62f6..1f3b38a 100644 --- a/objects/player/player.gd +++ b/objects/player/player.gd @@ -111,6 +111,9 @@ func _physics_process(delta): if Debug.cfox_mode == true: anims.play("idle") anims.set_speed_scale(0) + #Infinite arrows + if Debug.infinite_arrows == true: + Game.arrows = 99 func _process_idle(): if anims.get_current_animation() != "idle": anims.play("idle")