Skip to main content

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

More Minor, Yet Important Progress!

Today's work was the beginning of adding audio to the game. I will definitely have to do a lot more, but for now the menu has background music, and a couple of sliders that control the volume. One controls the music and the other is Master. I should probably add a third, for effects.

It was actually really simple to setup. I just added a very basic graph to adjust the slider value to something appropriate for the volume and then adjust the mixer. I also set a saved variable, so the volume will be maintained.  The slider is setup so that it will display the volume level saved too. 

Now I need to figure out how I want to deal with the rest of the audio. And I need to add all kinds of sound effects for things.

I think I may need to make the current music source in the menu a singleton and add an app variable so I can use that to play music throughout. Right now the background music is just a single track that loops, so I'll have to add the ability to change the music, pause it, etc. Maybe figure out a way to add a playlist?

And, of course, I need a whole new audio manager for the sound effects.

Well, that didn't take long. . . I decided I needed to redo it all again, make it better and add a third slider. So I changed the whole graph and made it more betterer. Mind you, there's still so much more to do!

Support this post

Did you like this post? Tell us

Leave a comment

Log in with your itch.io account to leave a comment.