CodeX

Everything connected with Tech & Code. Follow to join our 1M+ monthly readers

Follow publication

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!

Mina Pêcheux
CodeX
Published in
10 min readJun 24, 2021

--

⬅️ 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: !

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 — when you’re faced with a 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…

--

--

CodeX
CodeX

Published in CodeX

Everything connected with Tech & Code. Follow to join our 1M+ monthly readers

Mina Pêcheux
Mina Pêcheux

Written by Mina Pêcheux

I’m a freelance full-stack web & game developer. I’m passionate about topics like CGI, music, data science and more! Find me at: https://minapecheux.com :)

No responses yet

Write a response