top of page
Search

Audio Take Two

  • Writer: Cody Mader
    Cody Mader
  • Apr 26, 2021
  • 1 min read

As mentioned in my previous post, audio settings are important to any game. The previous problems with sliders and saving values were fixed but a new problem came to light. While you could raise or lower the SFX volume and music volume, and even control both with a master slider, there was a major bug. If a player lowered the master slider and then adjusted the SFX or music slider, it would set both SFX and music to whatever the player set them to on their individual sliders and ignore the master slider.

This was a bug that essentially made the audio sliders non-functional since they didn't function properly. I tried a few different solutions until through the help of the Unreal Slackers discord I found a solution I didn't even think of. I was focused on trying to have the master slider have direct control over the SFX and music sliders, even attempting to use the master slider's value as the max value for the SFX and music sliders. When I got stumped I posted my issue in the Unreal Slackers discord and received a response. The solution was to instead use the master slider as a multiplier for the SFX and music sliders. That fixed my problem, and through my research, I also discovered I was missing a call to set the volume for the audio mixes as well.

 
 
 

Recent Posts

See All
We learn from Our Mistakes

This was the final week of working on this project. I primarily try to fix the problem we had with saving from last week. Due to time...

 
 
 
Would You Like to Continue?

This was our final week to add anything new to the game. One thing we tried before but couldn't really figure out at the time was saving...

 
 
 
Going Code Blind

Finding and fixing bugs is a part of programming, and some bugs are very troublesome to find the root of their cause. Often times I find...

 
 
 

Comentarios


Post: Blog2_Post
  • Facebook
  • Twitter
  • LinkedIn

©2021 by C monkey. Proudly created with Wix.com

bottom of page