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

Chapter 7. Audio Adrenaline

This is the final chapter on the 2D game that we have been working on. Although our Robo Racer 2D game is almost complete, there is one element that we have yet to include to make it a complete game. Unless you like silent movies, you have probably noticed that we don't have any audio in this game. Most games depend on audio, and ours is no exception. In this chapter, we will cover audio and a few other housekeeping items.

  • Audio formats: It is important to understand how audio is represented in computers and how it is used in games. We will discuss sample rates and bits and help you understand how audio works.
  • Audio engine: We need some kind of audio engine to integrate audio into our game. We will discuss FMOD, a very popular engine that allows you to easily integrate audio using C++.
  • SFX: Sound effects play a huge role in most games and, we will add sound effects to our game to bring it to life.
  • Music: Most games utilize some kind of music. Music...
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 €18.99/month. Cancel anytime