diff --git a/invasion-force/invasion-force.yyp b/invasion-force/invasion-force.yyp index 0f3fd2c..261bac5 100644 --- a/invasion-force/invasion-force.yyp +++ b/invasion-force/invasion-force.yyp @@ -7,6 +7,7 @@ {"id":{"name":"spr_missile","path":"sprites/spr_missile/spr_missile.yy",},"order":21,}, {"id":{"name":"spr_boss5","path":"sprites/spr_boss5/spr_boss5.yy",},"order":25,}, {"id":{"name":"Title","path":"rooms/Title/Title.yy",},"order":1,}, + {"id":{"name":"snd_beam","path":"sounds/snd_beam/snd_beam.yy",},"order":2,}, {"id":{"name":"obj_boss3","path":"objects/obj_boss3/obj_boss3.yy",},"order":27,}, {"id":{"name":"spr_player_invincible","path":"sprites/spr_player_invincible/spr_player_invincible.yy",},"order":6,}, {"id":{"name":"obj_star","path":"objects/obj_star/obj_star.yy",},"order":2,}, @@ -35,6 +36,7 @@ {"id":{"name":"spr_explosion2","path":"sprites/spr_explosion2/spr_explosion2.yy",},"order":19,}, {"id":{"name":"obj_boss","path":"objects/obj_boss/obj_boss.yy",},"order":9,}, {"id":{"name":"obj_enemy","path":"objects/obj_enemy/obj_enemy.yy",},"order":1,}, + {"id":{"name":"snd_laser","path":"sounds/snd_laser/snd_laser.yy",},"order":0,}, {"id":{"name":"spr_enemy6","path":"sprites/spr_enemy6/spr_enemy6.yy",},"order":18,}, {"id":{"name":"obj_explosion","path":"objects/obj_explosion/obj_explosion.yy",},"order":7,}, {"id":{"name":"Credits","path":"rooms/Credits/Credits.yy",},"order":4,}, @@ -48,6 +50,7 @@ {"id":{"name":"obj_boss4","path":"objects/obj_boss4/obj_boss4.yy",},"order":29,}, {"id":{"name":"spr_shield","path":"sprites/spr_shield/spr_shield.yy",},"order":24,}, {"id":{"name":"obj_arena_spawn","path":"objects/obj_arena_spawn/obj_arena_spawn.yy",},"order":19,}, + {"id":{"name":"snd_explosion","path":"sounds/snd_explosion/snd_explosion.yy",},"order":1,}, {"id":{"name":"pth_boss2","path":"paths/pth_boss2/pth_boss2.yy",},"order":2,}, {"id":{"name":"spr_power_up","path":"sprites/spr_power_up/spr_power_up.yy",},"order":16,}, {"id":{"name":"fnt_default","path":"fonts/fnt_default/fnt_default.yy",},"order":0,}, diff --git a/invasion-force/objects/obj_arena_spawn/Create_0.gml b/invasion-force/objects/obj_arena_spawn/Create_0.gml index 1c15197..a08d301 100644 --- a/invasion-force/objects/obj_arena_spawn/Create_0.gml +++ b/invasion-force/objects/obj_arena_spawn/Create_0.gml @@ -21,4 +21,4 @@ global.boss4Health = 200 global.boss5Health = 500 // boss spawn -alarm[4] = 1 * room_speed +alarm[6] = 1 * room_speed diff --git a/invasion-force/objects/obj_beam/Create_0.gml b/invasion-force/objects/obj_beam/Create_0.gml index 8ab4ec0..00d6014 100644 --- a/invasion-force/objects/obj_beam/Create_0.gml +++ b/invasion-force/objects/obj_beam/Create_0.gml @@ -1,4 +1,5 @@ /// @description Create // You can write your code in this editor -alarm[0] = 2.5 * room_speed \ No newline at end of file +alarm[0] = 2.5 * room_speed +sound = audio_play_sound(snd_beam,1,false) \ No newline at end of file diff --git a/invasion-force/objects/obj_explosion/Create_0.gml b/invasion-force/objects/obj_explosion/Create_0.gml index 6029993..3074661 100644 --- a/invasion-force/objects/obj_explosion/Create_0.gml +++ b/invasion-force/objects/obj_explosion/Create_0.gml @@ -1,4 +1,5 @@ -/// @description Set image speed +/// @description Set image speed and sound // You can write your code in this editor -image_speed = 3 \ No newline at end of file +image_speed = 3 +audio_play_sound(snd_explosion,1,false) \ No newline at end of file diff --git a/invasion-force/objects/obj_laser/Create_0.gml b/invasion-force/objects/obj_laser/Create_0.gml new file mode 100644 index 0000000..7c42feb --- /dev/null +++ b/invasion-force/objects/obj_laser/Create_0.gml @@ -0,0 +1,4 @@ +/// @description Sound +// You can write your code in this editor + +audio_play_sound(snd_laser,1,false) \ No newline at end of file diff --git a/invasion-force/objects/obj_laser/obj_laser.yy b/invasion-force/objects/obj_laser/obj_laser.yy index 7f291d7..2f92dfe 100644 --- a/invasion-force/objects/obj_laser/obj_laser.yy +++ b/invasion-force/objects/obj_laser/obj_laser.yy @@ -36,6 +36,7 @@ {"isDnD":false,"eventNum":0,"eventType":4,"collisionObjectId":{"name":"obj_boss4","path":"objects/obj_boss4/obj_boss4.yy",},"parent":{"name":"obj_laser","path":"objects/obj_laser/obj_laser.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, {"isDnD":false,"eventNum":0,"eventType":4,"collisionObjectId":{"name":"obj_shield","path":"objects/obj_shield/obj_shield.yy",},"parent":{"name":"obj_laser","path":"objects/obj_laser/obj_laser.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, {"isDnD":false,"eventNum":0,"eventType":4,"collisionObjectId":{"name":"obj_boss5","path":"objects/obj_boss5/obj_boss5.yy",},"parent":{"name":"obj_laser","path":"objects/obj_laser/obj_laser.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, + {"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"parent":{"name":"obj_laser","path":"objects/obj_laser/obj_laser.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, ], "properties": [], "overriddenProperties": [], diff --git a/invasion-force/sounds/snd_beam/snd_beam.mp3 b/invasion-force/sounds/snd_beam/snd_beam.mp3 new file mode 100644 index 0000000..eef7787 Binary files /dev/null and b/invasion-force/sounds/snd_beam/snd_beam.mp3 differ diff --git a/invasion-force/sounds/snd_beam/snd_beam.yy b/invasion-force/sounds/snd_beam/snd_beam.yy new file mode 100644 index 0000000..631f5a7 --- /dev/null +++ b/invasion-force/sounds/snd_beam/snd_beam.yy @@ -0,0 +1,23 @@ +{ + "compression": 0, + "volume": 0.25, + "preload": false, + "bitRate": 128, + "sampleRate": 44100, + "type": 0, + "bitDepth": 1, + "audioGroupId": { + "name": "audiogroup_default", + "path": "audiogroups/audiogroup_default", + }, + "soundFile": "snd_beam.mp3", + "duration": 2.93071413, + "parent": { + "name": "Sounds", + "path": "folders/Sounds.yy", + }, + "resourceVersion": "1.0", + "name": "snd_beam", + "tags": [], + "resourceType": "GMSound", +} \ No newline at end of file diff --git a/invasion-force/sounds/snd_explosion/snd_explosion.wav b/invasion-force/sounds/snd_explosion/snd_explosion.wav new file mode 100644 index 0000000..c789505 Binary files /dev/null and b/invasion-force/sounds/snd_explosion/snd_explosion.wav differ diff --git a/invasion-force/sounds/snd_explosion/snd_explosion.yy b/invasion-force/sounds/snd_explosion/snd_explosion.yy new file mode 100644 index 0000000..718e064 --- /dev/null +++ b/invasion-force/sounds/snd_explosion/snd_explosion.yy @@ -0,0 +1,23 @@ +{ + "compression": 0, + "volume": 0.2, + "preload": false, + "bitRate": 128, + "sampleRate": 44100, + "type": 0, + "bitDepth": 1, + "audioGroupId": { + "name": "audiogroup_default", + "path": "audiogroups/audiogroup_default", + }, + "soundFile": "snd_explosion.wav", + "duration": 0.988583, + "parent": { + "name": "Sounds", + "path": "folders/Sounds.yy", + }, + "resourceVersion": "1.0", + "name": "snd_explosion", + "tags": [], + "resourceType": "GMSound", +} \ No newline at end of file diff --git a/invasion-force/sounds/snd_laser/snd_laser.ogg b/invasion-force/sounds/snd_laser/snd_laser.ogg new file mode 100644 index 0000000..f13c72c Binary files /dev/null and b/invasion-force/sounds/snd_laser/snd_laser.ogg differ diff --git a/invasion-force/sounds/snd_laser/snd_laser.yy b/invasion-force/sounds/snd_laser/snd_laser.yy new file mode 100644 index 0000000..e2b9554 --- /dev/null +++ b/invasion-force/sounds/snd_laser/snd_laser.yy @@ -0,0 +1,23 @@ +{ + "compression": 0, + "volume": 0.25, + "preload": false, + "bitRate": 128, + "sampleRate": 44100, + "type": 0, + "bitDepth": 1, + "audioGroupId": { + "name": "audiogroup_default", + "path": "audiogroups/audiogroup_default", + }, + "soundFile": "snd_laser.ogg", + "duration": 0.938651, + "parent": { + "name": "Sounds", + "path": "folders/Sounds.yy", + }, + "resourceVersion": "1.0", + "name": "snd_laser", + "tags": [], + "resourceType": "GMSound", +} \ No newline at end of file