Game
Mischieviots
9 years ago

Ambiance Sounds


This week I started working on a new ambiance sound system to be used for playing sounds while walking through the adventure maps.

The final implementation consists of 3 major parts:

2D Walking
Each map the player will be exploring will also contain various zones within them that will indicate different types of walking paths. Each path will have a series of sounds used for footsteps (not loops). When the player moves in/out of each of these zones, their footstep sounds will be updated based upon their current path type (grass, dirt, stone etc).

To reduce loop exhaustion, I don’t use looping sounds, but instead a series of individual step sounds for each type that are randomly chosen upon each “step” taken. This gives a much more even flow of step sounds.

2D Ambiance
Using similar zones to footsteps/paths, the 2D ambiance sounds will also be area’s within the map in which certain “overall” sounds will be played. These zone’s are custom to each map and allow for things such as wind blowing through tree’s when in heavier forest or the general sound of frogs/birds/etc in the background.

Also similar to the footsteps, the list of available sounds in any given “zone” are played randomly with also another random “delay” until the next time it’s played. This helps space things out far better and makes for a more “natural” feel to the sounds.

3D Ambiance
The general concept is based upon sound “waves” that expand outward from various points on the map. These waves allow for multiple sounds to be played within it at various predefined or random intervals and delays. Each wave is also able to choose from a list of sounds to play upon looping instead of always looping the same sound over and over.

Below is a debug screen shot showing a sound wave attached to the chest (just made up). The blue circle represents the “start sound” point with the volume at a low setting. As the player draws closer to the red circle the volume slowly increases until it reaches the max level. As they pass out of the circles, the volume will again reduce as they draw further away from the center.

5d0b8237eaa8b.png


0 comments

Loading...

Next up

art comission.

We are under attack!

🍒Did you like the game? A demo is available for free on Steam.

✌️ Thanks for playing IndieGameiacs!

⚙️ Free Demo: http://bit.ly/UniDuni

📺 Full Video: https://youtu.be/5qEbVXg7GaQ

#steam #uniduni #clops #screenshotsaturday

I have added rewards for quests so that villagers can give you something in return for your hard work helping them. 🥳

I want to know - what's your favourite quest reward?

Quantum precognition is one of the most powerful cards. End game cards & equipment. Demo/alpha build boss is no match for this deck.

The Darkside Detective: A Fumble in the Dark is out TODAY! 🖱️Advanced pointing, clicking action 🖨️Very funny words! Loads of them! 👻6 sarcastic, spectral cases to solve

Why walk when you can jump?

My D&D art for my family so far (WIP if you couldn't tell)

not the greatest house, but it's a house! :D

Auto-chess meets Clash Royale in an intense strategic battle. Outsmart your opponent, hide your play and crush their armies! Empire Builder just got another major update, check it out! https://gamejolt.com/games/EmpireBuilder/558901