Skip to content

Commit

Permalink
Sound effects added
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwatson484 committed Jan 30, 2021
1 parent 5d7542b commit 9b953b7
Show file tree
Hide file tree
Showing 12 changed files with 83 additions and 4 deletions.
3 changes: 3 additions & 0 deletions invasion-force/invasion-force.yyp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion invasion-force/objects/obj_arena_spawn/Create_0.gml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ global.boss4Health = 200
global.boss5Health = 500

// boss spawn
alarm[4] = 1 * room_speed
alarm[6] = 1 * room_speed
3 changes: 2 additions & 1 deletion invasion-force/objects/obj_beam/Create_0.gml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/// @description Create
// You can write your code in this editor

alarm[0] = 2.5 * room_speed
alarm[0] = 2.5 * room_speed
sound = audio_play_sound(snd_beam,1,false)
5 changes: 3 additions & 2 deletions invasion-force/objects/obj_explosion/Create_0.gml
Original file line number Diff line number Diff line change
@@ -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
image_speed = 3
audio_play_sound(snd_explosion,1,false)
4 changes: 4 additions & 0 deletions invasion-force/objects/obj_laser/Create_0.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/// @description Sound
// You can write your code in this editor

audio_play_sound(snd_laser,1,false)
1 change: 1 addition & 0 deletions invasion-force/objects/obj_laser/obj_laser.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added invasion-force/sounds/snd_beam/snd_beam.mp3
Binary file not shown.
23 changes: 23 additions & 0 deletions invasion-force/sounds/snd_beam/snd_beam.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
23 changes: 23 additions & 0 deletions invasion-force/sounds/snd_explosion/snd_explosion.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added invasion-force/sounds/snd_laser/snd_laser.ogg
Binary file not shown.
23 changes: 23 additions & 0 deletions invasion-force/sounds/snd_laser/snd_laser.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9b953b7

Please sign in to comment.