08.11.2012 Views

Designing Games with Game Maker - YoYo Games

Designing Games with Game Maker - YoYo Games

Designing Games with Game Maker - YoYo Games

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Sounds and music<br />

Most games have certain sound effects and some background music. Many useful sound<br />

effects can be found on the <strong>Game</strong> <strong>Maker</strong> website. Many more can be found on other places on<br />

the web.<br />

To create a sound resource in your game, use the item Create Sound in the Resources<br />

menu or use the corresponding button on the toolbar. The following form will pop up.<br />

To load a sound, press the button labeled Load Sound. A file selector dialog pops up in which<br />

you can select the sound file. There are two types of sound files, wave files and midi files.<br />

Wave files are used for short sound effects. They use a lot of memory but play<br />

instantaneously. Use these for all the sound effects in your game. Midi files describe music in a<br />

different way. As a result they use a lot less memory, but they are limited to instrumental<br />

background music. Also, default only one midi sound can play at any time.<br />

Once you load a music file you can listen to the sound using the play button. There is also a<br />

button Save Sound to save the current sound to a file. This button is not really required but<br />

you might need it if you lost the original sound.<br />

Backgrounds<br />

The third type of basic resource is backgrounds. Backgrounds are usually large images that<br />

are used as backgrounds (or foregrounds) for the rooms in which the game takes place. Often<br />

background images are made in such a way that they can tile an area <strong>with</strong>out visual cracks. In<br />

this way you can fill the background <strong>with</strong> some pattern. A number of such tiling backgrounds<br />

can be found on the <strong>Game</strong> <strong>Maker</strong> website. Many more can be found at other places on the<br />

web.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!