diff --git a/assets/Audio/SFX/mask_fire.wav b/assets/Audio/SFX/mask_fire.wav new file mode 100644 index 0000000..26bf24e Binary files /dev/null and b/assets/Audio/SFX/mask_fire.wav differ diff --git a/assets/Audio/SFX/mask_fire.wav.import b/assets/Audio/SFX/mask_fire.wav.import new file mode 100644 index 0000000..6d24908 --- /dev/null +++ b/assets/Audio/SFX/mask_fire.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/mask_fire.wav-58287c49aa70a9ad1c6b6fde9e25da71.sample" + +[deps] + +source_file="res://assets/Audio/SFX/mask_fire.wav" +dest_files=[ "res://.import/mask_fire.wav-58287c49aa70a9ad1c6b6fde9e25da71.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop=false +compress/mode=0 diff --git a/assets/Items/orb.png b/assets/Items/orb.png new file mode 100644 index 0000000..df4c85a Binary files /dev/null and b/assets/Items/orb.png differ diff --git a/assets/Items/orb.png.import b/assets/Items/orb.png.import new file mode 100644 index 0000000..6e7cf0e --- /dev/null +++ b/assets/Items/orb.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/orb.png-7d062b1b1b0d571163241b14b5867c2b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/Items/orb.png" +dest_files=[ "res://.import/orb.png-7d062b1b1b0d571163241b14b5867c2b.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/src/Actors/Player.gd b/src/Actors/Player.gd index 86a76d6..362240a 100644 --- a/src/Actors/Player.gd +++ b/src/Actors/Player.gd @@ -344,4 +344,7 @@ func set_position(pos:Vector2): _falling_start_position = pos.y func boost(velocity:Vector2): + if _state == States.DASHING: + _on_DashTimeout_timeout(false) + # _velocity = Vector2.ZERO _boost_velocity = velocity diff --git a/src/GameWorld/GameWorld.gd b/src/GameWorld/GameWorld.gd index f4269d4..a035ac3 100644 --- a/src/GameWorld/GameWorld.gd +++ b/src/GameWorld/GameWorld.gd @@ -20,9 +20,7 @@ var _level_resources := { } var _levels = [ - [_level_resources.pre_game, _level_resources.hub], - [_level_resources.zones[1][0]], - [load("res://src/GameWorld/Levels/FirstLevels/TMP2.tscn")] + [_level_resources.pre_game, _level_resources.zones[1][0]], ] diff --git a/src/GameWorld/Levels/Area1/Area11.tscn b/src/GameWorld/Levels/Area1/Area11.tscn index 9e37cf8..c8359dc 100644 --- a/src/GameWorld/Levels/Area1/Area11.tscn +++ b/src/GameWorld/Levels/Area1/Area11.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=16 format=2] +[gd_scene load_steps=17 format=2] [ext_resource path="res://src/GameWorld/Levels/Area1/Area11.gd" type="Script" id=1] [ext_resource path="res://src/GameWorld/AmbiantLighting.tscn" type="PackedScene" id=2] @@ -15,6 +15,7 @@ [ext_resource path="res://src/Hazards/MaskTrap.tscn" type="PackedScene" id=13] [ext_resource path="res://src/Items/Spring.tscn" type="PackedScene" id=14] [ext_resource path="res://src/Hazards/Stomp.tscn" type="PackedScene" id=15] +[ext_resource path="res://src/Items/BrakableVase.tscn" type="PackedScene" id=16] [node name="Area11" type="Node2D"] script = ExtResource( 1 ) @@ -57,7 +58,7 @@ collision_layer = 8 tile_data = PoolIntArray( -851971, 0, 0, -851970, 0, 131076, -851969, 0, 131076, -917504, 0, 131076, -917503, 0, 131076, -917502, 0, 1, -917501, 0, 131076, -917500, 0, 1, -917499, 0, 131076, -917498, 0, 131076, -917497, 0, 1, -917496, 0, 131076, -917495, 0, 131076, -917494, 0, 1, -917493, 0, 131076, -917492, 0, 1, -917491, 0, 131076, -917490, 0, 1, -917489, 0, 131076, -917488, 0, 131076, -917487, 0, 1, -917486, 0, 131076, -917485, 0, 1, -917484, 0, 1, -917483, 0, 131076, -917482, 0, 1, -917481, 0, 1, -917480, 0, 1, -917479, 0, 131076, -917478, 0, 131076, -917477, 0, 131076, -917476, 0, 1, -917475, 0, 131076, -917474, 0, 2, -786435, 0, 65541, -786434, 0, 65537, -786433, 0, 65537, -851968, 0, 65537, -851967, 0, 65537, -851966, 0, 65537, -851965, 0, 65537, -851964, 0, 65537, -851963, 0, 65537, -851962, 0, 65537, -851961, 0, 65537, -851960, 0, 65537, -851959, 0, 65537, -851958, 0, 65537, -851957, 0, 65537, -851956, 0, 65537, -851955, 0, 65537, -851954, 0, 65537, -851953, 0, 65537, -851952, 0, 65537, -851951, 0, 65537, -851950, 0, 65537, -851949, 0, 65537, -851948, 0, 65537, -851947, 0, 65537, -851946, 0, 65537, -851945, 0, 65537, -851944, 0, 65537, -851943, 0, 65537, -851942, 0, 65537, -851941, 0, 65537, -851940, 0, 65537, -851939, 0, 65537, -851938, 0, 65538, -720899, 0, 65536, -720898, 0, 65537, -720897, 0, 65537, -786432, 0, 65537, -786431, 0, 65537, -786430, 0, 65537, -786429, 0, 65537, -786428, 0, 65537, -786427, 0, 65537, -786426, 0, 65537, -786425, 0, 65537, -786424, 0, 65537, -786423, 0, 65537, -786422, 0, 65537, -786421, 0, 65537, -786420, 0, 65537, -786419, 0, 65537, -786418, 0, 65537, -786417, 0, 65537, -786416, 0, 65537, -786415, 0, 65537, -786414, 0, 65537, -786413, 0, 65537, -786412, 0, 65537, -786411, 0, 65537, -786410, 0, 65537, -786409, 0, 65537, -786408, 0, 65537, -786407, 0, 65537, -786406, 0, 65537, -786405, 0, 65537, -786404, 0, 65537, -786403, 0, 65537, -786402, 0, 65539, -655363, 0, 65536, -655362, 0, 65537, -655361, 0, 65537, -720896, 0, 65537, -720895, 0, 65537, -720894, 0, 65537, -720893, 0, 65537, -720892, 0, 65537, -720891, 0, 65537, -720890, 0, 65537, -720889, 0, 65537, -720888, 0, 65537, -720887, 0, 65537, -720886, 0, 65537, -720885, 0, 65537, -720884, 0, 65537, -720883, 0, 65537, -720882, 0, 65537, -720881, 0, 65537, -720880, 0, 65537, -720879, 0, 65537, -720878, 0, 65537, -720877, 0, 65537, -720876, 0, 65537, -720875, 0, 65537, -720874, 0, 65537, -720873, 0, 65537, -720872, 0, 65537, -720871, 0, 65537, -720870, 0, 65537, -720869, 0, 65537, -720868, 0, 65537, -720867, 0, 65537, -720866, 0, 65539, -589827, 0, 65536, -589826, 0, 65537, -589825, 0, 65537, -655360, 0, 65537, -655359, 0, 65537, -655358, 0, 65537, -655357, 0, 65537, -655356, 0, 65537, -655355, 0, 65537, -655354, 0, 65537, -655353, 0, 65537, -655352, 0, 65537, -655351, 0, 65537, -655350, 0, 65537, -655349, 0, 65537, -655348, 0, 65537, -655347, 0, 65537, -655346, 0, 65537, -655345, 0, 65537, -655344, 0, 65537, -655343, 0, 65537, -655342, 0, 65537, -655341, 0, 65537, -655340, 0, 65537, -655339, 0, 65537, -655338, 0, 65537, -655337, 0, 65537, -655336, 0, 65537, -655335, 0, 65537, -655334, 0, 65537, -655333, 0, 65537, -655332, 0, 65537, -655331, 0, 65537, -655330, 0, 65539, -524291, 0, 65536, -524290, 0, 65537, -524289, 0, 65537, -589824, 0, 65537, -589823, 0, 65537, -589822, 0, 65537, -589821, 0, 65537, -589820, 0, 65537, -589819, 0, 65537, -589818, 0, 65537, -589817, 0, 65537, -589816, 0, 65537, -589815, 0, 65537, -589814, 0, 65537, -589813, 0, 65537, -589812, 0, 65537, -589811, 0, 65537, -589810, 0, 65537, -589809, 0, 65537, -589808, 0, 65537, -589807, 0, 65537, -589806, 0, 65537, -589805, 0, 65537, -589804, 0, 65537, -589803, 0, 65537, -589802, 0, 65537, -589801, 0, 65537, -589800, 0, 65537, -589799, 0, 65537, -589798, 0, 65537, -589797, 0, 65537, -589796, 0, 65537, -589795, 0, 65537, -589794, 0, 65538, -458755, 0, 65541, -458754, 0, 65537, -458753, 0, 65537, -524288, 0, 65537, -524287, 0, 65537, -524286, 0, 65537, -524285, 0, 65537, -524284, 0, 65537, -524283, 0, 65537, -524282, 0, 65537, -524281, 0, 65537, -524280, 0, 65537, -524279, 0, 65537, -524278, 0, 65537, -524277, 0, 65537, -524276, 0, 65537, -524275, 0, 65537, -524274, 0, 65537, -524273, 0, 65537, -524272, 0, 65537, -524271, 0, 65537, -524270, 0, 65537, -524269, 0, 65537, -524268, 0, 65537, -524267, 0, 65537, -524266, 0, 65537, -524265, 0, 65537, -524264, 0, 65537, -524263, 0, 65537, -524262, 0, 65537, -524261, 0, 65537, -524260, 0, 65537, -524259, 0, 65537, -524258, 0, 65538, -393219, 0, 65541, -393218, 0, 65537, -393217, 0, 65537, -458752, 0, 65537, -458751, 0, 65537, -458750, 0, 65537, -458749, 0, 65537, -458748, 0, 65537, -458747, 0, 65537, -458746, 0, 65537, -458745, 0, 65537, -458744, 0, 65537, -458743, 0, 65537, -458742, 0, 65537, -458741, 0, 65537, -458740, 0, 65537, -458739, 0, 65537, -458738, 0, 65537, -458737, 0, 65537, -458736, 0, 65537, -458735, 0, 65537, -458734, 0, 65537, -458733, 0, 65537, -458732, 0, 65537, -458731, 0, 65537, -458730, 0, 65537, -458729, 0, 65537, -458728, 0, 65537, -458727, 0, 65537, -458726, 0, 65537, -458725, 0, 65537, -458724, 0, 65537, -458723, 0, 65537, -458722, 0, 65539, -327683, 0, 65541, -327682, 0, 65537, -327681, 0, 65537, -393216, 0, 65537, -393215, 0, 65537, -393214, 0, 65537, -393213, 0, 65537, -393212, 0, 65537, -393211, 0, 65537, -393210, 0, 65537, -393209, 0, 65537, -393208, 0, 65537, -393207, 0, 65537, -393206, 0, 65537, -393205, 0, 65537, -393204, 0, 65537, -393203, 0, 65537, -393202, 0, 65537, -393201, 0, 65537, -393200, 0, 65537, -393199, 0, 65537, -393198, 0, 65537, -393197, 0, 65537, -393196, 0, 65537, -393195, 0, 65537, -393194, 0, 65537, -393193, 0, 65537, -393192, 0, 65537, -393191, 0, 65537, -393190, 0, 65537, -393189, 0, 65537, -393188, 0, 65537, -393187, 0, 65537, -393186, 0, 65539, -262147, 0, 65536, -262146, 0, 65537, -262145, 0, 65537, -327680, 0, 65537, -327679, 0, 3, -327678, 0, 131073, -327677, 0, 131073, -327676, 0, 131073, -327675, 0, 131073, -327674, 0, 4, -327673, 0, 131073, -327672, 0, 4, -327671, 0, 131073, -327670, 0, 5, -327669, 0, 65537, -327668, 0, 65537, -327667, 0, 65537, -327666, 0, 65537, -327665, 0, 65537, -327664, 0, 65537, -327663, 0, 65537, -327662, 0, 65537, -327661, 0, 65537, -327660, 0, 65537, -327659, 0, 65537, -327658, 0, 65537, -327657, 0, 65537, -327656, 0, 65537, -327655, 0, 65537, -327654, 0, 65537, -327653, 0, 65537, -327652, 0, 65537, -327651, 0, 65537, -327650, 0, 65539, -196611, 0, 65536, -196610, 0, 65537, -196609, 0, 65537, -262144, 0, 65537, -262143, 0, 65539, -262134, 0, 65536, -262133, 0, 65537, -262132, 0, 65537, -262131, 0, 65537, -262130, 0, 65537, -262129, 0, 65537, -262128, 0, 65537, -262127, 0, 65537, -262126, 0, 65537, -262125, 0, 65537, -262124, 0, 65537, -262123, 0, 65537, -262122, 0, 65537, -262121, 0, 65537, -262120, 0, 65537, -262119, 0, 65537, -262118, 0, 65537, -262117, 0, 65537, -262116, 0, 65537, -262115, 0, 65537, -262114, 0, 65539, -131075, 0, 131072, -131074, 0, 131073, -131073, 0, 4, -196608, 0, 131073, -196607, 0, 131074, -196598, 0, 65536, -196597, 0, 65537, -196596, 0, 65537, -196595, 0, 65537, -196594, 0, 65537, -196593, 0, 65537, -196592, 0, 65537, -196591, 0, 65537, -196590, 0, 65537, -196589, 0, 65537, -196588, 0, 65537, -196587, 0, 65537, -196586, 0, 65537, -196585, 0, 65537, -196584, 0, 65537, -196583, 0, 65537, -196582, 0, 65537, -196581, 0, 65537, -196580, 0, 65537, -196579, 0, 65537, -196578, 0, 65539, -131062, 0, 65536, -131061, 0, 65537, -131060, 0, 65537, -131059, 0, 65537, -131058, 0, 65537, -131057, 0, 65537, -131056, 0, 65537, -131055, 0, 65537, -131054, 0, 65537, -131053, 0, 65537, -131052, 0, 65537, -131051, 0, 65537, -131050, 0, 65537, -131049, 0, 65537, -131048, 0, 65537, -131047, 0, 65537, -131046, 0, 65537, -131045, 0, 65537, -131044, 0, 65537, -131043, 0, 65537, -131042, 0, 65539, -65533, 0, 0, -65532, 0, 1, -65531, 0, 131076, -65530, 0, 131076, -65529, 0, 131076, -65528, 0, 1, -65527, 0, 1, -65526, 0, 131077, -65525, 0, 65537, -65524, 0, 65537, -65523, 0, 65537, -65522, 0, 65537, -65521, 0, 65537, -65520, 0, 65537, -65519, 0, 65537, -65518, 0, 65537, -65517, 0, 65537, -65516, 0, 65537, -65515, 0, 65537, -65514, 0, 65537, -65513, 0, 65537, -65512, 0, 65537, -65511, 0, 65537, -65510, 0, 65537, -65509, 0, 65537, -65508, 0, 65537, -65507, 0, 65537, -65506, 0, 65539, 65533, 0, 0, 65534, 0, 131076, 65535, 0, 131076, 0, 0, 2, 3, 0, 65536, 4, 0, 3, 5, 0, 131073, 6, 0, 4, 7, 0, 131073, 8, 0, 131073, 9, 0, 4, 10, 0, 5, 11, 0, 65537, 12, 0, 65537, 13, 0, 65537, 14, 0, 65537, 15, 0, 65537, 16, 0, 65537, 17, 0, 65537, 18, 0, 65537, 19, 0, 65537, 20, 0, 65537, 21, 0, 65537, 22, 0, 65537, 23, 0, 65537, 24, 0, 65537, 25, 0, 65537, 26, 0, 65537, 27, 0, 65537, 28, 0, 65537, 29, 0, 65537, 30, 0, 65539, 131069, 0, 65541, 131070, 0, 65537, 131071, 0, 65537, 65536, 0, 65539, 65539, 0, 65536, 65540, 0, 65538, 65546, 0, 65541, 65547, 0, 65537, 65548, 0, 65537, 65549, 0, 65537, 65550, 0, 65537, 65551, 0, 65537, 65552, 0, 65537, 65553, 0, 65537, 65554, 0, 65537, 65555, 0, 65537, 65556, 0, 65537, 65557, 0, 65537, 65558, 0, 65537, 65559, 0, 65537, 65560, 0, 65537, 65561, 0, 65537, 65562, 0, 65537, 65563, 0, 65537, 65564, 0, 65537, 65565, 0, 65537, 65566, 0, 131075, 65567, 0, 131076, 65568, 0, 131076, 65569, 0, 131076, 65570, 0, 131076, 65571, 0, 131076, 65572, 0, 1, 65573, 0, 2, 196605, 0, 65541, 196606, 0, 65537, 196607, 0, 65537, 131072, 0, 65539, 131075, 0, 65541, 131076, 0, 65538, 131082, 0, 65536, 131083, 0, 65537, 131084, 0, 65537, 131085, 0, 65537, 131086, 0, 65537, 131087, 0, 65537, 131088, 0, 65537, 131089, 0, 65537, 131090, 0, 65537, 131091, 0, 65537, 131092, 0, 65537, 131093, 0, 65537, 131094, 0, 65537, 131095, 0, 65537, 131096, 0, 65537, 131097, 0, 65537, 131098, 0, 65537, 131099, 0, 65537, 131100, 0, 65537, 131101, 0, 65537, 131102, 0, 65537, 131103, 0, 65537, 131104, 0, 65537, 131105, 0, 65537, 131106, 0, 65537, 131107, 0, 65537, 131108, 0, 65537, 131109, 0, 65538, 262141, 0, 65536, 262142, 0, 65537, 262143, 0, 65537, 196608, 0, 65539, 196611, 0, 65536, 196612, 0, 131075, 196613, 0, 1, 196614, 0, 131076, 196615, 0, 1, 196616, 0, 2, 196618, 0, 131072, 196619, 0, 4, 196620, 0, 131073, 196621, 0, 5, 196622, 0, 65537, 196623, 0, 65537, 196624, 0, 65537, 196625, 0, 65537, 196626, 0, 65537, 196627, 0, 65537, 196628, 0, 65537, 196629, 0, 65537, 196630, 0, 65537, 196631, 0, 65537, 196632, 0, 65537, 196633, 0, 65537, 196634, 0, 65537, 196635, 0, 65537, 196636, 0, 65537, 196637, 0, 65537, 196638, 0, 65537, 196639, 0, 65537, 196640, 0, 65537, 196641, 0, 65537, 196642, 0, 65537, 196643, 0, 65537, 196644, 0, 65537, 196645, 0, 65539, 327677, 0, 65541, 327678, 0, 65537, 327679, 0, 65537, 262144, 0, 65539, 262147, 0, 65536, 262148, 0, 3, 262149, 0, 131073, 262150, 0, 131073, 262151, 0, 4, 262152, 0, 131074, 262157, 0, 65536, 262158, 0, 65537, 262159, 0, 65537, 262160, 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, 3, 262169, 0, 131073, 262170, 0, 131073, 262171, 0, 4, 262172, 0, 4, 262173, 0, 4, 262174, 0, 4, 262175, 0, 131073, 262176, 0, 5, 262177, 0, 65537, 262178, 0, 65537, 262179, 0, 65537, 262180, 0, 65537, 262181, 0, 65539, 393213, 0, 65536, 393214, 0, 65537, 393215, 0, 65537, 327680, 0, 65538, 327683, 0, 65541, 327684, 0, 65539, 327693, 0, 65536, 327694, 0, 65537, 327695, 0, 65537, 327696, 0, 65537, 327697, 0, 65537, 327698, 0, 65537, 327699, 0, 65537, 327700, 0, 65537, 327701, 0, 65537, 327702, 0, 65537, 327703, 0, 65537, 327704, 0, 65538, 327712, 0, 131072, 327713, 0, 4, 327714, 0, 5, 327715, 0, 65537, 327716, 0, 65537, 327717, 0, 131075, 327718, 0, 1, 327719, 0, 131076, 327720, 0, 2, 458749, 0, 65541, 458750, 0, 65537, 458751, 0, 65537, 393216, 0, 65539, 393219, 0, 65541, 393220, 0, 65539, 393226, 0, 0, 393227, 0, 1, 393228, 0, 1, 393229, 0, 131077, 393230, 0, 65537, 393231, 0, 65537, 393232, 0, 65537, 393233, 0, 65537, 393234, 0, 65537, 393235, 0, 65537, 393236, 0, 65537, 393237, 0, 65537, 393238, 0, 65537, 393239, 0, 65537, 393240, 0, 65539, 393250, 0, 65541, 393251, 0, 65537, 393252, 0, 65537, 393253, 0, 65537, 393254, 0, 65537, 393255, 0, 65537, 393256, 0, 65538, 524285, 0, 65536, 524286, 0, 65537, 524287, 0, 65537, 458752, 0, 65538, 458755, 0, 65541, 458756, 0, 131075, 458757, 0, 1, 458758, 0, 1, 458759, 0, 131076, 458760, 0, 1, 458761, 0, 131076, 458762, 0, 131077, 458763, 0, 65537, 458764, 0, 65537, 458765, 0, 65537, 458766, 0, 65537, 458767, 0, 65537, 458768, 0, 65537, 458769, 0, 65537, 458770, 0, 65537, 458771, 0, 65537, 458772, 0, 65537, 458773, 0, 65537, 458774, 0, 65537, 458775, 0, 65537, 458776, 0, 131075, 458777, 0, 131076, 458778, 0, 1, 458779, 0, 1, 458780, 0, 1, 458781, 0, 1, 458782, 0, 131076, 458783, 0, 2, 458786, 0, 131072, 458787, 0, 131073, 458788, 0, 4, 458789, 0, 4, 458790, 0, 4, 458791, 0, 131073, 458792, 0, 131074, 589821, 0, 65536, 589822, 0, 65537, 589823, 0, 65537, 524288, 0, 65539, 524291, 0, 131072, 524292, 0, 5, 524293, 0, 65537, 524294, 0, 65537, 524295, 0, 65537, 524296, 0, 65537, 524297, 0, 65537, 524298, 0, 65537, 524299, 0, 65537, 524300, 0, 65537, 524301, 0, 65537, 524302, 0, 65537, 524303, 0, 65537, 524304, 0, 65537, 524305, 0, 65537, 524306, 0, 65537, 524307, 0, 65537, 524308, 0, 65537, 524309, 0, 65537, 524310, 0, 65537, 524311, 0, 65537, 524312, 0, 65537, 524313, 0, 65537, 524314, 0, 65537, 524315, 0, 65537, 524316, 0, 65537, 524317, 0, 65537, 524318, 0, 65537, 524319, 0, 65538, 655357, 0, 65536, 655358, 0, 65537, 655359, 0, 65537, 589824, 0, 65539, 589828, 0, 65536, 589829, 0, 65537, 589830, 0, 65537, 589831, 0, 65537, 589832, 0, 65537, 589833, 0, 65537, 589834, 0, 65537, 589835, 0, 65537, 589836, 0, 65537, 589837, 0, 65537, 589838, 0, 65537, 589839, 0, 65537, 589840, 0, 65537, 589841, 0, 65537, 589842, 0, 65537, 589843, 0, 65537, 589844, 0, 65537, 589845, 0, 65537, 589846, 0, 65537, 589847, 0, 65537, 589848, 0, 65537, 589849, 0, 65537, 589850, 0, 65537, 589851, 0, 65537, 589852, 0, 65537, 589853, 0, 65537, 589854, 0, 65537, 589855, 0, 65538, 720893, 0, 65541, 720894, 0, 65537, 720895, 0, 65537, 655360, 0, 65539, 655364, 0, 65541, 655365, 0, 65537, 655366, 0, 65537, 655367, 0, 65537, 655368, 0, 65537, 655369, 0, 65537, 655370, 0, 65537, 655371, 0, 65537, 655372, 0, 65537, 655373, 0, 65537, 655374, 0, 65537, 655375, 0, 65537, 655376, 0, 65537, 655377, 0, 65537, 655378, 0, 65537, 655379, 0, 65537, 655380, 0, 65537, 655381, 0, 65537, 655382, 0, 65537, 655383, 0, 65537, 655384, 0, 65537, 655385, 0, 65537, 655386, 0, 65537, 655387, 0, 65537, 655388, 0, 65537, 655389, 0, 65537, 655390, 0, 65537, 655391, 0, 65539, 655394, 0, 0, 655395, 0, 131076, 655396, 0, 131076, 655397, 0, 1, 655398, 0, 131076, 655399, 0, 1, 655400, 0, 2, 655417, 0, 0, 655418, 0, 2, 786429, 0, 65536, 786430, 0, 65537, 786431, 0, 65537, 720896, 0, 65538, 720900, 0, 65536, 720901, 0, 65537, 720902, 0, 65537, 720903, 0, 65537, 720904, 0, 65537, 720905, 0, 65537, 720906, 0, 65537, 720907, 0, 65537, 720908, 0, 65537, 720909, 0, 65537, 720910, 0, 65537, 720911, 0, 65537, 720912, 0, 65537, 720913, 0, 65537, 720914, 0, 65537, 720915, 0, 65537, 720916, 0, 65537, 720917, 0, 65537, 720918, 0, 65537, 720919, 0, 65537, 720920, 0, 65537, 720921, 0, 65537, 720922, 0, 65537, 720923, 0, 65537, 720924, 0, 65537, 720925, 0, 65537, 720926, 0, 65537, 720927, 0, 65539, 720930, 0, 65536, 720931, 0, 65537, 720932, 0, 65537, 720933, 0, 65537, 720934, 0, 65537, 720935, 0, 65537, 720936, 0, 65538, 720953, 0, 65541, 720954, 0, 65539, 851965, 0, 65536, 851966, 0, 65537, 851967, 0, 65537, 786432, 0, 65538, 786436, 0, 65541, 786437, 0, 65537, 786438, 0, 65537, 786439, 0, 65537, 786440, 0, 65537, 786441, 0, 65537, 786442, 0, 65537, 786443, 0, 65537, 786444, 0, 65537, 786445, 0, 65537, 786446, 0, 65537, 786447, 0, 65537, 786448, 0, 65537, 786449, 0, 65537, 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, 65539, 786466, 0, 65541, 786467, 0, 65537, 786468, 0, 65537, 786469, 0, 65537, 786470, 0, 65537, 786471, 0, 65537, 786472, 0, 65539, 786489, 0, 65536, 786490, 0, 65538, 917501, 0, 65536, 917502, 0, 65537, 917503, 0, 65537, 851968, 0, 65539, 851972, 0, 65541, 851973, 0, 65537, 851974, 0, 65537, 851975, 0, 65537, 851976, 0, 65537, 851977, 0, 65537, 851978, 0, 65537, 851979, 0, 65537, 851980, 0, 65537, 851981, 0, 65537, 851982, 0, 65537, 851983, 0, 65537, 851984, 0, 65537, 851985, 0, 65537, 851986, 0, 65537, 851987, 0, 65537, 851988, 0, 65537, 851989, 0, 65537, 851990, 0, 65537, 851991, 0, 65537, 851992, 0, 65537, 851993, 0, 65537, 851994, 0, 65537, 851995, 0, 65537, 851996, 0, 65537, 851997, 0, 65537, 851998, 0, 3, 851999, 0, 131074, 852002, 0, 65541, 852003, 0, 3, 852004, 0, 4, 852005, 0, 131073, 852006, 0, 4, 852007, 0, 131073, 852008, 0, 131074, 852014, 0, 0, 852015, 0, 1, 852016, 0, 2, 852025, 0, 65536, 852026, 0, 65539, 983037, 0, 65541, 983038, 0, 65537, 983039, 0, 65537, 917504, 0, 65539, 917508, 0, 65541, 917509, 0, 65537, 917510, 0, 65537, 917511, 0, 65537, 917512, 0, 65537, 917513, 0, 65537, 917514, 0, 65537, 917515, 0, 65537, 917516, 0, 65537, 917517, 0, 65537, 917518, 0, 65537, 917519, 0, 65537, 917520, 0, 65537, 917521, 0, 65537, 917522, 0, 65537, 917523, 0, 65537, 917524, 0, 65537, 917525, 0, 65537, 917526, 0, 65537, 917527, 0, 65537, 917528, 0, 65537, 917529, 0, 65537, 917530, 0, 65537, 917531, 0, 65537, 917532, 0, 65537, 917533, 0, 65537, 917534, 0, 65539, 917538, 0, 131072, 917539, 0, 131074, 917550, 0, 65541, 917551, 0, 65537, 917552, 0, 65538, 917556, 0, 0, 917557, 0, 1, 917558, 0, 1, 917559, 0, 131076, 917560, 0, 131076, 917561, 0, 131077, 917562, 0, 65538, 1048573, 0, 65536, 1048574, 0, 65537, 1048575, 0, 65537, 983040, 0, 65539, 983044, 0, 65536, 983045, 0, 65537, 983046, 0, 65537, 983047, 0, 65537, 983048, 0, 65537, 983049, 0, 65537, 983050, 0, 65537, 983051, 0, 65537, 983052, 0, 65537, 983053, 0, 65537, 983054, 0, 65537, 983055, 0, 65537, 983056, 0, 65537, 983057, 0, 65537, 983058, 0, 65537, 983059, 0, 65537, 983060, 0, 65537, 983061, 0, 65537, 983062, 0, 65537, 983063, 0, 65537, 983064, 0, 65537, 983065, 0, 65537, 983066, 0, 65537, 983067, 0, 65537, 983068, 0, 65537, 983069, 0, 65537, 983070, 0, 65539, 983086, 0, 65536, 983087, 0, 65537, 983088, 0, 65539, 983092, 0, 65536, 983093, 0, 65537, 983094, 0, 65537, 983095, 0, 65537, 983096, 0, 3, 983097, 0, 131073, 983098, 0, 131074, 1114109, 0, 65536, 1114110, 0, 65537, 1114111, 0, 65537, 1048576, 0, 65539, 1048580, 0, 131072, 1048581, 0, 131073, 1048582, 0, 4, 1048583, 0, 4, 1048584, 0, 131073, 1048585, 0, 4, 1048586, 0, 4, 1048587, 0, 131073, 1048588, 0, 4, 1048589, 0, 131073, 1048590, 0, 4, 1048591, 0, 131073, 1048592, 0, 4, 1048593, 0, 131073, 1048594, 0, 4, 1048595, 0, 4, 1048596, 0, 5, 1048597, 0, 65537, 1048598, 0, 65537, 1048599, 0, 3, 1048600, 0, 131073, 1048601, 0, 4, 1048602, 0, 4, 1048603, 0, 4, 1048604, 0, 131073, 1048605, 0, 131073, 1048606, 0, 131074, 1048607, 0, 0, 1048608, 0, 2, 1048622, 0, 65541, 1048623, 0, 65537, 1048624, 0, 65538, 1048628, 0, 131072, 1048629, 0, 131073, 1048630, 0, 131073, 1048631, 0, 4, 1048632, 0, 131074, 1179645, 0, 65541, 1179646, 0, 65537, 1179647, 0, 65537, 1114112, 0, 65538, 1114132, 0, 65536, 1114133, 0, 65537, 1114134, 0, 65537, 1114135, 0, 65538, 1114143, 0, 131072, 1114144, 0, 131074, 1114158, 0, 65541, 1114159, 0, 65537, 1114160, 0, 65538, 1245181, 0, 65541, 1245182, 0, 65537, 1245183, 0, 65537, 1179648, 0, 65539, 1179668, 0, 131072, 1179669, 0, 4, 1179670, 0, 131073, 1179671, 0, 131074, 1179680, 0, 0, 1179681, 0, 1, 1179682, 0, 131076, 1179683, 0, 1, 1179684, 0, 1, 1179685, 0, 131076, 1179686, 0, 131076, 1179687, 0, 131076, 1179688, 0, 2, 1179694, 0, 65536, 1179695, 0, 65537, 1179696, 0, 65539, 1310717, 0, 65541, 1310718, 0, 65537, 1310719, 0, 65537, 1245184, 0, 65538, 1245211, 0, 0, 1245212, 0, 2, 1245216, 0, 131072, 1245217, 0, 131073, 1245218, 0, 131073, 1245219, 0, 131073, 1245220, 0, 4, 1245221, 0, 4, 1245222, 0, 4, 1245223, 0, 5, 1245224, 0, 65539, 1245230, 0, 65541, 1245231, 0, 65537, 1245232, 0, 65539, 1376253, 0, 65536, 1376254, 0, 65537, 1376255, 0, 65537, 1310720, 0, 65538, 1310736, 0, 0, 1310737, 0, 131076, 1310738, 0, 2, 1310746, 0, 0, 1310747, 0, 131077, 1310748, 0, 131075, 1310749, 0, 2, 1310759, 0, 65541, 1310760, 0, 65539, 1310766, 0, 131072, 1310767, 0, 4, 1310768, 0, 131074, 1441789, 0, 65536, 1441790, 0, 65537, 1441791, 0, 65537, 1376256, 0, 131075, 1376257, 0, 1, 1376258, 0, 131076, 1376259, 0, 1, 1376260, 0, 1, 1376261, 0, 131076, 1376262, 0, 1, 1376263, 0, 1, 1376264, 0, 131076, 1376265, 0, 1, 1376266, 0, 131076, 1376267, 0, 131076, 1376268, 0, 131076, 1376269, 0, 131076, 1376270, 0, 131076, 1376271, 0, 1, 1376272, 0, 131077, 1376273, 0, 65537, 1376274, 0, 131075, 1376275, 0, 131076, 1376276, 0, 1, 1376277, 0, 1, 1376278, 0, 1, 1376279, 0, 1, 1376280, 0, 131076, 1376281, 0, 131076, 1376282, 0, 131077, 1376283, 0, 65537, 1376284, 0, 65537, 1376285, 0, 131075, 1376286, 0, 2, 1376295, 0, 65541, 1376296, 0, 65538, 1507325, 0, 65541, 1507326, 0, 65537, 1507327, 0, 65537, 1441792, 0, 65537, 1441793, 0, 65537, 1441794, 0, 65537, 1441795, 0, 65537, 1441796, 0, 65537, 1441797, 0, 65537, 1441798, 0, 65537, 1441799, 0, 65537, 1441800, 0, 65537, 1441801, 0, 65537, 1441802, 0, 65537, 1441803, 0, 65537, 1441804, 0, 65537, 1441805, 0, 65537, 1441806, 0, 65537, 1441807, 0, 65537, 1441808, 0, 65537, 1441809, 0, 65537, 1441810, 0, 65537, 1441811, 0, 65537, 1441812, 0, 65537, 1441813, 0, 65537, 1441814, 0, 65537, 1441815, 0, 65537, 1441816, 0, 65537, 1441817, 0, 65537, 1441818, 0, 65537, 1441819, 0, 65537, 1441820, 0, 65537, 1441821, 0, 65537, 1441822, 0, 131075, 1441823, 0, 2, 1441831, 0, 65536, 1441832, 0, 65539, 1572861, 0, 65541, 1572862, 0, 65537, 1572863, 0, 65537, 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, 65538, 1507367, 0, 65541, 1507368, 0, 131075, 1507369, 0, 131076, 1507370, 0, 131076, 1507371, 0, 1, 1507372, 0, 2, 1638397, 0, 65536, 1638398, 0, 65537, 1638399, 0, 65537, 1572864, 0, 65537, 1572865, 0, 65537, 1572866, 0, 65537, 1572867, 0, 65537, 1572868, 0, 65537, 1572869, 0, 65537, 1572870, 0, 65537, 1572871, 0, 65537, 1572872, 0, 65537, 1572873, 0, 65537, 1572874, 0, 65537, 1572875, 0, 65537, 1572876, 0, 65537, 1572877, 0, 65537, 1572878, 0, 65537, 1572879, 0, 65537, 1572880, 0, 65537, 1572881, 0, 65537, 1572882, 0, 65537, 1572883, 0, 65537, 1572884, 0, 65537, 1572885, 0, 65537, 1572886, 0, 65537, 1572887, 0, 65537, 1572888, 0, 65537, 1572889, 0, 65537, 1572890, 0, 65537, 1572891, 0, 65537, 1572892, 0, 65537, 1572893, 0, 65537, 1572894, 0, 65537, 1572895, 0, 131075, 1572896, 0, 2, 1572903, 0, 65536, 1572904, 0, 65537, 1572905, 0, 65537, 1572906, 0, 65537, 1572907, 0, 65537, 1572908, 0, 65539, 1703933, 0, 65536, 1703934, 0, 65537, 1703935, 0, 65537, 1638400, 0, 65537, 1638401, 0, 65537, 1638402, 0, 65537, 1638403, 0, 65537, 1638404, 0, 65537, 1638405, 0, 65537, 1638406, 0, 65537, 1638407, 0, 65537, 1638408, 0, 65537, 1638409, 0, 65537, 1638410, 0, 65537, 1638411, 0, 65537, 1638412, 0, 65537, 1638413, 0, 65537, 1638414, 0, 65537, 1638415, 0, 65537, 1638416, 0, 65537, 1638417, 0, 65537, 1638418, 0, 65537, 1638419, 0, 65537, 1638420, 0, 65537, 1638421, 0, 65537, 1638422, 0, 65537, 1638423, 0, 65537, 1638424, 0, 65537, 1638425, 0, 65537, 1638426, 0, 65537, 1638427, 0, 65537, 1638428, 0, 65537, 1638429, 0, 65537, 1638430, 0, 65537, 1638431, 0, 3, 1638432, 0, 131074, 1638439, 0, 131072, 1638440, 0, 131073, 1638441, 0, 4, 1638442, 0, 4, 1638443, 0, 4, 1638444, 0, 131074, 1769469, 0, 65536, 1769470, 0, 65537, 1769471, 0, 65537, 1703936, 0, 65537, 1703937, 0, 65537, 1703938, 0, 65537, 1703939, 0, 65537, 1703940, 0, 65537, 1703941, 0, 65537, 1703942, 0, 65537, 1703943, 0, 65537, 1703944, 0, 65537, 1703945, 0, 65537, 1703946, 0, 65537, 1703947, 0, 65537, 1703948, 0, 65537, 1703949, 0, 65537, 1703950, 0, 65537, 1703951, 0, 65537, 1703952, 0, 65537, 1703953, 0, 65537, 1703954, 0, 65537, 1703955, 0, 65537, 1703956, 0, 65537, 1703957, 0, 65537, 1703958, 0, 65537, 1703959, 0, 65537, 1703960, 0, 65537, 1703961, 0, 65537, 1703962, 0, 65537, 1703963, 0, 65537, 1703964, 0, 65537, 1703965, 0, 65537, 1703966, 0, 3, 1703967, 0, 131074, 1835005, 0, 65536, 1835006, 0, 65537, 1835007, 0, 65537, 1769472, 0, 65537, 1769473, 0, 65537, 1769474, 0, 65537, 1769475, 0, 65537, 1769476, 0, 65537, 1769477, 0, 65537, 1769478, 0, 65537, 1769479, 0, 65537, 1769480, 0, 65537, 1769481, 0, 65537, 1769482, 0, 65537, 1769483, 0, 65537, 1769484, 0, 65537, 1769485, 0, 65537, 1769486, 0, 65537, 1769487, 0, 65537, 1769488, 0, 65537, 1769489, 0, 65537, 1769490, 0, 65537, 1769491, 0, 65537, 1769492, 0, 65537, 1769493, 0, 65537, 1769494, 0, 65537, 1769495, 0, 65537, 1769496, 0, 65537, 1769497, 0, 65537, 1769498, 0, 65537, 1769499, 0, 65537, 1769500, 0, 65537, 1769501, 0, 65537, 1769502, 0, 65538, 1900541, 0, 65541, 1900542, 0, 65537, 1900543, 0, 65537, 1835008, 0, 65537, 1835009, 0, 65537, 1835010, 0, 65537, 1835011, 0, 65537, 1835012, 0, 65537, 1835013, 0, 65537, 1835014, 0, 65537, 1835015, 0, 65537, 1835016, 0, 65537, 1835017, 0, 65537, 1835018, 0, 65537, 1835019, 0, 65537, 1835020, 0, 65537, 1835021, 0, 65537, 1835022, 0, 65537, 1835023, 0, 65537, 1835024, 0, 65537, 1835025, 0, 65537, 1835026, 0, 65537, 1835027, 0, 65537, 1835028, 0, 65537, 1835029, 0, 65537, 1835030, 0, 65537, 1835031, 0, 65537, 1835032, 0, 65537, 1835033, 0, 65537, 1835034, 0, 65537, 1835035, 0, 65537, 1835036, 0, 65537, 1835037, 0, 65537, 1835038, 0, 131075, 1835039, 0, 2, 1966077, 0, 65541, 1966078, 0, 65537, 1966079, 0, 65537, 1900544, 0, 65537, 1900545, 0, 65537, 1900546, 0, 65537, 1900547, 0, 65537, 1900548, 0, 65537, 1900549, 0, 65537, 1900550, 0, 65537, 1900551, 0, 65537, 1900552, 0, 65537, 1900553, 0, 65537, 1900554, 0, 65537, 1900555, 0, 65537, 1900556, 0, 65537, 1900557, 0, 65537, 1900558, 0, 65537, 1900559, 0, 65537, 1900560, 0, 65537, 1900561, 0, 65537, 1900562, 0, 65537, 1900563, 0, 65537, 1900564, 0, 65537, 1900565, 0, 65537, 1900566, 0, 65537, 1900567, 0, 65537, 1900568, 0, 65537, 1900569, 0, 65537, 1900570, 0, 65537, 1900571, 0, 65537, 1900572, 0, 65537, 1900573, 0, 65537, 1900574, 0, 65537, 1900575, 0, 131075, 1900576, 0, 131076, 1900577, 0, 1, 1900578, 0, 1, 1900579, 0, 1, 1900580, 0, 131076, 1900581, 0, 1, 1900582, 0, 131076, 1900583, 0, 1, 1900584, 0, 1, 1900585, 0, 1, 1900586, 0, 131076, 1900587, 0, 1, 1900588, 0, 131076, 1900589, 0, 1, 1900590, 0, 131076, 1900591, 0, 1, 1900592, 0, 131076, 1900593, 0, 1, 1900594, 0, 131076, 1900595, 0, 1, 1900596, 0, 1, 1900597, 0, 1, 1900598, 0, 131076, 1900599, 0, 131076, 1900600, 0, 1, 1900601, 0, 2, 2031613, 0, 65541, 2031614, 0, 65537, 2031615, 0, 65537, 1966080, 0, 65537, 1966081, 0, 65537, 1966082, 0, 65537, 1966083, 0, 65537, 1966084, 0, 65537, 1966085, 0, 65537, 1966086, 0, 65537, 1966087, 0, 65537, 1966088, 0, 65537, 1966089, 0, 65537, 1966090, 0, 65537, 1966091, 0, 65537, 1966092, 0, 65537, 1966093, 0, 65537, 1966094, 0, 65537, 1966095, 0, 65537, 1966096, 0, 65537, 1966097, 0, 65537, 1966098, 0, 65537, 1966099, 0, 65537, 1966100, 0, 65537, 1966101, 0, 65537, 1966102, 0, 65537, 1966103, 0, 65537, 1966104, 0, 65537, 1966105, 0, 65537, 1966106, 0, 65537, 1966107, 0, 65537, 1966108, 0, 65537, 1966109, 0, 65537, 1966110, 0, 65537, 1966111, 0, 65537, 1966112, 0, 65537, 1966113, 0, 65537, 1966114, 0, 65537, 1966115, 0, 65537, 1966116, 0, 65537, 1966117, 0, 65537, 1966118, 0, 65537, 1966119, 0, 65537, 1966120, 0, 65537, 1966121, 0, 65537, 1966122, 0, 65537, 1966123, 0, 65537, 1966124, 0, 65537, 1966125, 0, 65537, 1966126, 0, 65537, 1966127, 0, 65537, 1966128, 0, 65537, 1966129, 0, 65537, 1966130, 0, 65537, 1966131, 0, 65537, 1966132, 0, 65537, 1966133, 0, 65537, 1966134, 0, 65537, 1966135, 0, 65537, 1966136, 0, 65537, 1966137, 0, 65538, 2097149, 0, 131072, 2097150, 0, 4, 2097151, 0, 4, 2031616, 0, 131073, 2031617, 0, 4, 2031618, 0, 131073, 2031619, 0, 4, 2031620, 0, 131073, 2031621, 0, 4, 2031622, 0, 4, 2031623, 0, 4, 2031624, 0, 4, 2031625, 0, 4, 2031626, 0, 131073, 2031627, 0, 4, 2031628, 0, 4, 2031629, 0, 4, 2031630, 0, 131073, 2031631, 0, 4, 2031632, 0, 131073, 2031633, 0, 131073, 2031634, 0, 4, 2031635, 0, 4, 2031636, 0, 131073, 2031637, 0, 131073, 2031638, 0, 131073, 2031639, 0, 4, 2031640, 0, 131073, 2031641, 0, 131073, 2031642, 0, 131073, 2031643, 0, 131073, 2031644, 0, 4, 2031645, 0, 131073, 2031646, 0, 131073, 2031647, 0, 4, 2031648, 0, 131073, 2031649, 0, 131073, 2031650, 0, 131073, 2031651, 0, 4, 2031652, 0, 131073, 2031653, 0, 131073, 2031654, 0, 4, 2031655, 0, 4, 2031656, 0, 4, 2031657, 0, 131073, 2031658, 0, 131073, 2031659, 0, 131073, 2031660, 0, 4, 2031661, 0, 131073, 2031662, 0, 4, 2031663, 0, 131073, 2031664, 0, 4, 2031665, 0, 131073, 2031666, 0, 4, 2031667, 0, 131073, 2031668, 0, 4, 2031669, 0, 131073, 2031670, 0, 131073, 2031671, 0, 131073, 2031672, 0, 131073, 2031673, 0, 131074 ) [node name="TrapTiles" parent="Tiles" instance=ExtResource( 5 )] -tile_data = PoolIntArray( 393222, 0, 0, 393224, 0, 0, 393225, 0, 0, 852013, 3, 0, 852017, 2, 0, 852024, 3, 0, 917535, 1, 196609, 917549, 3, 0, 917553, 2, 0, 983074, 1, 196609, 983075, 1, 196609, 983085, 3, 0, 983089, 2, 0, 1048621, 3, 0, 1048625, 2, 0, 1114131, 1, 196609, 1114136, 1, 196609, 1114157, 3, 0, 1114161, 2, 0, 1114164, 1, 196609, 1114165, 1, 196609, 1114166, 1, 196609, 1114167, 1, 196609, 1114168, 1, 196609, 1179679, 1, 0, 1179693, 3, 0, 1179697, 2, 0, 1245229, 3, 0, 1245233, 2, 0, 1310725, 0, 0, 1310726, 0, 0, 1310729, 0, 0, 1310730, 0, 0, 1310745, 0, 0, 1310752, 1, 0, 1310765, 3, 0, 1310769, 2, 0, 1703968, 1, 0, 1703975, 1, 196609, 1703976, 1, 196609, 1703979, 1, 196609, 1703980, 1, 196609, 1835040, 0, 0 ) +tile_data = PoolIntArray( 393222, 0, 0, 393224, 0, 0, 393225, 0, 0, 852013, 3, 0, 852017, 2, 0, 852024, 3, 0, 917535, 1, 196609, 917549, 3, 0, 917553, 2, 0, 983074, 1, 196609, 983075, 1, 196609, 983085, 3, 0, 983089, 2, 0, 1048621, 3, 0, 1048625, 2, 0, 1114131, 1, 196609, 1114136, 1, 196609, 1114157, 3, 0, 1114161, 2, 0, 1114164, 1, 196609, 1114165, 1, 196609, 1114166, 1, 196609, 1114167, 1, 196609, 1114168, 1, 196609, 1179679, 1, 0, 1179693, 3, 0, 1179697, 2, 0, 1245229, 3, 0, 1245233, 2, 0, 1310725, 0, 0, 1310726, 0, 0, 1310729, 0, 0, 1310730, 0, 0, 1310745, 0, 0, 1310752, 1, 0, 1310765, 3, 0, 1310769, 2, 0, 1703968, 1, 0, 1703975, 1, 196609, 1703976, 1, 196609, 1703979, 1, 196609, 1703980, 1, 196609, 1835040, 0, 0, 1835041, 0, 0, 1835045, 0, 0, 1835046, 0, 0 ) [node name="Coins" type="Node2D" parent="."] @@ -104,6 +105,10 @@ position = Vector2( 417, 320 ) position = Vector2( -68, 16 ) node = ExtResource( 8 ) +[node name="Goblin2" parent="Enemies" instance=ExtResource( 9 )] +position = Vector2( -264, -336 ) +node = ExtResource( 8 ) + [node name="Hazards" type="Node2D" parent="."] position = Vector2( 417, 320 ) @@ -128,4 +133,17 @@ g = "UP_DOWN" [node name="Springs" type="Node2D" parent="."] [node name="Spring" parent="Springs" instance=ExtResource( 14 )] -position = Vector2( 572, 464 ) +position = Vector2( 568, 464 ) + +[node name="Spring2" parent="Springs" instance=ExtResource( 14 )] +position = Vector2( 551, 464 ) + +[node name="Spring3" parent="Springs" instance=ExtResource( 14 )] +position = Vector2( 584, 464 ) + +[node name="Vases" type="Node2D" parent="."] +position = Vector2( 153, -16 ) + +[node name="BrakableVase" parent="Vases" instance=ExtResource( 16 )] +position = Vector2( -13, 0 ) +loot = ExtResource( 10 ) diff --git a/src/GameWorld/Levels/PreGame.tscn b/src/GameWorld/Levels/PreGame.tscn index 5717bed..ca576f5 100644 --- a/src/GameWorld/Levels/PreGame.tscn +++ b/src/GameWorld/Levels/PreGame.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=29 format=2] +[gd_scene load_steps=30 format=2] [ext_resource path="res://src/GameWorld/Levels/PreGame.gd" type="Script" id=1] [ext_resource path="res://assets/Tiles/background_0.png" type="Texture" id=2] @@ -20,6 +20,7 @@ [ext_resource path="res://src/Hazards/Stomp.tscn" type="PackedScene" id=18] [ext_resource path="res://src/Items/BrakableVase.tscn" type="PackedScene" id=19] [ext_resource path="res://src/Hazards/MaskTrap.tscn" type="PackedScene" id=20] +[ext_resource path="res://src/Items/Orb.tscn" type="PackedScene" id=21] [sub_resource type="TileSet" id=1] 0/name = "tileset.png 0" @@ -211,10 +212,10 @@ tile_data = PoolIntArray( -65513, 0, 0, -65512, 0, 1, -65511, 0, 131076, -65510, [node name="SolidsTileMap" parent="SolidPlatforms" instance=ExtResource( 12 )] collision_layer = 8 -tile_data = PoolIntArray( -196613, 0, 0, -196612, 0, 1, -196611, 0, 1, -196610, 0, 131076, -196609, 0, 1, -262144, 0, 1, -262143, 0, 131076, -262142, 0, 1, -262141, 0, 1, -262140, 0, 131076, -262139, 0, 131076, -262138, 0, 1, -262137, 0, 131076, -262136, 0, 131076, -262135, 0, 131076, -262134, 0, 1, -262133, 0, 131076, -262132, 0, 131076, -262131, 0, 131076, -262130, 0, 1, -262129, 0, 1, -262128, 0, 1, -262127, 0, 1, -262126, 0, 1, -262125, 0, 1, -262124, 0, 131076, -262123, 0, 131076, -262122, 0, 131076, -262121, 0, 131076, -262120, 0, 1, -262119, 0, 1, -262118, 0, 131076, -262117, 0, 131076, -262116, 0, 1, -262115, 0, 131076, -262114, 0, 1, -262113, 0, 1, -262112, 0, 1, -262111, 0, 1, -262110, 0, 1, -262109, 0, 131076, -262108, 0, 1, -262107, 0, 1, -262106, 0, 1, -262105, 0, 131076, -262104, 0, 1, -262103, 0, 131076, -262102, 0, 1, -262101, 0, 131076, -262100, 0, 2, -131077, 0, 65541, -131076, 0, 65537, -131075, 0, 65537, -131074, 0, 65537, -131073, 0, 3, -196608, 0, 131073, -196607, 0, 4, -196606, 0, 4, -196605, 0, 131073, -196604, 0, 4, -196603, 0, 131073, -196602, 0, 4, -196601, 0, 4, -196600, 0, 4, -196599, 0, 4, -196598, 0, 131073, -196597, 0, 4, -196596, 0, 4, -196595, 0, 131073, -196594, 0, 131073, -196593, 0, 131073, -196592, 0, 131073, -196591, 0, 4, -196590, 0, 5, -196589, 0, 65537, -196588, 0, 65537, -196587, 0, 65537, -196586, 0, 65537, -196585, 0, 65537, -196584, 0, 65537, -196583, 0, 65537, -196582, 0, 65537, -196581, 0, 65537, -196580, 0, 65537, -196579, 0, 65537, -196578, 0, 65537, -196577, 0, 65537, -196576, 0, 65537, -196575, 0, 65537, -196574, 0, 65537, -196573, 0, 65537, -196572, 0, 65537, -196571, 0, 65537, -196570, 0, 65537, -196569, 0, 65537, -196568, 0, 65537, -196567, 0, 65537, -196566, 0, 65537, -196565, 0, 65537, -196564, 0, 65538, -65541, 0, 65536, -65540, 0, 65537, -65539, 0, 65537, -65538, 0, 65537, -65537, 0, 65538, -131054, 0, 65536, -131053, 0, 65537, -131052, 0, 65537, -131051, 0, 65537, -131050, 0, 65537, -131049, 0, 65537, -131048, 0, 65537, -131047, 0, 65537, -131046, 0, 65537, -131045, 0, 65537, -131044, 0, 65537, -131043, 0, 65537, -131042, 0, 65537, -131041, 0, 65537, -131040, 0, 65537, -131039, 0, 65537, -131038, 0, 65537, -131037, 0, 65537, -131036, 0, 65537, -131035, 0, 65537, -131034, 0, 65537, -131033, 0, 65537, -131032, 0, 65537, -131031, 0, 65537, -131030, 0, 65537, -131029, 0, 65537, -131028, 0, 65538, -5, 0, 65536, -4, 0, 65537, -3, 0, 65537, -2, 0, 65537, -1, 0, 65539, -65518, 0, 65536, -65517, 0, 65537, -65516, 0, 65537, -65515, 0, 65537, -65514, 0, 65537, -65513, 0, 65537, -65512, 0, 65537, -65511, 0, 65537, -65510, 0, 65537, -65509, 0, 65537, -65508, 0, 65537, -65507, 0, 65537, -65506, 0, 65537, -65505, 0, 65537, -65504, 0, 65537, -65503, 0, 65537, -65502, 0, 65537, -65501, 0, 65537, -65500, 0, 65537, -65499, 0, 65537, -65498, 0, 65537, -65497, 0, 65537, -65496, 0, 65537, -65495, 0, 65537, -65494, 0, 65537, -65493, 0, 65537, -65492, 0, 65538, 65531, 0, 65536, 65532, 0, 65537, 65533, 0, 65537, 65534, 0, 65537, 65535, 0, 131075, 0, 0, 1, 1, 0, 131076, 2, 0, 2, 18, 0, 65541, 19, 0, 65537, 20, 0, 65537, 21, 0, 65537, 22, 0, 65537, 23, 0, 65537, 24, 0, 65537, 25, 0, 65537, 26, 0, 65537, 27, 0, 65537, 28, 0, 65537, 29, 0, 65537, 30, 0, 65537, 31, 0, 65537, 32, 0, 65537, 33, 0, 65537, 34, 0, 65537, 35, 0, 65537, 36, 0, 65537, 37, 0, 65537, 38, 0, 65537, 39, 0, 65537, 40, 0, 65537, 41, 0, 65537, 42, 0, 65537, 43, 0, 65537, 44, 0, 65538, 131067, 0, 65536, 131068, 0, 65537, 131069, 0, 65537, 131070, 0, 65537, 131071, 0, 65537, 65536, 0, 65537, 65537, 0, 65537, 65538, 0, 65538, 65554, 0, 131072, 65555, 0, 4, 65556, 0, 131073, 65557, 0, 131073, 65558, 0, 131073, 65559, 0, 5, 65560, 0, 65537, 65561, 0, 3, 65562, 0, 4, 65563, 0, 4, 65564, 0, 131073, 65565, 0, 4, 65566, 0, 4, 65567, 0, 5, 65568, 0, 3, 65569, 0, 4, 65570, 0, 131073, 65571, 0, 4, 65572, 0, 4, 65573, 0, 4, 65574, 0, 4, 65575, 0, 4, 65576, 0, 131073, 65577, 0, 131073, 65578, 0, 5, 65579, 0, 65537, 65580, 0, 65538, 196603, 0, 65536, 196604, 0, 65537, 196605, 0, 65537, 196606, 0, 65537, 196607, 0, 65537, 131072, 0, 65537, 131073, 0, 65537, 131074, 0, 65538, 131095, 0, 131072, 131096, 0, 4, 131097, 0, 131074, 131103, 0, 65541, 131104, 0, 65539, 131114, 0, 65541, 131115, 0, 65537, 131116, 0, 65538, 262139, 0, 65536, 262140, 0, 65537, 262141, 0, 65537, 262142, 0, 65537, 262143, 0, 65537, 196608, 0, 65537, 196609, 0, 65537, 196610, 0, 65538, 196639, 0, 65541, 196640, 0, 65538, 196650, 0, 65536, 196651, 0, 65537, 196652, 0, 65538, 327675, 0, 65536, 327676, 0, 65537, 327677, 0, 65537, 327678, 0, 65537, 327679, 0, 65537, 262144, 0, 65537, 262145, 0, 65537, 262146, 0, 131075, 262147, 0, 1, 262148, 0, 131076, 262149, 0, 1, 262150, 0, 131076, 262151, 0, 131076, 262152, 0, 131076, 262153, 0, 2, 262175, 0, 65536, 262176, 0, 65539, 262186, 0, 65541, 262187, 0, 65537, 262188, 0, 65539, 393211, 0, 65536, 393212, 0, 65537, 393213, 0, 65537, 393214, 0, 65537, 393215, 0, 3, 327680, 0, 131073, 327681, 0, 4, 327682, 0, 131073, 327683, 0, 131073, 327684, 0, 4, 327685, 0, 4, 327686, 0, 4, 327687, 0, 4, 327688, 0, 5, 327689, 0, 65539, 327711, 0, 65536, 327712, 0, 65539, 327722, 0, 65541, 327723, 0, 65537, 327724, 0, 65538, 458747, 0, 65541, 458748, 0, 65537, 458749, 0, 65537, 458750, 0, 65537, 458751, 0, 65539, 393224, 0, 65536, 393225, 0, 65538, 393247, 0, 65541, 393248, 0, 65539, 393258, 0, 65536, 393259, 0, 65537, 393260, 0, 65538, 524283, 0, 65536, 524284, 0, 65537, 524285, 0, 65537, 524286, 0, 65537, 524287, 0, 65539, 458760, 0, 65536, 458761, 0, 131075, 458762, 0, 131076, 458763, 0, 2, 458783, 0, 65541, 458784, 0, 131075, 458785, 0, 131076, 458786, 0, 1, 458787, 0, 2, 458794, 0, 65541, 458795, 0, 65537, 458796, 0, 65538, 589819, 0, 65541, 589820, 0, 65537, 589821, 0, 65537, 589822, 0, 65537, 589823, 0, 65538, 524296, 0, 65536, 524297, 0, 65537, 524298, 0, 65537, 524299, 0, 131075, 524300, 0, 1, 524301, 0, 1, 524302, 0, 2, 524319, 0, 131072, 524320, 0, 4, 524321, 0, 4, 524322, 0, 4, 524323, 0, 131074, 524330, 0, 65541, 524331, 0, 65537, 524332, 0, 65539, 655355, 0, 65536, 655356, 0, 65537, 655357, 0, 65537, 655358, 0, 65537, 655359, 0, 65538, 589832, 0, 131072, 589833, 0, 131073, 589834, 0, 131073, 589835, 0, 4, 589836, 0, 4, 589837, 0, 131073, 589838, 0, 131074, 589866, 0, 65536, 589867, 0, 65537, 589868, 0, 65539, 720891, 0, 65536, 720892, 0, 65537, 720893, 0, 65537, 720894, 0, 65537, 720895, 0, 65538, 655399, 0, 0, 655400, 0, 1, 655401, 0, 1, 655402, 0, 131077, 655403, 0, 65537, 655404, 0, 65538, 786427, 0, 65536, 786428, 0, 65537, 786429, 0, 65537, 786430, 0, 65537, 786431, 0, 65538, 720935, 0, 131072, 720936, 0, 131073, 720937, 0, 4, 720938, 0, 4, 720939, 0, 4, 720940, 0, 131074, 851963, 0, 65541, 851964, 0, 65537, 851965, 0, 65537, 851966, 0, 65537, 851967, 0, 131075, 786432, 0, 2, 786451, 0, 0, 786452, 0, 2, 786466, 0, 0, 786467, 0, 2, 917499, 0, 65536, 917500, 0, 65537, 917501, 0, 65537, 917502, 0, 65537, 917503, 0, 65537, 851968, 0, 65538, 851987, 0, 65541, 851988, 0, 131075, 851989, 0, 2, 852002, 0, 65541, 852003, 0, 65538, 983035, 0, 65541, 983036, 0, 65537, 983037, 0, 65537, 983038, 0, 65537, 983039, 0, 65537, 917504, 0, 65539, 917523, 0, 65536, 917524, 0, 65537, 917525, 0, 131075, 917526, 0, 2, 917538, 0, 65541, 917539, 0, 131075, 917540, 0, 1, 917541, 0, 131076, 917542, 0, 1, 917543, 0, 1, 917544, 0, 1, 917545, 0, 131076, 917546, 0, 131076, 917547, 0, 1, 917548, 0, 131076, 917549, 0, 131076, 917550, 0, 1, 917551, 0, 131076, 917552, 0, 131076, 917553, 0, 131076, 917554, 0, 131076, 917555, 0, 2, 1048571, 0, 65541, 1048572, 0, 65537, 1048573, 0, 65537, 1048574, 0, 65537, 1048575, 0, 65537, 983040, 0, 131075, 983041, 0, 1, 983042, 0, 1, 983043, 0, 131076, 983044, 0, 1, 983045, 0, 131076, 983046, 0, 131076, 983047, 0, 131076, 983048, 0, 1, 983049, 0, 131076, 983050, 0, 1, 983051, 0, 1, 983052, 0, 131076, 983053, 0, 1, 983054, 0, 1, 983055, 0, 131076, 983056, 0, 131076, 983057, 0, 1, 983058, 0, 1, 983059, 0, 131077, 983060, 0, 65537, 983061, 0, 65537, 983062, 0, 131075, 983063, 0, 131076, 983064, 0, 131076, 983065, 0, 1, 983066, 0, 1, 983067, 0, 1, 983068, 0, 131076, 983069, 0, 1, 983070, 0, 131076, 983071, 0, 131076, 983072, 0, 1, 983073, 0, 1, 983074, 0, 131077, 983075, 0, 65537, 983076, 0, 65537, 983077, 0, 65537, 983078, 0, 65537, 983079, 0, 65537, 983080, 0, 65537, 983081, 0, 65537, 983082, 0, 65537, 983083, 0, 65537, 983084, 0, 65537, 983085, 0, 65537, 983086, 0, 65537, 983087, 0, 65537, 983088, 0, 65537, 983089, 0, 65537, 983090, 0, 65537, 983091, 0, 65538, 1114107, 0, 65536, 1114108, 0, 65537, 1114109, 0, 65537, 1114110, 0, 65537, 1114111, 0, 65537, 1048576, 0, 65537, 1048577, 0, 65537, 1048578, 0, 65537, 1048579, 0, 65537, 1048580, 0, 65537, 1048581, 0, 65537, 1048582, 0, 65537, 1048583, 0, 65537, 1048584, 0, 65537, 1048585, 0, 65537, 1048586, 0, 65537, 1048587, 0, 65537, 1048588, 0, 65537, 1048589, 0, 65537, 1048590, 0, 65537, 1048591, 0, 65537, 1048592, 0, 65537, 1048593, 0, 65537, 1048594, 0, 65537, 1048595, 0, 65537, 1048596, 0, 65537, 1048597, 0, 65537, 1048598, 0, 65537, 1048599, 0, 65537, 1048600, 0, 65537, 1048601, 0, 65537, 1048602, 0, 65537, 1048603, 0, 65537, 1048604, 0, 65537, 1048605, 0, 65537, 1048606, 0, 65537, 1048607, 0, 65537, 1048608, 0, 65537, 1048609, 0, 65537, 1048610, 0, 65537, 1048611, 0, 65537, 1048612, 0, 65537, 1048613, 0, 65537, 1048614, 0, 65537, 1048615, 0, 65537, 1048616, 0, 65537, 1048617, 0, 65537, 1048618, 0, 65537, 1048619, 0, 65537, 1048620, 0, 65537, 1048621, 0, 65537, 1048622, 0, 65537, 1048623, 0, 65537, 1048624, 0, 65537, 1048625, 0, 65537, 1048626, 0, 65537, 1048627, 0, 65538, 1179643, 0, 131072, 1179644, 0, 131073, 1179645, 0, 4, 1179646, 0, 4, 1179647, 0, 4, 1114112, 0, 4, 1114113, 0, 4, 1114114, 0, 4, 1114115, 0, 131073, 1114116, 0, 4, 1114117, 0, 131073, 1114118, 0, 4, 1114119, 0, 131073, 1114120, 0, 131073, 1114121, 0, 4, 1114122, 0, 131073, 1114123, 0, 4, 1114124, 0, 131073, 1114125, 0, 131073, 1114126, 0, 4, 1114127, 0, 4, 1114128, 0, 4, 1114129, 0, 4, 1114130, 0, 131073, 1114131, 0, 4, 1114132, 0, 4, 1114133, 0, 4, 1114134, 0, 4, 1114135, 0, 131073, 1114136, 0, 4, 1114137, 0, 131073, 1114138, 0, 4, 1114139, 0, 131073, 1114140, 0, 4, 1114141, 0, 131073, 1114142, 0, 4, 1114143, 0, 131073, 1114144, 0, 131073, 1114145, 0, 4, 1114146, 0, 131073, 1114147, 0, 131073, 1114148, 0, 131073, 1114149, 0, 131073, 1114150, 0, 131073, 1114151, 0, 131073, 1114152, 0, 4, 1114153, 0, 4, 1114154, 0, 131073, 1114155, 0, 4, 1114156, 0, 4, 1114157, 0, 131073, 1114158, 0, 4, 1114159, 0, 4, 1114160, 0, 4, 1114161, 0, 4, 1114162, 0, 131073, 1114163, 0, 131074 ) +tile_data = PoolIntArray( -196613, 0, 0, -196612, 0, 1, -196611, 0, 1, -196610, 0, 131076, -196609, 0, 1, -262144, 0, 1, -262143, 0, 131076, -262142, 0, 1, -262141, 0, 1, -262140, 0, 131076, -262139, 0, 131076, -262138, 0, 1, -262137, 0, 131076, -262136, 0, 131076, -262135, 0, 131076, -262134, 0, 1, -262133, 0, 131076, -262132, 0, 131076, -262131, 0, 131076, -262130, 0, 1, -262129, 0, 1, -262128, 0, 1, -262127, 0, 1, -262126, 0, 1, -262125, 0, 1, -262124, 0, 131076, -262123, 0, 131076, -262122, 0, 131076, -262121, 0, 131076, -262120, 0, 1, -262119, 0, 1, -262118, 0, 131076, -262117, 0, 131076, -262116, 0, 1, -262115, 0, 131076, -262114, 0, 1, -262113, 0, 1, -262112, 0, 1, -262111, 0, 1, -262110, 0, 1, -262109, 0, 131076, -262108, 0, 1, -262107, 0, 1, -262106, 0, 1, -262105, 0, 131076, -262104, 0, 1, -262103, 0, 131076, -262102, 0, 1, -262101, 0, 131076, -262100, 0, 2, -131077, 0, 65541, -131076, 0, 65537, -131075, 0, 65537, -131074, 0, 65537, -131073, 0, 3, -196608, 0, 131073, -196607, 0, 4, -196606, 0, 4, -196605, 0, 131073, -196604, 0, 4, -196603, 0, 131073, -196602, 0, 4, -196601, 0, 4, -196600, 0, 4, -196599, 0, 4, -196598, 0, 131073, -196597, 0, 4, -196596, 0, 4, -196595, 0, 131073, -196594, 0, 131073, -196593, 0, 131073, -196592, 0, 131073, -196591, 0, 4, -196590, 0, 5, -196589, 0, 65537, -196588, 0, 65537, -196587, 0, 65537, -196586, 0, 65537, -196585, 0, 65537, -196584, 0, 65537, -196583, 0, 65537, -196582, 0, 65537, -196581, 0, 65537, -196580, 0, 65537, -196579, 0, 65537, -196578, 0, 65537, -196577, 0, 65537, -196576, 0, 65537, -196575, 0, 65537, -196574, 0, 65537, -196573, 0, 65537, -196572, 0, 65537, -196571, 0, 65537, -196570, 0, 65537, -196569, 0, 65537, -196568, 0, 65537, -196567, 0, 65537, -196566, 0, 65537, -196565, 0, 65537, -196564, 0, 65538, -65541, 0, 65536, -65540, 0, 65537, -65539, 0, 65537, -65538, 0, 65537, -65537, 0, 65538, -131054, 0, 65536, -131053, 0, 65537, -131052, 0, 65537, -131051, 0, 65537, -131050, 0, 65537, -131049, 0, 65537, -131048, 0, 65537, -131047, 0, 65537, -131046, 0, 65537, -131045, 0, 65537, -131044, 0, 65537, -131043, 0, 65537, -131042, 0, 65537, -131041, 0, 65537, -131040, 0, 65537, -131039, 0, 65537, -131038, 0, 65537, -131037, 0, 65537, -131036, 0, 65537, -131035, 0, 65537, -131034, 0, 65537, -131033, 0, 65537, -131032, 0, 65537, -131031, 0, 65537, -131030, 0, 65537, -131029, 0, 65537, -131028, 0, 65538, -5, 0, 65536, -4, 0, 65537, -3, 0, 65537, -2, 0, 65537, -1, 0, 65539, -65518, 0, 65536, -65517, 0, 65537, -65516, 0, 65537, -65515, 0, 65537, -65514, 0, 65537, -65513, 0, 65537, -65512, 0, 65537, -65511, 0, 65537, -65510, 0, 65537, -65509, 0, 65537, -65508, 0, 65537, -65507, 0, 65537, -65506, 0, 65537, -65505, 0, 65537, -65504, 0, 65537, -65503, 0, 65537, -65502, 0, 65537, -65501, 0, 65537, -65500, 0, 65537, -65499, 0, 65537, -65498, 0, 65537, -65497, 0, 65537, -65496, 0, 65537, -65495, 0, 65537, -65494, 0, 65537, -65493, 0, 65537, -65492, 0, 65538, 65531, 0, 65536, 65532, 0, 65537, 65533, 0, 65537, 65534, 0, 65537, 65535, 0, 131075, 0, 0, 1, 1, 0, 131076, 2, 0, 2, 18, 0, 65541, 19, 0, 65537, 20, 0, 65537, 21, 0, 65537, 22, 0, 65537, 23, 0, 65537, 24, 0, 65537, 25, 0, 65537, 26, 0, 65537, 27, 0, 65537, 28, 0, 65537, 29, 0, 65537, 30, 0, 65537, 31, 0, 65537, 32, 0, 65537, 33, 0, 65537, 34, 0, 65537, 35, 0, 65537, 36, 0, 65537, 37, 0, 65537, 38, 0, 65537, 39, 0, 65537, 40, 0, 65537, 41, 0, 65537, 42, 0, 65537, 43, 0, 65537, 44, 0, 65538, 131067, 0, 65536, 131068, 0, 65537, 131069, 0, 65537, 131070, 0, 65537, 131071, 0, 65537, 65536, 0, 65537, 65537, 0, 65537, 65538, 0, 65538, 65554, 0, 131072, 65555, 0, 4, 65556, 0, 131073, 65557, 0, 131073, 65558, 0, 131073, 65559, 0, 5, 65560, 0, 65537, 65561, 0, 3, 65562, 0, 4, 65563, 0, 4, 65564, 0, 131073, 65565, 0, 4, 65566, 0, 4, 65567, 0, 5, 65568, 0, 3, 65569, 0, 4, 65570, 0, 131073, 65571, 0, 4, 65572, 0, 4, 65573, 0, 4, 65574, 0, 4, 65575, 0, 4, 65576, 0, 131073, 65577, 0, 131073, 65578, 0, 5, 65579, 0, 65537, 65580, 0, 65538, 196603, 0, 65536, 196604, 0, 65537, 196605, 0, 65537, 196606, 0, 65537, 196607, 0, 65537, 131072, 0, 65537, 131073, 0, 65537, 131074, 0, 65538, 131095, 0, 131072, 131096, 0, 4, 131097, 0, 131074, 131103, 0, 65541, 131104, 0, 65539, 131114, 0, 65541, 131115, 0, 65537, 131116, 0, 65538, 262139, 0, 65536, 262140, 0, 65537, 262141, 0, 65537, 262142, 0, 65537, 262143, 0, 65537, 196608, 0, 65537, 196609, 0, 65537, 196610, 0, 65538, 196639, 0, 65541, 196640, 0, 65538, 196650, 0, 65536, 196651, 0, 65537, 196652, 0, 65538, 327675, 0, 65536, 327676, 0, 65537, 327677, 0, 65537, 327678, 0, 65537, 327679, 0, 65537, 262144, 0, 65537, 262145, 0, 65537, 262146, 0, 131075, 262147, 0, 1, 262148, 0, 131076, 262149, 0, 1, 262150, 0, 131076, 262151, 0, 131076, 262152, 0, 131076, 262153, 0, 2, 262175, 0, 65536, 262176, 0, 65539, 262186, 0, 65541, 262187, 0, 65537, 262188, 0, 65539, 393211, 0, 65536, 393212, 0, 65537, 393213, 0, 65537, 393214, 0, 65537, 393215, 0, 3, 327680, 0, 131073, 327681, 0, 4, 327682, 0, 131073, 327683, 0, 131073, 327684, 0, 4, 327685, 0, 4, 327686, 0, 4, 327687, 0, 4, 327688, 0, 5, 327689, 0, 65539, 327711, 0, 65536, 327712, 0, 65538, 327722, 0, 65541, 327723, 0, 65537, 327724, 0, 65538, 458747, 0, 65541, 458748, 0, 65537, 458749, 0, 65537, 458750, 0, 65537, 458751, 0, 65539, 393224, 0, 65536, 393225, 0, 65538, 393247, 0, 65541, 393248, 0, 65539, 393258, 0, 65536, 393259, 0, 65537, 393260, 0, 65538, 524283, 0, 65536, 524284, 0, 65537, 524285, 0, 65537, 524286, 0, 65537, 524287, 0, 65539, 458760, 0, 65536, 458761, 0, 131075, 458762, 0, 131076, 458763, 0, 2, 458783, 0, 65541, 458784, 0, 131075, 458785, 0, 131076, 458786, 0, 131076, 458787, 0, 2, 458794, 0, 65541, 458795, 0, 65537, 458796, 0, 65538, 589819, 0, 65541, 589820, 0, 65537, 589821, 0, 65537, 589822, 0, 65537, 589823, 0, 65538, 524296, 0, 65536, 524297, 0, 65537, 524298, 0, 65537, 524299, 0, 131075, 524300, 0, 1, 524301, 0, 1, 524302, 0, 2, 524319, 0, 131072, 524320, 0, 4, 524321, 0, 4, 524322, 0, 4, 524323, 0, 131074, 524330, 0, 65541, 524331, 0, 65537, 524332, 0, 65539, 655355, 0, 65536, 655356, 0, 65537, 655357, 0, 65537, 655358, 0, 65537, 655359, 0, 65538, 589832, 0, 131072, 589833, 0, 131073, 589834, 0, 131073, 589835, 0, 4, 589836, 0, 4, 589837, 0, 131073, 589838, 0, 131074, 589866, 0, 65536, 589867, 0, 65537, 589868, 0, 65539, 720891, 0, 65536, 720892, 0, 65537, 720893, 0, 65537, 720894, 0, 65537, 720895, 0, 65538, 655399, 0, 0, 655400, 0, 1, 655401, 0, 1, 655402, 0, 131077, 655403, 0, 65537, 655404, 0, 65538, 786427, 0, 65536, 786428, 0, 65537, 786429, 0, 65537, 786430, 0, 65537, 786431, 0, 65538, 720935, 0, 131072, 720936, 0, 131073, 720937, 0, 4, 720938, 0, 4, 720939, 0, 4, 720940, 0, 131074, 851963, 0, 65541, 851964, 0, 65537, 851965, 0, 65537, 851966, 0, 65537, 851967, 0, 131075, 786432, 0, 2, 786451, 0, 0, 786452, 0, 2, 786466, 0, 0, 786467, 0, 2, 917499, 0, 65536, 917500, 0, 65537, 917501, 0, 65537, 917502, 0, 65537, 917503, 0, 65537, 851968, 0, 65538, 851987, 0, 65541, 851988, 0, 131075, 851989, 0, 2, 852002, 0, 65541, 852003, 0, 65538, 983035, 0, 65541, 983036, 0, 65537, 983037, 0, 65537, 983038, 0, 65537, 983039, 0, 65537, 917504, 0, 65539, 917523, 0, 65536, 917524, 0, 65537, 917525, 0, 131075, 917526, 0, 2, 917538, 0, 65541, 917539, 0, 131075, 917540, 0, 1, 917541, 0, 131076, 917542, 0, 1, 917543, 0, 1, 917544, 0, 1, 917545, 0, 131076, 917546, 0, 131076, 917547, 0, 1, 917548, 0, 131076, 917549, 0, 131076, 917550, 0, 1, 917551, 0, 131076, 917552, 0, 131076, 917553, 0, 131076, 917554, 0, 131076, 917555, 0, 2, 1048571, 0, 65541, 1048572, 0, 65537, 1048573, 0, 65537, 1048574, 0, 65537, 1048575, 0, 65537, 983040, 0, 131075, 983041, 0, 1, 983042, 0, 1, 983043, 0, 131076, 983044, 0, 1, 983045, 0, 131076, 983046, 0, 131076, 983047, 0, 131076, 983048, 0, 1, 983049, 0, 131076, 983050, 0, 1, 983051, 0, 1, 983052, 0, 131076, 983053, 0, 1, 983054, 0, 1, 983055, 0, 131076, 983056, 0, 131076, 983057, 0, 1, 983058, 0, 1, 983059, 0, 131077, 983060, 0, 65537, 983061, 0, 65537, 983062, 0, 131075, 983063, 0, 131076, 983064, 0, 131076, 983065, 0, 1, 983066, 0, 1, 983067, 0, 1, 983068, 0, 131076, 983069, 0, 1, 983070, 0, 131076, 983071, 0, 131076, 983072, 0, 1, 983073, 0, 1, 983074, 0, 131077, 983075, 0, 65537, 983076, 0, 65537, 983077, 0, 65537, 983078, 0, 65537, 983079, 0, 65537, 983080, 0, 65537, 983081, 0, 65537, 983082, 0, 65537, 983083, 0, 65537, 983084, 0, 65537, 983085, 0, 65537, 983086, 0, 65537, 983087, 0, 65537, 983088, 0, 65537, 983089, 0, 65537, 983090, 0, 65537, 983091, 0, 65538, 1114107, 0, 65536, 1114108, 0, 65537, 1114109, 0, 65537, 1114110, 0, 65537, 1114111, 0, 65537, 1048576, 0, 65537, 1048577, 0, 65537, 1048578, 0, 65537, 1048579, 0, 65537, 1048580, 0, 65537, 1048581, 0, 65537, 1048582, 0, 65537, 1048583, 0, 65537, 1048584, 0, 65537, 1048585, 0, 65537, 1048586, 0, 65537, 1048587, 0, 65537, 1048588, 0, 65537, 1048589, 0, 65537, 1048590, 0, 65537, 1048591, 0, 65537, 1048592, 0, 65537, 1048593, 0, 65537, 1048594, 0, 65537, 1048595, 0, 65537, 1048596, 0, 65537, 1048597, 0, 65537, 1048598, 0, 65537, 1048599, 0, 65537, 1048600, 0, 65537, 1048601, 0, 65537, 1048602, 0, 65537, 1048603, 0, 65537, 1048604, 0, 65537, 1048605, 0, 65537, 1048606, 0, 65537, 1048607, 0, 65537, 1048608, 0, 65537, 1048609, 0, 65537, 1048610, 0, 65537, 1048611, 0, 65537, 1048612, 0, 65537, 1048613, 0, 65537, 1048614, 0, 65537, 1048615, 0, 65537, 1048616, 0, 65537, 1048617, 0, 65537, 1048618, 0, 65537, 1048619, 0, 65537, 1048620, 0, 65537, 1048621, 0, 65537, 1048622, 0, 65537, 1048623, 0, 65537, 1048624, 0, 65537, 1048625, 0, 65537, 1048626, 0, 65537, 1048627, 0, 65538, 1179643, 0, 131072, 1179644, 0, 131073, 1179645, 0, 4, 1179646, 0, 4, 1179647, 0, 4, 1114112, 0, 4, 1114113, 0, 4, 1114114, 0, 4, 1114115, 0, 131073, 1114116, 0, 4, 1114117, 0, 131073, 1114118, 0, 4, 1114119, 0, 131073, 1114120, 0, 131073, 1114121, 0, 4, 1114122, 0, 131073, 1114123, 0, 4, 1114124, 0, 131073, 1114125, 0, 131073, 1114126, 0, 4, 1114127, 0, 4, 1114128, 0, 4, 1114129, 0, 4, 1114130, 0, 131073, 1114131, 0, 4, 1114132, 0, 4, 1114133, 0, 4, 1114134, 0, 4, 1114135, 0, 131073, 1114136, 0, 4, 1114137, 0, 131073, 1114138, 0, 4, 1114139, 0, 131073, 1114140, 0, 4, 1114141, 0, 131073, 1114142, 0, 4, 1114143, 0, 131073, 1114144, 0, 131073, 1114145, 0, 4, 1114146, 0, 131073, 1114147, 0, 131073, 1114148, 0, 131073, 1114149, 0, 131073, 1114150, 0, 131073, 1114151, 0, 131073, 1114152, 0, 4, 1114153, 0, 4, 1114154, 0, 131073, 1114155, 0, 4, 1114156, 0, 4, 1114157, 0, 131073, 1114158, 0, 4, 1114159, 0, 4, 1114160, 0, 4, 1114161, 0, 4, 1114162, 0, 131073, 1114163, 0, 131074 ) [node name="TrapTiles" parent="SolidPlatforms" instance=ExtResource( 10 )] -tile_data = PoolIntArray( 131105, 2, 0, 131113, 3, 0, 196641, 2, 0, 196649, 3, 0, 262185, 3, 0, 327721, 3, 0, 393249, 0, 0, 393250, 0, 0, 393251, 0, 0, 589824, 2, 0, 655360, 2, 0, 655368, 1, 0, 655373, 1, 0, 917517, 0, 0, 917530, 0, 0, 917531, 0, 0 ) +tile_data = PoolIntArray( 131105, 2, 0, 131113, 3, 0, 196641, 2, 0, 196649, 3, 0, 262185, 3, 0, 327721, 3, 0, 393249, 0, 0, 393250, 0, 0, 393251, 0, 0, 393257, 3, 0, 589824, 2, 0, 655360, 2, 0, 655368, 1, 0, 655373, 1, 0, 917517, 0, 0, 917530, 0, 0, 917531, 0, 0 ) [node name="WiseOldDude" parent="." instance=ExtResource( 13 )] position = Vector2( 643, 161 ) @@ -267,9 +268,6 @@ position = Vector2( 281, -12 ) [node name="Coin3" parent="Coins" instance=ExtResource( 9 )] position = Vector2( 122, 107 ) -[node name="Coin2" parent="Coins" instance=ExtResource( 9 )] -position = Vector2( 596, 43 ) - [node name="AmbiantLighting" parent="." instance=ExtResource( 14 )] [node name="WarpZone" parent="." instance=ExtResource( 15 )] @@ -292,7 +290,7 @@ position = Vector2( 673, 160 ) rotation = -0.785398 [node name="Spring4" parent="." instance=ExtResource( 17 )] -position = Vector2( 529, 92 ) +position = Vector2( 526, 92 ) rotation = 0.785398 [node name="Stomp" parent="." instance=ExtResource( 18 )] @@ -315,4 +313,9 @@ position = Vector2( 87, 64 ) [node name="MaskTrap" parent="." instance=ExtResource( 20 )] position = Vector2( -2, 131 ) + +[node name="Orbs" type="Node2D" parent="."] + +[node name="Orb" parent="Orbs" instance=ExtResource( 21 )] +position = Vector2( 596, 49 ) [connection signal="body_entered" from="CutsceneAreas/OldDudeIntroArea" to="." method="_on_OldDudeIntroArea_body_entered"] diff --git a/src/HUD/HUD.gd b/src/HUD/HUD.gd index 4bee328..a03b2f4 100644 --- a/src/HUD/HUD.gd +++ b/src/HUD/HUD.gd @@ -23,7 +23,7 @@ func _physics_process(delta: float) -> void: $UI/CoinLabel.text = str(fresh_data.coins) _play_update_label_animation($UI/CoinLabel/AnimationPlayer) "orbs": - $UI/OrbsLable.text = str(fresh_data.coins) + $UI/OrbsLable.text = str(fresh_data.orbs) _play_update_label_animation($UI/OrbsLable/AnimationPlayer) "deaths": $UI/DeathsLabel.text = str(fresh_data.deaths) diff --git a/src/Hazards/MaskTrap.gd b/src/Hazards/MaskTrap.gd index a15e943..d4894f7 100644 --- a/src/Hazards/MaskTrap.gd +++ b/src/Hazards/MaskTrap.gd @@ -53,9 +53,11 @@ func _on_fire_animation_ended(): _activated = false $TimeoutTimer.start(timeout) else: - $AnimationPlayer.play("fire") + $AnimationPlayer.play("fire") - pass + +func play_sfx(): + AudioManager.play_sfx(AudioManager.Sfx.MASK_FIRE) func _on_TimeoutTimer_timeout()->void: _can_activate = true; diff --git a/src/Hazards/MaskTrap.tscn b/src/Hazards/MaskTrap.tscn index 9033892..cc2cb35 100644 --- a/src/Hazards/MaskTrap.tscn +++ b/src/Hazards/MaskTrap.tscn @@ -41,10 +41,13 @@ tracks/1/loop_wrap = true tracks/1/imported = false tracks/1/enabled = true tracks/1/keys = { -"times": PoolRealArray( 0.3 ), -"transitions": PoolRealArray( 1 ), +"times": PoolRealArray( 0.1, 0.3 ), +"transitions": PoolRealArray( 1, 1 ), "values": [ { "args": [ ], +"method": "play_sfx" +}, { +"args": [ ], "method": "_on_fire_animation_ended" } ] } @@ -72,7 +75,7 @@ script = ExtResource( 2 ) position = Vector2( 7, -8 ) texture = ExtResource( 1 ) hframes = 6 -frame = 1 +frame = 3 [node name="AnimationPlayer" type="AnimationPlayer" parent="."] autoplay = "armed" diff --git a/src/Items/Coin.tscn b/src/Items/Coin.tscn index f3c8360..f6ba8cc 100644 --- a/src/Items/Coin.tscn +++ b/src/Items/Coin.tscn @@ -215,11 +215,12 @@ collision_layer = 16 script = ExtResource( 2 ) [node name="Sprite" type="Sprite" parent="."] -position = Vector2( 0, -4 ) +self_modulate = Color( 1, 1, 1, 0 ) +position = Vector2( 0, -8 ) texture = ExtResource( 1 ) vframes = 2 hframes = 6 -frame = 2 +frame = 11 [node name="Light2D" type="Light2D" parent="Sprite"] texture = ExtResource( 4 ) @@ -231,6 +232,7 @@ range_item_cull_mask = 1025 visible = false position = Vector2( 0, -4 ) shape = SubResource( 1 ) +disabled = true [node name="AnimationPlayer" type="AnimationPlayer" parent="."] autoplay = "idle" @@ -238,12 +240,11 @@ anims/collected = SubResource( 2 ) anims/idle = SubResource( 3 ) [node name="Label" type="Label" parent="."] -visible = false -margin_left = -4.0 -margin_top = -10.0 -margin_right = 13.0 -margin_bottom = -1.0 -rect_scale = Vector2( 0.5, 0.5 ) +self_modulate = Color( 1, 1, 1, 0 ) +margin_left = -8.0 +margin_top = -16.0 +margin_right = 9.0 +margin_bottom = -7.0 size_flags_horizontal = 15 size_flags_vertical = 15 theme = ExtResource( 3 ) diff --git a/src/Items/Orb.gd b/src/Items/Orb.gd new file mode 100644 index 0000000..43c89a7 --- /dev/null +++ b/src/Items/Orb.gd @@ -0,0 +1,7 @@ +extends Area2D + +func _on_body_entered(body:Node)->void: + if body.name == "Player": + AudioManager.play_sfx(AudioManager.Sfx.COIN_COLLECTION) + GameState.orb_collected() + $AnimationPlayer.play("collected") \ No newline at end of file diff --git a/src/Items/Orb.tscn b/src/Items/Orb.tscn new file mode 100644 index 0000000..c43df19 --- /dev/null +++ b/src/Items/Orb.tscn @@ -0,0 +1,155 @@ +[gd_scene load_steps=7 format=2] + +[ext_resource path="res://assets/Items/orb.png" type="Texture" id=1] +[ext_resource path="res://src/Items/Orb.gd" type="Script" id=2] +[ext_resource path="res://assets/Items/torch_ligt_texture.png" type="Texture" id=3] + +[sub_resource type="Animation" id=1] +resource_name = "collected" +length = 0.6 +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.5, 0.6 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ), +"update": 1, +"values": [ 6, 7, 8, 9, 10, 11 ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("CollisionShape2D:disabled") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ true ] +} +tracks/2/type = "method" +tracks/2/path = NodePath(".") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/keys = { +"times": PoolRealArray( 0.6 ), +"transitions": PoolRealArray( 1 ), +"values": [ { +"args": [ ], +"method": "queue_free" +} ] +} +tracks/3/type = "value" +tracks/3/path = NodePath("Light2D:position") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 0, +"values": [ Vector2( 0, -4 ) ] +} +tracks/4/type = "value" +tracks/4/path = NodePath("Light2D:energy") +tracks/4/interp = 1 +tracks/4/loop_wrap = true +tracks/4/imported = false +tracks/4/enabled = true +tracks/4/keys = { +"times": PoolRealArray( 0, 0.6 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ 1.0, 0.0 ] +} + +[sub_resource type="Animation" id=2] +resource_name = "idle" +length = 0.5 +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4, 0.5 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ), +"update": 1, +"values": [ 0, 1, 2, 3, 4, 5 ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("CollisionShape2D:disabled") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ false ] +} +tracks/2/type = "value" +tracks/2/path = NodePath("Light2D:position") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/keys = { +"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4, 0.5 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ Vector2( 0, -4 ), Vector2( 0, -5 ), Vector2( 0, -5 ), Vector2( 0, -4 ), Vector2( 0, -3 ), Vector2( 0, -3 ) ] +} +tracks/3/type = "value" +tracks/3/path = NodePath("Light2D:energy") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 0, +"values": [ 1.0 ] +} + +[sub_resource type="CircleShape2D" id=3] +radius = 4.0 + +[node name="Orb" type="Area2D"] +collision_layer = 16 +script = ExtResource( 2 ) + +[node name="Sprite" type="Sprite" parent="."] +position = Vector2( 0, -4 ) +scale = Vector2( 1.5, 1.5 ) +texture = ExtResource( 1 ) +vframes = 2 +hframes = 6 + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +autoplay = "idle" +anims/collected = SubResource( 1 ) +anims/idle = SubResource( 2 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +position = Vector2( 0, -4 ) +shape = SubResource( 3 ) + +[node name="Light2D" type="Light2D" parent="."] +position = Vector2( 0, -4 ) +texture = ExtResource( 3 ) +texture_scale = 2.32 +color = Color( 0.745098, 0.901961, 0.901961, 1 ) +range_item_cull_mask = 1025 +[connection signal="body_entered" from="." to="." method="_on_body_entered"] diff --git a/src/Singletons/AudioManager.gd b/src/Singletons/AudioManager.gd index 7c95a4e..0817eab 100644 --- a/src/Singletons/AudioManager.gd +++ b/src/Singletons/AudioManager.gd @@ -32,7 +32,8 @@ enum Sfx{ UI_SELECT, SPRING, SPIKE_TRAP, - VASE_BREAK + VASE_BREAK, + MASK_FIRE } var _sfx_files := { @@ -44,6 +45,7 @@ var _sfx_files := { Sfx.PLAYER_DIE : load("res://assets/Audio/SFX/player_die.wav"), Sfx.SPRING : load("res://assets/Audio/SFX/spring.wav"), Sfx.SPIKE_TRAP : load("res://assets/Audio/SFX/spike_trap.wav"), + Sfx.MASK_FIRE : load("res://assets/Audio/SFX/mask_fire.wav"), Sfx.VASE_BREAK : load("res://assets/Audio/SFX/vase_break.wav"), Sfx.UI_MOVE : load("res://assets/Audio/UI_Sounds/menu_move_sound.wav"), Sfx.UI_SELECT : '', diff --git a/src/Singletons/GameState.gd b/src/Singletons/GameState.gd index f605d8d..5ef6c73 100644 --- a/src/Singletons/GameState.gd +++ b/src/Singletons/GameState.gd @@ -146,3 +146,8 @@ func player_died(): func coin_collected(): _run_data.coins += 10 _data.statistics.coins += 10 + +func orb_collected(): + print("orb collected") + _run_data.orbs += 1 + _data.statistics.orbs += 1 \ No newline at end of file