Game
Zelter

6 years ago

Devlog 2. About Zhelter's sounds.


Zhelter's sounds are made up pretty unique even more then my original thoughts. We have Pixel-art styles, and pretty retro play styles. Therefore, most of people thinks about sounds should be retro as well.

Thing is, I am highly disagree with that. Regardless those thinks, Why not if sounds are more modern, why not it has more realistic, more powerful.

And that's where my thoughts start.


Before we start, We are currently using Unity Audio Engine.

We all knows about Unity Audio is crap but actually, It has everything for designing of sounds.


Most of people think about 'Games should remains games, not the real' but they forgot 'games are inspired by reality'

Might this is a little bit hard to understand, but you'll know after all.

image.png

Let's pretend this is player.

image.png

And this is a monster.

image.png

And in Unity will be like this

image.png

I put player in center and monster to right within range 10 meters. The player keep firing bullets to monster and monster is playing hurt sound.

In reality, 10 meters is might enough to cancel voice of monster. But the image currently we're looking is feels like not that far enough to cancel.

How so?

Because in-game distance is relative. Which means in real life it is 30 meters but in-game it could be less then 10 meters. This factor can be adapted by any various like depends on in-game character size, view of camera, even room of size.

Then, how the sound should play the monster voice?

Let's pretend Audio Listener is attached to center of camera. And now we know monster sound shouldn't be cancel by firing sound. How about audio panning? If we do nothing about it, sound will remains only right side of speakers which is terrible.

For the 3rd party middle-wares can fix this easily by adjusting radius of sound field, but in Unity audio engine, we have to fix one by one. However middle-wares aren't always correct because distance is relative.


Before to do, we need to define our own sound field in-game like this.

kakaotalk_20191216_144759724.jpg

This is my whiteboard for Zhelter project. The circle at the middle one is player and radius meters are arounds it, player is on the road and sidewalk is right above the player, left bottom, right bottom.

I marked 2m, 5m radius for closes to enough to player, and 10m radius for close range. and the rectangle arounds outside is camera size, width is 26 meters, height is 15 meters.

I draw this for implement exact correct sound design which I want to. We don't need to specifically draw of it, if we can easily recognizable, It's totally fine.

So, we defined our own sound field. It's time to design.

If the sounds play within 2-3 meters radius, I think it is close to enough to play almost 2 dimensional sound which is stereo sound. In reality, if sound is playing right side of head, sound is literally "spread" to left side between 90 to almost 240 degrees depends on how the sound is far from ears.

image.png

To fix this, we need to use spread, and 3D/2D blend options in Spatializer if it is stereo sound.

Now, we fixed panning problem. But there is more, like expression of distance.

If you are near the harbor, or train station, you suddenly realize lower frequencies are much louder then high frequencies. Because lower frequencies are travels more then high frequencies. Therefore, we can easily think about if sound travels far enough, the sound left almost lower frequencies.

This is my basic concept of low-pass filter.

image.png

So if sounds play beyond close range, should be filtered because it is far enough to reduce high frequencies.

It is not end, we need to fix when the sounds play over the player's head, when the player is inside, how about outside, etc.

Those are remains for next article if I have another chance to write about.


Just one more.

kakaotalk_20191216_145128705.png

I want to put really loud and scary gunshots when the player start to shoot Zombie or something. Maybe some people could say, "Isn't it bit much?" and yes it should be. Because very basic concept of this game, gunshots can pulling the Zombies, and horde as well.

Even I want to separate gunshots between indoor-outdoor. This was a tricky part.


Thank you, See you in next article!

-Syadeu, Sound designer.


Discord :: https://discord.gg/jgDxfvH

Twitter :: https://twitter.com/g1_zhelter



1 comment

Loading...

Next up

But these barricades are total humbugs!🗑️ Does anyone use them at all?🤔 #gamedev #gameaudio #artsncrafts

Someone in the comments asked for a 'bomb💣 show off' video, so here you are! I heard that today is the #WithlistWednesday, so feel free to wishlist Zelter as well.👇 https://store.steampowered.com/app/1193340/Zelter/ #wipwednesday #indiedevhour #indiegames #indiedev

Do you still consider barricades🚧 ineffective? Although perhaps you're right, it would probably be worth reducing📉 their price in resources. #wishlistwednesday #pixelart #pixel_art #pixelartinspiration #pixelarts #pixelartgame #pixelgif #pixelartist

As far as I can remember, you like the videos from this park🏞️, don't you? So here's the new run, which then turned into a battle with BigBro👊 #gamedev #indiegame #pixel #pixelart

It's been a while since we showed you some kills with a crossbow🏹, isn't it? If it had automatic charging and the ability to pull out bolts➡️ from dead zombies, it would be great. #zombiegame #zombies #indiegames #gamedev

So rude of them, right? Thank God🙏 we have some of these blade traps. Get your Zelter copy on ➡️ playzelter.com #ScreenshotSaturday #indiedev #gamedev #indiegame #unity

Do you guys familiar with those "Tower Defence" games?🗼 Get your Zelter copy on Steam➡️ https://store.steampowered.com/app/1193340/Zelter/ #screenshotsaturday #pixelaesthetic #pixelartsociety #8bitart #pixelartwork

It's never too late to start a new page of your journey.☄️ But do not try to cut down trees, I did it only for the video, after which I booted back.🤭 #pixelart #pixel_art #pixelartinspiration #pixelgif #pixelartanimation #animation #indiegames

That's how you loot boxes when you're rich🤑 on bullets. Get your Zelter copy on ➡️ playzelter.com #ScreenshotSaturday #indiegames