Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

in my game, there are doors that make a sound as they open. The doors are opened by specific light switches. I wrote a system for making the audio quieter as the distance to player increased. 

In one of the levels, the player activates a switch to open a door that’s pretty far away. I had an issue, though, the door was so far away that the the audio’s gain was 0. So, rather than fixing the audio system, I just placed another door in the level slightly offscreen so the sound would play from that door instead as it opens offscreen. Problem solved!

Crafty!