Stimulating Player Immersion With Sound

When designing any sort of game, sound design is very important. Sound is one of the main outputs from the game to the player in addition to visuals. Music, sound effects, ambiance, etc are all core components of a truly immersive experience.

In this article, I will be going over the basics of sound implementation in Unity by adding background music to my game!

It’s actually quite simple to do.

All you have to do is create an empty game object in Unity, and attach the component “Audio Source” to it. Then drag and drop your audio file into the ”Audio Clip” section within the component. Lastly, check the Start On Awake” and “Loop” boxes so that the music continues to play.

That’s it. If you followed these steps accurately, you should be able to hear the music playing in the background when you are in your game!

--

--

--

Hi, my name is Adam Reed and I am a software engineer specializing in Unity and C# development. Feel free to scroll through and check out some of my work!

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

6 BEST Fonts for Programming in 2021

🔖 Banggood sale

BIM is Only the Beginning

Pros and Cons of Cyclomatic Complexity as a Metric

MLBB: The Aspirants Mystery Box

Structure of the Lumenswap and its components

What’s the Business Model for Open-Source Software Anyway?

An Introduction to Azure Stream Analytics Job

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adam Reed

Adam Reed

Hi, my name is Adam Reed and I am a software engineer specializing in Unity and C# development. Feel free to scroll through and check out some of my work!

More from Medium

Using Reflection Probes To Improve Game Visuals

Activation Tracks Using Timeline in Unity 2020

When to Stop — A Game Over Screen

What is a Control Track