Book Image

Game Audio Development with Unity 5.X

By : Micheal Lanham
Book Image

Game Audio Development with Unity 5.X

By: Micheal Lanham

Overview of this book

Game Audio is one of the key components in making a game successful and it is quite popular in the gaming industry. So if you are a game developer with an eye on capturing the gamer market then this book is the right solution for you. In this book, we will take you through a step by step journey which will teach you to implement original and engaging soundtracks and SFX with Unity 5.x. You will be firstly introduced to the basics of game audio and sound development in Unity. After going through the core topics of audio development: audio sources, spatial sound, mixing, effects, and more; you will then have the option of delving deeper into more advanced topics like dynamic and adaptive audio. You will also learn to develop dynamic and adaptive audio using the Unity Audio Mixer. Further, you will learn how professional third party tools like FMOD are used for audio development in Unity. You will then go through the creation of sound visualization techniques and creating your own original music using the simple yet powerful audio workstation Reaper. Lastly, you will go through tips, techniques and strategies to help you optimize game audio performance or troubleshoot issues. At the end of the book, you’ll have gained the skills to implement professional sound and music. Along with a good base knowledge audio and music principles you can apply across a range of other game development tools.
Table of Contents (21 chapters)
Title Page
Credits
About the Author
About the Reviewer
Acknowledgments
www.PacktPub.com
Customer Feedback
Dedication
Foreword
Preface

A dynamic audio wind effect


One of the sounds we avoided or missed up until now is the sound of the wind. The wind certainly has an affect in our scene. Run the game and walk up to a torch, and you will notice the smoke blows in a direction away from the water. Here is a screenshot showing the smoke blowing away from the torch by the rock in the scene:

Showing the direction of the wind in our village scene

Note

The smoke may be faint to see if you are too close; so stand back a little from the torch.

If you run the game for a while, you will even notice that the smoke (particles) is blown around in what looks like gusts of wind. So ideally, if we want to add a natural wind sound, we want the audio controlled by the same element that is blowing the smoke particles, which is exactly what we are going to do in the next exercise:

  1. Open up Unity and direct your attention to the Hierarchy window. Search for or see if you can spot the Wind Zone object near the top of the list. After you find the object...