How to Add Sounds to Your Game in GameMaker: Studio
GameMaker: Studio allows you to design and build games with sound and animation. Sounds make up a large part of games these days. Everything from moody background music that builds as the player anticipates a challenging boss battle, to explosions, bullets firing, a character jumping (sproing!), and more.
To add a Sound resource to GameMaker, follow these steps:
Choose the icon that looks like an old-fashioned stereo speaker (see this figure).
The Sound Properties window opens.Click this icon to create a new Sound.
To load a sound, click the Load Sound button (see this figure).The Sound Properties window.
Navigate to a sound file that you previously saved on your PC.
To play and stop the Sound, click the Play and Stop buttons (refer to this figure).
You hear the Sound when you click Play and it continues to play until you click the Stop button.
You can edit the Sound by clicking the Edit Sound button (refer to this figure).
You need to configure an external sound editor to work with GameMaker in order to edit a Sound. Read on for instructions on how to do this.
Click OK to save and close the Sound Properties window.
You can configure external editors to work within GameMaker. This includes sound editors, image editors, and code editors. To configure an external editor to work in GameMaker, follow these steps:
From the main menu, choose File→Preferences.
The Preferences window appears.
Click the Editors tab (shown in this figure).The Editors tab of the Preferences dialog box.
Click the Open (…) button for the type of editor that you want to configure to work with GameMaker.
Your options are Code Editor, Image Editor, SWF Viewer, and Sound Editors (for WAV files or MP3 files).
A navigation window opens from which you can navigate to and select the editor you want on your PC.
Click OK to save and close the Preferences window.