O'Reilly logo

GameMaker Cookbook by Brandon Gardiner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Now Hear This! – Music and Sound Effects

In this chapter, we'll cover the following topics:

  • Importing and playing background music
  • Implementing situational sound effects
  • Adding sound emitters and listeners
  • Adjusting the listener orientation
  • Replicating the Doppler effect with emitters

Introduction

When you think about it, sound is not absolutely necessary to the majority of video games; most of us have played a game with the sound off at one point or another. Having said this, most gamers would certainly agree that sound effects and music make the experience much more enjoyable. In fact, there are many games in which sound and music comprise most, if not all, of the gameplay. Consider playing Guitar Hero or Rock Band with no sound. While you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required