old anotationss
TRANSCRIPT
![Page 1: Old anotationss](https://reader036.vdocuments.mx/reader036/viewer/2022083004/559d0d5b1a28abd5238b45e5/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: Old anotationss](https://reader036.vdocuments.mx/reader036/viewer/2022083004/559d0d5b1a28abd5238b45e5/html5/thumbnails/2.jpg)
I started by adding all the sounds that would be included into the game, into the sounds folder.
![Page 3: Old anotationss](https://reader036.vdocuments.mx/reader036/viewer/2022083004/559d0d5b1a28abd5238b45e5/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: Old anotationss](https://reader036.vdocuments.mx/reader036/viewer/2022083004/559d0d5b1a28abd5238b45e5/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: Old anotationss](https://reader036.vdocuments.mx/reader036/viewer/2022083004/559d0d5b1a28abd5238b45e5/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: Old anotationss](https://reader036.vdocuments.mx/reader036/viewer/2022083004/559d0d5b1a28abd5238b45e5/html5/thumbnails/6.jpg)
The end product had all sounds working perfectly and with all being activated at the right time.
![Page 7: Old anotationss](https://reader036.vdocuments.mx/reader036/viewer/2022083004/559d0d5b1a28abd5238b45e5/html5/thumbnails/7.jpg)