Using the GM:S Audio engine

GameMaker: Studio comes with two different sound engines for controlling the various audio in games: GM:S Audio and Legacy Sound. These systems are completely independent from each other and you can have one system or the other active in a game.

The GM:S Audio engine is the new, more robust sound system that was designed to allow a full 3D soundscape through the use of emitters and listeners. Emitters allow for the positioning in game space where sounds are going to occur. There are functions for adding falloff of the sounds, velocity to emulate movement, and more. Listeners give even more control by dictating how the sound is played based on where the player is in the game, including their orientation and velocity. ...

Get HTML5 Game Development with GameMaker now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.