Member-only story
Making a RTS game #16: Introducing a sound system 1/2 (Unity/C#)
Today, we’ll start designing a completely new system in our game to add some sounds!
⬅️ Tutorial #15: Adding a minimap and fog of war 3/3| TOC | Tutorial #17: Introducing a sound system 2/2 ➡️
📕 Get the ebook and bonus material on Gumroad!
🚀 Find the code of this tutorial series on my Github!
We’ve worked on quite a lot of features so far: instantiating and moving units, setting up a camera, lighting up the scene with some FOV and fog of war… there is, however, one thing we haven’t talked about yet: sounds!

Since we need to prepare quite a lot of little things, I’ll split this tutorial in two parts — in this article we’ll focus more on why sounds are paramount in games, how Unity’s sound system works and how you can avoid consuming too much memory with your audio clips. Then in part 2 we’ll actually implement the system and play our audio files during the game.
Sounds in video games
Sounds are crucial for immersion — when you’re faced with a multimedia content like a movie or a video game, they are about as important as images. Over the years, video games have improved in their rendition of sounds: from the 8-bit…