Hello there !
I'm having troubles while implementing the 'Options' feature in our Titlescreen scene.
I currently have 3 Slider gameobjects, one for Music volume, one for SFX volume and one for Speech volume. Each Slider uses the 'Kickstarter.options.SetVolume()' method to change (and save) the proper sound volume.
The volume is correctly being changed in the settings.
My problem is : When I play sound with the actions "Sound : Play" or "Sound : Play Music", the volume value in the settings has no impact, even though I have created Sound gameobjects through AC Game Editor, and correctly set the 'Sound Type'.
Example : If I put the Music volume to 0, I can still hear the music from the Sound gameobjects with Soundtype == Music.
What I noticed : The "Sound : Play One Shot" works fine with the SXF volume setting. So I checked the source and saw that the 'Options.GetMusicVolume()' wasn't used at all in the project (unlike the GetSXFVolume which is used in the PlayOneShot action script).
AC version : v1.61.2 - We are currently planning to update to the most recent version next week.
Do you have any idea of what could be wrong ? (in case something is wrong of course)
Thank you !
Comments
We are currently working on Windows Platform, and we will test the options on our next build session which is on Thursday.
At the moment I tried to call the 'Kickstarter.stateHandler.UpdateAllMaxVolumes()' every time the slider is modified, which sets the max volume of every Sound object in the scene, but the sound volume still remains the same.
Let's hope it is just an update issue !