programming my sounds into my game
DESCRIPTION
My sound implementation process into gamemakerTRANSCRIPT
![Page 1: Programming my sounds into my game](https://reader038.vdocuments.site/reader038/viewer/2022100603/55911a5b1a28ab9b758b4690/html5/thumbnails/1.jpg)
IG3 Task 2 - Programming sounds into my game
I started by loading in the pre-made level of a top down shooter that involves a plane shooting enemies continuously until the player dies.
![Page 2: Programming my sounds into my game](https://reader038.vdocuments.site/reader038/viewer/2022100603/55911a5b1a28ab9b758b4690/html5/thumbnails/2.jpg)
I started by adding all the sounds that would be included into the game, into the sounds folder.
![Page 3: Programming my sounds into my game](https://reader038.vdocuments.site/reader038/viewer/2022100603/55911a5b1a28ab9b758b4690/html5/thumbnails/3.jpg)
To get the background music to play continuously, I had to create an object for my background music and set its properties so that at the start of the level it would play on a loop until the player died and restarted.
![Page 4: Programming my sounds into my game](https://reader038.vdocuments.site/reader038/viewer/2022100603/55911a5b1a28ab9b758b4690/html5/thumbnails/4.jpg)
Then all I had to do was drag and drop the object file into the room.
For the player death sound, I just created an event in the player explosion object that plays the death sound when the death animation starts.
![Page 5: Programming my sounds into my game](https://reader038.vdocuments.site/reader038/viewer/2022100603/55911a5b1a28ab9b758b4690/html5/thumbnails/5.jpg)
I did the same process for the last two sounds; I added the sound to the appropriate object and made it play whenever the object would activate and end when it had finished.
![Page 6: Programming my sounds into my game](https://reader038.vdocuments.site/reader038/viewer/2022100603/55911a5b1a28ab9b758b4690/html5/thumbnails/6.jpg)
The end product had all sounds working perfectly and with all being activated at the right time.
![Page 7: Programming my sounds into my game](https://reader038.vdocuments.site/reader038/viewer/2022100603/55911a5b1a28ab9b758b4690/html5/thumbnails/7.jpg)