edited annotationss

7

Click here to load reader

Upload: elliotblack

Post on 08-Jul-2015

26 views

Category:

Design


0 download

TRANSCRIPT

Page 1: Edited annotationss

IG3 Task 2 - Programming sounds into my game Elliot Black

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. The level came with pre-made sounds and objects that I could edit to replace the sounds that were originally there, with my own. I started by removing the sounds that were originally there.

Page 2: Edited annotationss

I then added my own sounds which I had created prior, into the sounds folder and renamed them appropriately, so that they could be accessed easily and not be confused with other sounds for other objects.

Page 3: Edited annotationss

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. To do this I created an event that would play the background music sound on loop. I then dragged the object into the game scene so that it would play when the level started.

Page 4: Edited annotationss

I then dragged the object into the game scene so that it would play when the level started. Since the object had no sprite, it would not appear physically in the game, so there would just be music playing.

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. I didn’t have to create an event here as there already was one from the prior sounds that were in the game. All I had to do was reset the action to play the death sound instead.

Page 5: Edited annotationss

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 since it wasn’t set to loop, it play separately each time the object was activated and not constantly. However the each time the level restarted the background music didn’t stop and played an extra over the one already paying when a new level began. To fix this, I created an extra event that when the player death object activated, the background music would end.

Page 6: Edited annotationss

The end product had all sounds working perfectly without any cutting out or overlapping and with all of them being activated at the right time.

Page 7: Edited annotationss