diff --git a/audio/sounds/arrow_pickup.ogg b/audio/sounds/arrow_pickup.ogg new file mode 100644 index 0000000..72abadd Binary files /dev/null and b/audio/sounds/arrow_pickup.ogg differ diff --git a/audio/sounds/arrow_pickup.ogg.import b/audio/sounds/arrow_pickup.ogg.import new file mode 100644 index 0000000..50906a7 --- /dev/null +++ b/audio/sounds/arrow_pickup.ogg.import @@ -0,0 +1,15 @@ +[remap] + +importer="ogg_vorbis" +type="AudioStreamOGGVorbis" +path="res://.import/arrow_pickup.ogg-dd3468a026da10a508aafd753182197f.oggstr" + +[deps] + +source_file="res://audio/sounds/arrow_pickup.ogg" +dest_files=[ "res://.import/arrow_pickup.ogg-dd3468a026da10a508aafd753182197f.oggstr" ] + +[params] + +loop=false +loop_offset=0 diff --git a/audio/sounds/good_job.ogg b/audio/sounds/good_job.ogg new file mode 100644 index 0000000..d021e01 Binary files /dev/null and b/audio/sounds/good_job.ogg differ diff --git a/audio/sounds/good_job.ogg.import b/audio/sounds/good_job.ogg.import new file mode 100644 index 0000000..920a207 --- /dev/null +++ b/audio/sounds/good_job.ogg.import @@ -0,0 +1,15 @@ +[remap] + +importer="ogg_vorbis" +type="AudioStreamOGGVorbis" +path="res://.import/good_job.ogg-9be33b7ca519dfdba26ae8eadb366548.oggstr" + +[deps] + +source_file="res://audio/sounds/good_job.ogg" +dest_files=[ "res://.import/good_job.ogg-9be33b7ca519dfdba26ae8eadb366548.oggstr" ] + +[params] + +loop=false +loop_offset=0 diff --git a/autoloads/audio.gd b/autoloads/audio.gd index 20292ba..6cc0f3e 100644 --- a/autoloads/audio.gd +++ b/autoloads/audio.gd @@ -32,6 +32,7 @@ const a_confirm = preload("res://audio/sounds/confirm.wav") const a_bullet_barrage = preload("res://audio/sounds/bullet_barrage.ogg") const a_rainbow_laser = preload("res://audio/sounds/rainbow_laser.ogg") const a_spaghetti = preload("res://audio/sounds/spaghetti.ogg") +const a_good_job = preload("res://audio/sounds/good_job.ogg") #Plays a sound func play_sound(snd,player): @@ -48,7 +49,10 @@ func play_shard_sound(): var idx = AudioServer.get_bus_index("sound") AudioServer.set_bus_mute(idx, true) ac_music.set_stream_paused(true) - play_sound(a_shard,ac_shard) + if Game.deaths == 0: + play_sound(a_good_job,ac_shard) + else: + play_sound(a_shard,ac_shard) func _on_ShardSound_finished(): var idx = AudioServer.get_bus_index("sound") diff --git a/maps/lab.tscn b/maps/lab.tscn index f808ce2..06a0b01 100644 --- a/maps/lab.tscn +++ b/maps/lab.tscn @@ -86,12 +86,12 @@ tile_set = ExtResource( 4 ) cell_size = Vector2( 8, 8 ) collision_layer = 9 format = 1 -tile_data = PoolIntArray( 39, 1, 0, 46, 1, 0, 90, 1, 0, 65575, 1, 65536, 65582, 1, 65536, 65583, 4, 65536, 65584, 4, 65536, 65585, 4, 65536, 65586, 4, 65536, 65587, 1, 196609, 65588, 1, 196610, 65589, 1, 196610, 65590, 1, 196610, 65591, 1, 196610, 65592, 1, 196610, 65593, 1, 196610, 65594, 1, 196611, 65626, 1, 65536, 131111, 1, 131073, 131112, 1, 196610, 131113, 1, 196610, 131114, 1, 196610, 131115, 1, 196610, 131116, 1, 196610, 131117, 1, 196610, 131118, 1, 65539, 131162, 1, 65536, 196654, 1, 65536, 196698, 1, 65536, 262190, 1, 131073, 262191, 1, 196610, 262192, 1, 196610, 262193, 1, 2, 262194, 1, 196610, 262195, 1, 196611, 262205, 1, 1, 262206, 1, 196610, 262207, 1, 196610, 262208, 1, 196611, 262213, 1, 196609, 262214, 1, 196610, 262215, 1, 196610, 262216, 1, 196610, 262217, 1, 196611, 262229, 1, 196609, 262230, 1, 196610, 262231, 1, 196610, 262232, 1, 196610, 262233, 1, 196610, 262234, 1, 65539, 327699, 1, 0, 327729, 1, 65536, 327741, 1, 65536, 327770, 1, 65536, 393220, 1, 196609, 393221, 1, 196610, 393222, 1, 196611, 393235, 1, 131072, 393243, 1, 196609, 393244, 1, 196610, 393245, 1, 196610, 393246, 1, 196610, 393247, 1, 2, 393248, 1, 196610, 393249, 1, 196611, 393265, 1, 131073, 393266, 1, 196610, 393267, 1, 196610, 393268, 1, 196610, 393269, 1, 196610, 393270, 1, 196610, 393271, 1, 196610, 393272, 1, 196610, 393273, 1, 196610, 393274, 1, 196610, 393275, 1, 196610, 393276, 1, 196610, 393277, 1, 131075, 393306, 1, 131073, 393307, 1, 196610, 393308, 1, 196610, 393309, 1, 3, 458783, 1, 65536, 458788, 1, 196609, 458789, 1, 196610, 458790, 1, 196610, 458791, 1, 196610, 458792, 1, 196610, 458793, 1, 196610, 458794, 1, 196610, 458795, 1, 196610, 458796, 1, 196610, 458797, 1, 196610, 458798, 1, 196610, 458799, 1, 196611, 458845, 1, 65536, 524319, 1, 65536, 524361, 1, 0, 524381, 1, 65536, 589855, 1, 65536, 589877, 1, 196609, 589878, 1, 196610, 589879, 1, 196610, 589880, 1, 196610, 589881, 1, 196610, 589882, 1, 196610, 589883, 1, 196611, 589896, 1, 1, 589897, 1, 65539, 589908, 1, 196609, 589909, 1, 196610, 589910, 1, 196610, 589911, 1, 196610, 589912, 1, 196610, 589913, 1, 196610, 589914, 1, 196610, 589915, 1, 196611, 589917, 1, 131072, 655390, 1, 196609, 655391, 1, 131075, 655431, 1, 196609, 655432, 1, 131074, 655433, 1, 131074, 655434, 1, 196611, 720899, 1, 0, 720916, 1, 196608, 786435, 1, 131073, 786436, 1, 196610, 786437, 1, 196610, 786438, 1, 196610, 786439, 1, 196610, 786440, 1, 196610, 786441, 1, 196611, 786444, 1, 196609, 786445, 1, 196610, 786446, 1, 196610, 786447, 1, 196610, 786448, 1, 196610, 786449, 1, 196611, 852038, 1, 0, 917573, 1, 1, 917574, 1, 131074, 917575, 1, 196610, 917576, 1, 196610, 917577, 1, 196610, 917578, 1, 196610, 917579, 1, 196610, 917580, 1, 196610, 917581, 1, 196610, 917582, 1, 196610, 917583, 1, 196610, 917584, 1, 196610, 917585, 1, 196610, 917586, 1, 196610, 917587, 1, 196610, 917588, 1, 196611, 917591, 1, 196609, 917592, 1, 196610, 917593, 1, 196611, 917595, 1, 196609, 917596, 1, 196610, 917597, 1, 196610, 917598, 1, 196610, 917599, 1, 196611, 983077, 1, 1, 983078, 1, 196610, 983079, 1, 196610, 983080, 1, 196610, 983081, 1, 196610, 983082, 1, 196611, 983084, 1, 196608, 983087, 1, 196608, 983090, 1, 196609, 983091, 1, 196610, 983092, 1, 196610, 983093, 1, 196610, 983094, 1, 196610, 983095, 1, 196610, 983096, 1, 196610, 983097, 1, 196610, 983098, 1, 196610, 983099, 1, 196610, 983100, 1, 196610, 983101, 1, 196611, 983103, 1, 1, 983104, 1, 196610, 983105, 1, 196610, 983106, 1, 196610, 983107, 1, 196610, 983108, 1, 196610, 983109, 1, 131075, 1048578, 1, 196609, 1048579, 1, 196610, 1048580, 1, 3, 1048586, 1, 196609, 1048587, 1, 196611, 1048593, 1, 196609, 1048594, 1, 196610, 1048595, 1, 196611, 1048610, 1, 1, 1048611, 1, 196610, 1048612, 1, 196610, 1048613, 1, 65539, 1048639, 1, 65536, 1114116, 1, 131073, 1114117, 1, 3, 1114133, 1, 196608, 1114143, 1, 1, 1114144, 1, 196610, 1114145, 1, 196610, 1114146, 1, 131075, 1114149, 1, 65536, 1114175, 1, 65536, 1114190, 1, 1, 1114191, 1, 2, 1114192, 1, 3, 1179653, 1, 131073, 1179654, 1, 2, 1179655, 1, 3, 1179662, 1, 0, 1179677, 1, 196609, 1179678, 1, 196610, 1179679, 1, 131075, 1179685, 1, 131073, 1179686, 1, 196610, 1179687, 1, 196610, 1179688, 1, 196610, 1179689, 1, 196610, 1179690, 1, 3, 1179693, 1, 1, 1179694, 1, 196610, 1179695, 1, 196610, 1179696, 1, 3, 1179711, 1, 131072, 1179723, 1, 196609, 1179724, 1, 196610, 1179725, 1, 196610, 1179726, 1, 131074, 1179727, 1, 131074, 1179728, 1, 131075, 1179732, 1, 196609, 1179733, 1, 3, 1179737, 1, 0, 1245190, 1, 131073, 1245191, 1, 131074, 1245192, 1, 196610, 1245193, 1, 196610, 1245194, 1, 196610, 1245195, 1, 196610, 1245196, 1, 196610, 1245197, 1, 196610, 1245198, 1, 131074, 1245199, 1, 196610, 1245200, 1, 196611, 1245213, -1073741820, 65536, 1245226, 1, 131072, 1245228, 1, 196609, 1245229, 1, 131075, 1245232, 1, 131073, 1245233, 1, 3, 1245252, 1, 196609, 1245253, 1, 196610, 1245254, 1, 196610, 1245255, 1, 196610, 1245256, 1, 196611, 1245269, 1, 131073, 1245270, 1, 3, 1245273, 1, 131072, 1310749, -1073741820, 65536, 1310762, -1073741820, 65536, 1310769, 1, 65536, 1310806, 1, 65536, 1376285, -1073741820, 65536, 1376298, -1073741820, 65536, 1376305, 1, 131072, 1376322, 1, 196609, 1376323, 1, 196611, 1376342, 1, 131072, 1441792, 0, 1, 1441793, 0, 2, 1441794, 0, 2, 1441795, 0, 2, 1441796, 0, 2, 1441797, 0, 2, 1441798, 0, 2, 1441799, 0, 2, 1441800, 0, 2, 1441801, 0, 2, 1441802, 0, 2, 1441803, 0, 2, 1441804, 0, 2, 1441805, 0, 2, 1441806, 0, 2, 1441807, 0, 2, 1441808, 0, 2, 1441809, 0, 2, 1441810, 0, 2, 1441811, 0, 2, 1441812, 0, 2, 1441813, 0, 2, 1441814, 0, 2, 1441815, 0, 2, 1441816, 0, 2, 1441817, 0, 2, 1441818, 0, 2, 1441819, 0, 2, 1441820, 0, 2, 1441821, 0, 2, 1441822, 0, 2, 1441823, 0, 2, 1441824, 0, 2, 1441825, 0, 2, 1441826, 0, 2, 1441827, 1610612736, 2, 1441828, 1610612736, 2, 1441829, 0, 2, 1441830, 0, 2, 1441831, 0, 2, 1441832, 0, 2, 1441833, 0, 2, 1441834, 0, 2, 1441835, 0, 2, 1441836, 0, 2, 1441837, 0, 2, 1441838, 0, 2, 1441839, 0, 2, 1441840, 0, 2, 1441841, 0, 2, 1441842, 0, 2, 1441843, 0, 2, 1441844, 0, 2, 1441845, 0, 2, 1441846, 0, 2, 1441847, 0, 2, 1441848, 0, 2, 1441849, 0, 2, 1441850, 0, 2, 1441851, 0, 2, 1441852, 0, 2, 1441853, 0, 2, 1441854, 0, 2, 1441855, 0, 2, 1441856, 0, 2, 1441857, 0, 2, 1441858, 0, 2, 1441859, 0, 2, 1441860, 0, 2, 1441861, 0, 2, 1441862, 0, 2, 1441863, 0, 2, 1441864, 0, 2, 1441865, 0, 2, 1441866, 0, 2, 1441867, 0, 2, 1441868, 0, 2, 1441869, 0, 2, 1441870, 0, 2, 1441871, 0, 2, 1441872, 0, 2, 1441873, 0, 2, 1441874, 0, 2, 1441875, 0, 2, 1441876, 0, 2, 1441877, 0, 2, 1441878, 0, 2, 1441879, 0, 2, 1441880, 0, 2, 1441881, 0, 2, 1441882, 0, 2, 1441883, 0, 2, 1441884, 0, 2, 1441885, 0, 2, 1441886, 0, 2, 1441887, 0, 3, 1507328, 1, 196609, 1507329, 1, 196610, 1507330, 1, 196610, 1507331, 1, 196610, 1507332, 1, 196610, 1507333, 1, 196610, 1507334, 1, 196610, 1507335, 1, 196610, 1507336, 1, 196610, 1507337, 1, 196610, 1507338, 1, 196610, 1507339, 1, 196610, 1507340, 1, 196610, 1507341, 1, 196610, 1507342, 1, 196610, 1507343, 1, 196610, 1507344, 1, 196610, 1507345, 1, 196610, 1507346, 1, 196610, 1507347, 1, 196610, 1507348, 1, 196610, 1507349, 1, 196610, 1507350, 1, 196610, 1507351, 1, 196610, 1507352, 1, 196610, 1507353, 1, 196610, 1507354, 1, 196610, 1507355, 1, 196610, 1507356, 1, 196610, 1507357, 1, 196610, 1507358, 1, 196610, 1507359, 1, 196610, 1507360, 1, 196610, 1507361, 1, 196610, 1507362, 1, 196610, 1507363, 1, 196610, 1507364, 1, 196610, 1507365, 1, 196610, 1507366, 1, 196610, 1507367, 1, 196610, 1507368, 1, 196610, 1507369, 1, 196610, 1507370, 1, 196610, 1507371, 1, 196610, 1507372, 1, 196610, 1507373, 1, 196610, 1507374, 1, 196610, 1507375, 1, 196610, 1507376, 1, 196610, 1507377, 1, 196610, 1507378, 1, 196610, 1507379, 1, 196610, 1507380, 1, 196610, 1507381, 1, 196610, 1507382, 1, 196610, 1507383, 1, 196610, 1507384, 1, 196610, 1507385, 1, 196610, 1507386, 1, 196610, 1507387, 1, 196610, 1507388, 1, 196610, 1507389, 1, 196610, 1507390, 1, 196610, 1507391, 1, 196610, 1507392, 1, 196610, 1507393, 1, 196610, 1507394, 1, 196610, 1507395, 1, 196610, 1507396, 1, 196610, 1507397, 1, 196610, 1507398, 1, 196610, 1507399, 1, 196610, 1507400, 1, 196610, 1507401, 1, 196610, 1507402, 1, 196610, 1507403, 1, 196610, 1507404, 1, 196610, 1507405, 1, 196610, 1507406, 1, 196610, 1507407, 1, 196610, 1507408, 1, 196610, 1507409, 1, 196610, 1507410, 1, 196610, 1507411, 1, 196610, 1507412, 1, 196610, 1507413, 1, 196610, 1507414, 1, 196610, 1507415, 1, 196610, 1507416, 1, 196610, 1507417, 1, 196610, 1507418, 1, 196610, 1507419, 1, 196610, 1507420, 1, 196610, 1507421, 1, 196610, 1507422, 1, 196610, 1507423, 1, 196611 ) +tile_data = PoolIntArray( 39, 1, 0, 46, 1, 0, 90, 1, 0, 65575, 1, 65536, 65582, 1, 65536, 65583, 4, 65536, 65584, 4, 65536, 65585, 4, 65536, 65586, 4, 65536, 65587, 1, 196609, 65588, 1, 196610, 65589, 1, 196610, 65590, 1, 196610, 65591, 1, 196610, 65592, 1, 196610, 65593, 1, 196610, 65594, 1, 196611, 65626, 1, 65536, 131111, 1, 131073, 131112, 1, 196610, 131113, 1, 196610, 131114, 1, 196610, 131115, 1, 196610, 131116, 1, 196610, 131117, 1, 196610, 131118, 1, 65539, 131162, 1, 65536, 196654, 1, 65536, 196698, 1, 65536, 262190, 1, 131073, 262191, 1, 196610, 262192, 1, 196610, 262193, 1, 2, 262194, 1, 196610, 262195, 1, 196611, 262205, 1, 1, 262206, 1, 196610, 262207, 1, 196610, 262208, 1, 196611, 262213, 1, 196609, 262214, 1, 196610, 262215, 1, 196610, 262216, 1, 196610, 262217, 1, 196611, 262229, 1, 196609, 262230, 1, 196610, 262231, 1, 196610, 262232, 1, 196610, 262233, 1, 196610, 262234, 1, 65539, 327699, 1, 0, 327729, 1, 65536, 327741, 1, 65536, 327770, 1, 65536, 393220, 1, 196609, 393221, 1, 196610, 393222, 1, 196611, 393235, 1, 131072, 393243, 1, 196609, 393244, 1, 196610, 393245, 1, 196610, 393246, 1, 196610, 393247, 1, 2, 393248, 1, 196610, 393249, 1, 196611, 393265, 1, 131073, 393266, 1, 196610, 393267, 1, 196610, 393268, 1, 196610, 393269, 1, 196610, 393270, 1, 196610, 393271, 1, 196610, 393272, 1, 196610, 393273, 1, 196610, 393274, 1, 196610, 393275, 1, 196610, 393276, 1, 196610, 393277, 1, 131075, 393306, 1, 131073, 393307, 1, 196610, 393308, 1, 196610, 393309, 1, 3, 458783, 1, 65536, 458788, 1, 196609, 458789, 1, 196610, 458790, 1, 196610, 458791, 1, 196610, 458792, 1, 196610, 458793, 1, 196610, 458794, 1, 196610, 458795, 1, 196610, 458796, 1, 196610, 458797, 1, 196610, 458798, 1, 196610, 458799, 1, 196611, 458845, 1, 65536, 524319, 1, 65536, 524361, 1, 0, 524381, 1, 65536, 589855, 1, 65536, 589877, 1, 196609, 589878, 1, 196610, 589879, 1, 196610, 589880, 1, 196610, 589881, 1, 196610, 589882, 1, 196610, 589883, 1, 196611, 589896, 1, 1, 589897, 1, 65539, 589908, 1, 196609, 589909, 1, 196610, 589910, 1, 196610, 589911, 1, 196610, 589912, 1, 196610, 589913, 1, 196610, 589914, 1, 196610, 589915, 1, 196611, 589917, 1, 131072, 655390, 1, 196609, 655391, 1, 131075, 655431, 1, 196609, 655432, 1, 131074, 655433, 1, 131074, 655434, 1, 196611, 720899, 1, 0, 720916, 1, 196608, 786435, 1, 131073, 786436, 1, 196610, 786437, 1, 196610, 786438, 1, 196610, 786439, 1, 196610, 786440, 1, 196610, 786441, 1, 196611, 786444, 1, 196609, 786445, 1, 196610, 786446, 1, 196610, 786447, 1, 196610, 786448, 1, 196610, 786449, 1, 196611, 852038, 1, 0, 917569, 1, 1, 917570, 1, 196610, 917571, 1, 196610, 917572, 1, 196610, 917573, 1, 196610, 917574, 1, 131074, 917575, 1, 196610, 917576, 1, 196610, 917577, 1, 196610, 917578, 1, 196610, 917579, 1, 196610, 917580, 1, 196610, 917581, 1, 196610, 917582, 1, 196610, 917583, 1, 196610, 917584, 1, 196610, 917585, 1, 196610, 917586, 1, 196610, 917587, 1, 196610, 917588, 1, 196611, 917591, 1, 196609, 917592, 1, 196610, 917593, 1, 196611, 917595, 1, 196609, 917596, 1, 196610, 917597, 1, 196610, 917598, 1, 196610, 917599, 1, 196611, 983077, 1, 1, 983078, 1, 196610, 983079, 1, 196610, 983080, 1, 196610, 983081, 1, 196610, 983082, 1, 196611, 983084, 1, 196608, 983087, 1, 196608, 983090, 1, 196609, 983091, 1, 196610, 983092, 1, 196610, 983093, 1, 196610, 983094, 1, 196610, 983095, 1, 196610, 983096, 1, 196610, 983097, 1, 196610, 983098, 1, 196610, 983099, 1, 196610, 983100, 1, 196610, 983101, 1, 196611, 983103, 1, 1, 983104, 1, 196610, 983105, 1, 131075, 1048578, 1, 196609, 1048579, 1, 196610, 1048580, 1, 3, 1048586, 1, 196609, 1048587, 1, 196611, 1048593, 1, 196609, 1048594, 1, 196610, 1048595, 1, 196611, 1048610, 1, 1, 1048611, 1, 196610, 1048612, 1, 196610, 1048613, 1, 65539, 1048639, 1, 65536, 1114116, 1, 131073, 1114117, 1, 3, 1114133, 1, 196608, 1114143, 1, 1, 1114144, 1, 196610, 1114145, 1, 196610, 1114146, 1, 131075, 1114149, 1, 65536, 1114175, 1, 65536, 1114190, 1, 0, 1179653, 1, 131073, 1179654, 1, 2, 1179655, 1, 3, 1179662, 1, 0, 1179677, 1, 196609, 1179678, 1, 196610, 1179679, 1, 131075, 1179685, 1, 131073, 1179686, 1, 196610, 1179687, 1, 196610, 1179688, 1, 196610, 1179689, 1, 196610, 1179690, 1, 3, 1179693, 1, 1, 1179694, 1, 196610, 1179695, 1, 196610, 1179696, 1, 3, 1179711, 1, 131072, 1179725, 1, 196609, 1179726, 1, 131075, 1179732, 1, 196609, 1179733, 1, 3, 1179737, 1, 0, 1245190, 1, 131073, 1245191, 1, 131074, 1245192, 1, 196610, 1245193, 1, 196610, 1245194, 1, 196610, 1245195, 1, 196610, 1245196, 1, 196610, 1245197, 1, 196610, 1245198, 1, 131074, 1245199, 1, 196610, 1245200, 1, 196611, 1245213, -1073741820, 65536, 1245226, 1, 131072, 1245228, 1, 196609, 1245229, 1, 131075, 1245232, 1, 131073, 1245233, 1, 3, 1245252, 1, 196609, 1245253, 1, 196610, 1245254, 1, 196610, 1245255, 1, 196610, 1245256, 1, 196611, 1245269, 1, 131073, 1245270, 1, 3, 1245273, 1, 131072, 1310749, -1073741820, 65536, 1310762, -1073741820, 65536, 1310769, 1, 65536, 1310806, 1, 65536, 1376285, -1073741820, 65536, 1376298, -1073741820, 65536, 1376305, 1, 131072, 1376322, 1, 196609, 1376323, 1, 196611, 1376342, 1, 131072, 1441792, 0, 1, 1441793, 0, 2, 1441794, 0, 2, 1441795, 0, 2, 1441796, 0, 2, 1441797, 0, 2, 1441798, 0, 2, 1441799, 0, 2, 1441800, 0, 2, 1441801, 0, 2, 1441802, 0, 2, 1441803, 0, 2, 1441804, 0, 2, 1441805, 0, 2, 1441806, 0, 2, 1441807, 0, 2, 1441808, 0, 2, 1441809, 0, 2, 1441810, 0, 2, 1441811, 0, 2, 1441812, 0, 2, 1441813, 0, 2, 1441814, 0, 2, 1441815, 0, 2, 1441816, 0, 2, 1441817, 0, 2, 1441818, 0, 2, 1441819, 0, 2, 1441820, 0, 2, 1441821, 0, 2, 1441822, 0, 2, 1441823, 0, 2, 1441824, 0, 2, 1441825, 0, 2, 1441826, 0, 2, 1441827, 1610612736, 2, 1441828, 1610612736, 2, 1441829, 0, 2, 1441830, 0, 2, 1441831, 0, 2, 1441832, 0, 2, 1441833, 0, 2, 1441834, 0, 2, 1441835, 0, 2, 1441836, 0, 2, 1441837, 0, 2, 1441838, 0, 2, 1441839, 0, 2, 1441840, 0, 2, 1441841, 0, 2, 1441842, 0, 2, 1441843, 0, 2, 1441844, 0, 2, 1441845, 0, 2, 1441846, 0, 2, 1441847, 0, 2, 1441848, 0, 2, 1441849, 0, 2, 1441850, 0, 2, 1441851, 0, 2, 1441852, 0, 2, 1441853, 0, 2, 1441854, 0, 2, 1441855, 0, 2, 1441856, 0, 2, 1441857, 0, 2, 1441858, 0, 2, 1441859, 0, 2, 1441860, 0, 2, 1441861, 0, 2, 1441862, 0, 2, 1441863, 0, 2, 1441864, 0, 2, 1441865, 0, 2, 1441866, 0, 2, 1441867, 0, 2, 1441868, 0, 2, 1441869, 0, 2, 1441870, 0, 2, 1441871, 0, 2, 1441872, 0, 2, 1441873, 0, 2, 1441874, 0, 2, 1441875, 0, 2, 1441876, 0, 2, 1441877, 0, 2, 1441878, 0, 2, 1441879, 0, 2, 1441880, 0, 2, 1441881, 0, 2, 1441882, 0, 2, 1441883, 0, 2, 1441884, 0, 2, 1441885, 0, 2, 1441886, 0, 2, 1441887, 0, 3, 1507328, 1, 196609, 1507329, 1, 196610, 1507330, 1, 196610, 1507331, 1, 196610, 1507332, 1, 196610, 1507333, 1, 196610, 1507334, 1, 196610, 1507335, 1, 196610, 1507336, 1, 196610, 1507337, 1, 196610, 1507338, 1, 196610, 1507339, 1, 196610, 1507340, 1, 196610, 1507341, 1, 196610, 1507342, 1, 196610, 1507343, 1, 196610, 1507344, 1, 196610, 1507345, 1, 196610, 1507346, 1, 196610, 1507347, 1, 196610, 1507348, 1, 196610, 1507349, 1, 196610, 1507350, 1, 196610, 1507351, 1, 196610, 1507352, 1, 196610, 1507353, 1, 196610, 1507354, 1, 196610, 1507355, 1, 196610, 1507356, 1, 196610, 1507357, 1, 196610, 1507358, 1, 196610, 1507359, 1, 196610, 1507360, 1, 196610, 1507361, 1, 196610, 1507362, 1, 196610, 1507363, 1, 196610, 1507364, 1, 196610, 1507365, 1, 196610, 1507366, 1, 196610, 1507367, 1, 196610, 1507368, 1, 196610, 1507369, 1, 196610, 1507370, 1, 196610, 1507371, 1, 196610, 1507372, 1, 196610, 1507373, 1, 196610, 1507374, 1, 196610, 1507375, 1, 196610, 1507376, 1, 196610, 1507377, 1, 196610, 1507378, 1, 196610, 1507379, 1, 196610, 1507380, 1, 196610, 1507381, 1, 196610, 1507382, 1, 196610, 1507383, 1, 196610, 1507384, 1, 196610, 1507385, 1, 196610, 1507386, 1, 196610, 1507387, 1, 196610, 1507388, 1, 196610, 1507389, 1, 196610, 1507390, 1, 196610, 1507391, 1, 196610, 1507392, 1, 196610, 1507393, 1, 196610, 1507394, 1, 196610, 1507395, 1, 196610, 1507396, 1, 196610, 1507397, 1, 196610, 1507398, 1, 196610, 1507399, 1, 196610, 1507400, 1, 196610, 1507401, 1, 196610, 1507402, 1, 196610, 1507403, 1, 196610, 1507404, 1, 196610, 1507405, 1, 196610, 1507406, 1, 196610, 1507407, 1, 196610, 1507408, 1, 196610, 1507409, 1, 196610, 1507410, 1, 196610, 1507411, 1, 196610, 1507412, 1, 196610, 1507413, 1, 196610, 1507414, 1, 196610, 1507415, 1, 196610, 1507416, 1, 196610, 1507417, 1, 196610, 1507418, 1, 196610, 1507419, 1, 196610, 1507420, 1, 196610, 1507421, 1, 196610, 1507422, 1, 196610, 1507423, 1, 196611 ) [node name="ElectricTiles" parent="." groups=["can_stain"] instance=ExtResource( 28 )] light_mask = 2 position = Vector2( -152, 16 ) -tile_data = PoolIntArray( 131172, 2, 196608, 262172, 2, 196609, 262173, 2, 196610, 262174, 2, 196610, 262175, 2, 196610, 262176, 2, 196611, 786436, 2, 196609, 786437, 2, 196610, 786438, 2, 196610, 786439, 2, 196610, 786440, 2, 196610, 786441, 2, 196611, 786523, 2, 196609, 786524, 2, 196610, 786525, 2, 196610, 786526, 2, 196610, 786527, 2, 196610, 786528, 2, 196610, 786529, 2, 196610, 786530, 2, 196611, 1048586, 2, 196609, 1048587, 2, 196611, 1114154, 2, 1, 1114155, 2, 2, 1114156, 2, 3, 1179689, 2, 1, 1179690, 2, 65538, 1179691, 2, 65538, 1179692, 2, 65538, 1179693, 2, 3, 1245223, 1, 196608, 1245224, 2, 196609, 1245225, 2, 131074, 1245226, 2, 131074, 1245227, 2, 131074, 1245228, 2, 131074, 1245229, 2, 131075 ) +tile_data = PoolIntArray( 131172, 2, 196608, 262172, 2, 196609, 262173, 2, 196610, 262174, 2, 196610, 262175, 2, 196610, 262176, 2, 196611, 786436, 2, 196609, 786437, 2, 196610, 786438, 2, 196610, 786439, 2, 196610, 786440, 2, 196610, 786441, 2, 196611, 786523, 2, 196609, 786524, 2, 196610, 786525, 2, 196610, 786526, 2, 196610, 786527, 2, 196610, 786528, 2, 196610, 786529, 2, 196610, 786530, 2, 196611, 1048586, 2, 196609, 1048587, 2, 196611, 1114154, 2, 1, 1114155, 2, 2, 1114156, 2, 3, 1179689, 2, 1, 1179690, 2, 65538, 1179691, 2, 65538, 1179692, 2, 65538, 1179693, 2, 3, 1245223, 2, 196609, 1245224, 2, 196610, 1245225, 2, 131074, 1245226, 2, 131074, 1245227, 2, 131074, 1245228, 2, 131074, 1245229, 2, 131075 ) [node name="CollisionShape2D" parent="ElectricTiles/DeathTile" index="0"] position = Vector2( -31.4516, -28.2258 ) @@ -140,13 +140,13 @@ tile_set = ExtResource( 9 ) cell_size = Vector2( 8, 8 ) collision_layer = 32 format = 1 -tile_data = PoolIntArray( 196682, 12, 0, 196684, 12, 0, 196685, 12, 0, 196687, 12, 0, 262211, 12, 0, 262218, 12, 0, 262220, 12, 0, 262221, 12, 0, 262223, 12, 0, 327754, 12, 0, 327755, 12, 0, 327756, 12, 0, 327757, 12, 0, 327758, 12, 0, 327759, 12, 0, 327760, 12, 0, 327761, 12, 0, 327762, 12, 0, 327763, 12, 0, 327764, 12, 0, 393230, 12, 0, 393231, 12, 0, 393232, 12, 0, 393233, 12, 0, 393234, 12, 0, 393252, 1, 0, 458818, 12, 0, 655384, 12, 0, 655427, 12, 0, 655436, 12, 0, 655439, 12, 0, 655442, 12, 0, 720902, 1, 0, 720905, 1, 0, 720913, 1, 0, 786453, 12, 0, 786454, 12, 0, 786455, 12, 0, 786457, 12, 0, 786458, 12, 0, 786459, 12, 0, 786460, 12, 0, 851996, 12, 0, 852056, 1, 0, 917532, 12, 0, 917533, 12, 0, 983083, 12, 0, 983085, 12, 0, 983086, 12, 0, 983088, 12, 0, 983089, 1610612748, 0, 983125, 12, 0, 983126, 12, 0, 983130, 12, 0, 1048627, 1610612737, 0, 1048628, 1610612737, 0, 1179717, 1, 0, 1179719, 1, 0, 1179722, -1073741823, 0, 1376310, 1, 0, 1376315, 1, 0, 2031608, 9, 0, 2031609, 6, 0, 2031610, 9, 0, 2031611, 6, 0, 2031612, 9, 0, 2097144, 6, 0, 2097145, 9, 0, 2097146, 6, 0, 2097147, 9, 0, 2097148, 6, 0, 2162680, 9, 0, 2162681, 6, 0, 2162682, 9, 0, 2162683, 6, 0, 2162684, 9, 0, 2228216, 6, 0, 2228217, 9, 0, 2228218, 6, 0, 2228219, 9, 0, 2228220, 6, 0, 2293752, 9, 0, 2293753, 6, 0, 2293754, 9, 0, 2293755, 6, 0, 2293756, 9, 0 ) +tile_data = PoolIntArray( 196682, 12, 0, 196684, 12, 0, 196685, 12, 0, 196687, 12, 0, 262211, 12, 0, 262218, 12, 0, 262220, 12, 0, 262221, 12, 0, 262223, 12, 0, 327754, 12, 0, 327755, 12, 0, 327756, 12, 0, 327757, 12, 0, 327758, 12, 0, 327759, 12, 0, 327760, 12, 0, 327761, 12, 0, 327762, 12, 0, 327763, 12, 0, 327764, 12, 0, 393230, 12, 0, 393231, 12, 0, 393232, 12, 0, 393233, 12, 0, 393234, 12, 0, 393252, 1, 0, 458818, 12, 0, 655384, 12, 0, 655427, 12, 0, 655436, 12, 0, 655439, 12, 0, 655442, 12, 0, 720902, 1, 0, 720905, 1, 0, 720913, 1, 0, 786453, 12, 0, 786454, 12, 0, 786455, 12, 0, 786457, 12, 0, 786458, 12, 0, 786459, 12, 0, 786460, 12, 0, 851996, 12, 0, 852056, 1, 0, 917532, 12, 0, 917533, 12, 0, 983083, 12, 0, 983085, 12, 0, 983086, 12, 0, 983088, 12, 0, 983089, 1610612748, 0, 983125, 12, 0, 983126, 12, 0, 983130, 12, 0, 1048627, 1610612737, 0, 1048628, 1610612737, 0, 1179717, 1, 0, 1179719, 1, 0, 1245257, -1610612735, 0, 1376310, 1, 0, 1376315, 1, 0, 2031608, 9, 0, 2031609, 6, 0, 2031610, 9, 0, 2031611, 6, 0, 2031612, 9, 0, 2097144, 6, 0, 2097145, 9, 0, 2097146, 6, 0, 2097147, 9, 0, 2097148, 6, 0, 2162680, 9, 0, 2162681, 6, 0, 2162682, 9, 0, 2162683, 6, 0, 2162684, 9, 0, 2228216, 6, 0, 2228217, 9, 0, 2228218, 6, 0, 2228219, 9, 0, 2228220, 6, 0, 2293752, 9, 0, 2293753, 6, 0, 2293754, 9, 0, 2293755, 6, 0, 2293756, 9, 0 ) [node name="Ladder" type="TileMap" parent="."] tile_set = ExtResource( 21 ) cell_size = Vector2( 8, 8 ) format = 1 -tile_data = PoolIntArray( 196703, 0, 196609, 262239, 0, 196609, 327680, 536870912, 196609, 327775, 0, 196609, 393216, 536870912, 196609, 393311, 0, 196609, 458752, 536870912, 196609, 458847, 0, 196609, 524288, 536870912, 196609, 524383, 0, 196609, 589824, 536870912, 196609, 589919, 0, 196609, 655360, 536870912, 196609, 655455, 0, 196609, 720896, 536870912, 196609, 720991, 0, 196609, 786432, 536870912, 196609, 786450, 536870912, 196609, 786527, 0, 196609, 851968, 536870912, 196609, 851986, 536870912, 196609, 917504, 536870912, 196609, 983040, 536870912, 196609, 1048576, 536870912, 196609 ) +tile_data = PoolIntArray( 196703, 0, 196609, 262239, 0, 196609, 327680, 536870912, 196609, 327775, 0, 196609, 393216, 536870912, 196609, 393311, 0, 196609, 458752, 536870912, 196609, 458847, 0, 196609, 524288, 536870912, 196609, 524383, 0, 196609, 589824, 536870912, 196609, 589919, 0, 196609, 655360, 536870912, 196609, 655455, 0, 196609, 720896, 536870912, 196609, 720991, 0, 196609, 786432, 536870912, 196609, 786450, 536870912, 196609, 786527, 0, 196609, 851968, 536870912, 196609, 851986, 536870912, 196609, 917504, 536870912, 196609, 983040, 536870912, 196609, 1048576, 536870912, 196609, 1114191, 536870912, 196609, 1179727, 536870912, 196609, 1245263, 536870912, 196609 ) [node name="StaticBody2D" type="StaticBody2D" parent="."] @@ -189,7 +189,7 @@ initial_angle = 4.0 speed = 4.5 [node name="ArtificialSoul3" parent="Enemies" instance=ExtResource( 15 )] -position = Vector2( 624, 144 ) +position = Vector2( 624, 216 ) __meta__ = { "_edit_group_": true } @@ -247,12 +247,6 @@ speed = 60 position = Vector2( 464, 112 ) left_up_boundary = 4.0 -[node name="Bat5" parent="Enemies" instance=ExtResource( 8 )] -position = Vector2( 564, 160 ) -left_up_boundary = 5.0 -right_down_boundary = 2.0 -speed = 80 - [node name="Cop" parent="Enemies" instance=ExtResource( 17 )] position = Vector2( 104, 248 ) @@ -260,10 +254,6 @@ position = Vector2( 104, 248 ) position = Vector2( 312, 136 ) turn_time = 1.25 -[node name="RollingFiend" parent="Enemies" instance=ExtResource( 11 )] -position = Vector2( 40, 40 ) -move_speed = 100.0 - [node name="RollingFiend5" parent="Enemies" instance=ExtResource( 11 )] position = Vector2( 560, 144 ) move_speed = 100.0 @@ -306,7 +296,7 @@ arrow_speed = 100.0 [node name="Roboturret6" parent="Enemies" instance=ExtResource( 16 )] position = Vector2( 616, 136 ) -shoot_time = 2.0 +shoot_time = 2.56 arrow_speed = 200.0 [node name="Roboturret7" parent="Enemies" instance=ExtResource( 16 )] diff --git a/menus/credits.tscn b/menus/credits.tscn new file mode 100644 index 0000000..9aedc5f --- /dev/null +++ b/menus/credits.tscn @@ -0,0 +1,90 @@ +[gd_scene load_steps=8 format=2] + +[ext_resource path="res://shaders/1px_border.gdshader" type="Shader" id=1] +[ext_resource path="res://shaders/ska_plane.gdshader" type="Shader" id=2] +[ext_resource path="res://graphics/hud/logo.png" type="Texture" id=3] + +[sub_resource type="ShaderMaterial" id=1] +shader = ExtResource( 2 ) +shader_param/color_1 = Color( 1, 0.423529, 0.4, 1 ) +shader_param/color_2 = Color( 0.4, 0.52549, 1, 1 ) +shader_param/checker_size = Vector2( 8, 8 ) +shader_param/pan_speed = Vector2( 0, 0 ) +shader_param/cycle_speed = Vector2( 0, 0 ) +shader_param/cycle_alternation = Vector2( 0, 0 ) +shader_param/uv_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) + +[sub_resource type="ShaderMaterial" id=2] +shader = ExtResource( 1 ) +shader_param/border_color = Color( 0, 0, 0, 1 ) +shader_param/border_corners = false + +[sub_resource type="Animation" id=3] +length = 0.001 +tracks/0/type = "value" +tracks/0/path = NodePath("ColorRect:material:shader_param/color_1") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 0, +"values": [ Color( 1, 0.423529, 0.4, 1 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("ColorRect:material:shader_param/color_2") +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": 0, +"values": [ Color( 0.4, 0.52549, 1, 1 ) ] +} + +[sub_resource type="Animation" id=4] +resource_name = "rainbow_cycle" +tracks/0/type = "value" +tracks/0/path = NodePath("ColorRect:material:shader_param/color_1") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 1 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 1, 0.423529, 0.4, 1 ), Color( 1, 0.423529, 0.4, 1 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("ColorRect:material:shader_param/color_2") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 1 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Color( 0.4, 0.52549, 1, 1 ), Color( 0.4, 0.52549, 1, 1 ) ] +} + +[node name="Credits" type="Node2D"] + +[node name="ColorRect" type="ColorRect" parent="."] +material = SubResource( 1 ) +margin_right = 256.0 +margin_bottom = 192.0 + +[node name="Sprite" type="Sprite" parent="."] +material = SubResource( 2 ) +position = Vector2( 128, 96 ) +texture = ExtResource( 3 ) + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +anims/RESET = SubResource( 3 ) +anims/rainbow_cycle = SubResource( 4 )