Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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
Learning Unreal Engine Game Development

You're reading from   Learning Unreal Engine Game Development A step-by-step guide that paves the way for developing fantastic games with Unreal Engine 4

Arrow left icon
Product type Paperback
Published in Feb 2016
Publisher
ISBN-13 9781784398156
Length 274 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Joanna Lee Joanna Lee
Author Profile Icon Joanna Lee
Joanna Lee
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. An Overview of Unreal Engine FREE CHAPTER 2. Creating Your First Level 3. Game Objects – More and Move 4. Material and Light 5. Animation and AI 6. A Particle System and Sound 7. Terrain and Cinematics Index

Exercise – adding custom sounds to a level


In order to place sound in the level, you need to use the Ambient Sound node to associate it with a sound cue, which would, in turn, play the audio files.

To create an Ambient Sound node, go to Modes | All Classes, drag and drop Ambient Sound into the game level:

Click on the Ambient Sound Actor that you have just placed into the level, and rename it AmbientSound_Vivaldi. In the Details panel, scroll to the Sound section, click on the arrow next to Sound to display the sound assets that you have in the game level packages, as shown in the following screenshot. Select Vivaldi_Spring_Allegro_ByJohnHarrison_Cue.

Check whether you can still hear the music by clicking on the Play button in the Details panel of AmbientSound_Vivaldi. Now, let's build the level and run it. Notice that the music plays when you start the level.

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