YoYo Games Wiki

Sounds

From YoYoGames Wiki

(Redirected from Sound)

Template:Resource Sounds are a type of resource in Game Maker. The following sound formats can be used in Game Maker:

  • Wave Files (.wav)
  • Midi Files (.mid, .rmi, .midi)
  • DirectMusic Files (.sgt)
  • MP3 Files (MP3), but must be played using the function that allows playing of the sound using an external media player. (See List of Sounds)

Game Maker has built-in functions to play and stop sounds, to set sound volume, and panning and functions to add effects to a sound.

List of Sounds

  • Normal sound: Sounds played normally. It can either be a Wave or a Midi file.
  • Background music: Music intended to be played as background music. Can be a Midi file.
  • 3D sound: Should be a Wave file.
  • Multimedia Player Sound: Sounds/music that can be in any file format. In order for a player to be able to hear the sound, the player's computer must be able to support the file format.

Usage

Sounds can be set under any of the four options above, provided that they're in the proper format to be used under the options.

Sounds can have the following effects applied to them.

  • Chorus
  • Flanger
  • Gargle
  • Echo
  • Reverb

The volume and panning (that is, how physically to the left or right a sound is) can also be adjusted, and whether the song is preloaded can be set. If an external sound editor is supplied, it can be used to edit the sound.