Volume slider consistency with music?
So thanks to POM I got the volume slider working. But how do I keep the volum attributes saved thought out the game?
I adjust the volume in the title scene's options.
On the volume knob I have a rule the goes
When touch is release-
Save attribute device.audio.music (or whatever the music attributes name is, I'm not by my computer)
Then on the first level, I have an actor that loads the volume attribute.
So when I load the level after making adjustments to the music volume, it loads the level with the music blasting at full volume. The damn Neighbors called the cops on me! No not really but yea. The music didn't saved to the previously saved and loaded music volume attribute.
Music doesn't have a volume option. Only loop. That's it. Unlike sound which I can constraint the volume of it to an attribute right from the behaviors.
So how to I keep the music volume consistent with my adjustments to my sliders?
I adjust the volume in the title scene's options.
On the volume knob I have a rule the goes
When touch is release-
Save attribute device.audio.music (or whatever the music attributes name is, I'm not by my computer)
Then on the first level, I have an actor that loads the volume attribute.
So when I load the level after making adjustments to the music volume, it loads the level with the music blasting at full volume. The damn Neighbors called the cops on me! No not really but yea. The music didn't saved to the previously saved and loaded music volume attribute.
Music doesn't have a volume option. Only loop. That's it. Unlike sound which I can constraint the volume of it to an attribute right from the behaviors.
So how to I keep the music volume consistent with my adjustments to my sliders?
Comments