Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
OpenGL Game Development By Example

You're reading from   OpenGL Game Development By Example Design and code your own 2D and 3D games efficiently using OpenGL and C++

Arrow left icon
Product type Paperback
Published in Mar 2016
Publisher
ISBN-13 9781783288199
Length 340 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Robert Madsen Robert Madsen
Author Profile Icon Robert Madsen
Robert Madsen
Stephen Madsen Stephen Madsen
Author Profile Icon Stephen Madsen
Stephen Madsen
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Bleeps and bloops


Imagine watching a move that has no sound. As the main character runs down the alley, there are no footsteps. There is no swishing sound as his arms rub his jacket. There is no screech as a car comes to a halt just before hitting him.

A movie without sound would be pretty boring, and so would most games. Sounds bring games to life. The best sound design is one where the player doesn't actually realize there is a sound design. This means crafting sound effects and music in a way that complement the game without being obnoxious.

Sound effects

Sound effects generally correspond to some event or action that is happening in the game. A particular sound often corresponds to something that the player can see, but sound effects may also occur for something that the player cannot see, perhaps just round the corner.

Let's add our first sound effects to the game. We'll keep it simple and add the following sounds:

  • A rolling sound as Robo moves across the screen

  • A sound when Robo jumps up...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime