Sound game maker explanations

Post on 19-Jun-2015

217 views 0 download

Tags:

transcript

First of all, I imported all of my sound assets. I discovered that only one .mp3 sound can play at any one time, so I imported most of my sounds in .wav format, as this would all for multiple sounds to play and overlap. The file size as also smaller. Mp3 was a better choice for my background music though, which plays throughout the game. To import a sound, I clicked on the audio icon near the top of the screen.

The first sound, ‘Doors_open’ plays when you start a new game. The easiest way to do this was to put it in a left click event for the ‘play_game_obj’. I put this in a release event instead of a press event so that the sound plays immediately after the user clicks the button, and not before. I also put the change room action in here so that everything happens much more swiftly than it would if it were in the Left Pressed action.