UPDATE: I have been investigating the issue and I've narrowed it down. I decided to make a test game and the audio worked perfectly. If anything, it was too loud. Adjusting the volume slider worked like a charm. I tested out adding just the screens.rpy to the test game and the moment I touched the volume slider, it reduced it down to a quiet level. Every time I relaunched it after that, it was really quiet. So I went digging through the screens.rpy to find out what the issue was. I'm still not entirely sure what is causing this, but I discovered something new.
I removed the entire "Preferences" section from the screens.rpy as a test. When I launched the game and went into "Preferences", a super basic version of the screen showed up and the volume slider was at about 30%. When I turned it up, the music was perfectly loud again. I added the preferences section back in and relaunch the project. Volume was still super loud. I then went into preferences, touched the slider, and bam. Back to the age old issue of immediately going quiet, and never getting louder again. It seems like something with the slider is reducing the volume to 30% and never raising it higher than that.
I think it might also be affecting the sound effects, too, as I could hear my sound effects just fine in my test game, but not at all in my main game.
This is the code I am using for my sliders:
Code: Select all
bar: #BGM Volume
left_bar "gui/Settings/slider_full.png"
right_bar "gui/Settings/slider_empty.png"
thumb None
value Preference("music volume") pos 1170,315
bar: #SFX Volume
left_bar "gui/Settings/slider_full.png"
right_bar "gui/Settings/slider_empty.png"
thumb None
value Preference("sound volume") pos 1170,483
Strangely enough, the text speed slider, which looks like the audio sliders, functions completely as expected.