Tohriv

Warper
Member
Joined
Aug 26, 2021
Messages
2
Reaction score
1
First Language
English
Primarily Uses
VNM
Hello, I'm new to this and I've found a problem that will probably require some programming help.
I've been adding some dynamic songs in my VN, as in there's a base layer that's always on and several more that play at the same time but start at 0% volume, and during the scene I turn them on (100% volume) or off (back to 0%) using script commands. That all works fine.

The problem comes in when you go into the game settings and touch the volume slider. All layers currently playing instantly stop and never come back unless there's a command in the scene to turn them back on. I've tried several things, but nothing works right. For example, if I start all layers at 100% volume and then put the ones that aren't supposed to be playing at 0% (which for some reason it doesn't work instantly, so doing it that way would create another problem), changing the volume doesn't stop any of them, but then affects all of them, so layers that were at 0% start playing again when they shouldn't.

The easy solution to all this would be to just remove the volume slider from the settings, but I think not having one would feel off to most players. So the ideal fix would be changing how either the volume works in the settings or in the Audio Manager, so it knows when there's more than one layer playing and affects only the ones that are at 100% without stopping them, but I don't know how to do that without breaking anything.

Edit: I found a solution that seems to work. If anyone has the same problem I can share it.
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

I drew one of my chars! The man with 100 kids and a lot of love to give :kaopride:
Me: *about to stalk someone's posts*
Forum: "This member limits who may view their full profile."
Me: *bummer*
Also forum: Advanced search > Posted by ...
1B77FB7E-3802-4179-BB2D-F390021512A6.jpeg
Starting a fly by the night dev studio. Anyone want in? Excellent working conditions with onsite lodging. LOL
I finally got all the walk animations done! I mean, I gotta reskin it for the actual characters since this is a character from another project, but still! Doesn't look like a mess now! ;v;
[IMG]https://s3.gifyu.com/images/kalirr-movement-animation-showoff.gif[/IMG]

Forum statistics

Threads
128,545
Messages
1,195,329
Members
169,131
Latest member
Marcifbf
Top