Files
QtGameMaker/help/files/108_00_sounds.html
T

52 lines
1.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<title>Sound and music</title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body background="images/back.gif">
<!--START-->
<h1>Sounds and music</h1>
Most games have certain sound effects and some background music. Many useful
sound effects can be found on the <i>Game Maker</i> website. Many more can be
found on other places on the web.
<p>
To create a sound resource in your game, use the item <b>Create Sound</b> in
the <b>Resources</b> menu or use the corresponding button on the toolbar.
The following form will pop up.
<p>
<img src="images/form_sound.jpg">
<p>
To load a sound, press the button labeled <b>Load Sound</b>.
A file selector dialog pops up in which you can select the sound file.
There are two types of sound files, wave files and midi files.
Wave files are used for short sound effects. They use a lot of memory
but play instantaneously. Use these for all the sound effects in your game.
Midi files describe music in a different way. As a result they use a lot
less memory, but they are limited to instrumental background music.
Also, default only one midi sound can play at any time.
<p>
Once you load a music file you can listen
to the sound using the play button. There is also a button <b>Save Sound</b>
to save the current sound to a file. This button is not really required
but you might need it if you lost the original sound.
<!--END-->
</body>
</html>
<!-- KEYWORDS
adding sounds
creating sounds
sounds
music
midi files
wave files
saving sounds
-->