How do I change sound volume using a sliderbar?

Get help using Construct 2

Post » Mon May 23, 2016 3:44 pm

I need to change the volume of the game (Music and sound effects).
Problem is whenever I try to change the slider, nothing happens.
I also debugged the slider value and it is alright, which keeps me thinking what is wrong?
Here is the event:
Image
B
25
S
7
G
1
Posts: 200
Reputation: 2,530

Post » Mon May 23, 2016 4:15 pm

Sound only goes down, not up, so your value needs to be between 0 and some negative number (start with -60).
ImageImageImage
B
71
S
22
G
249
Posts: 3,763
Reputation: 138,577

Post » Mon May 23, 2016 5:10 pm

Ok, now I have a new problem.
The sound does not go low enough. How can I make it to be completely removed?
B
25
S
7
G
1
Posts: 200
Reputation: 2,530

Post » Mon May 23, 2016 5:25 pm

Edit: use a larger number (-100), or just check for a low value (-100) and Stop the sound.
ImageImageImage
B
71
S
22
G
249
Posts: 3,763
Reputation: 138,577

Post » Mon May 23, 2016 8:11 pm

Ok found it. Thanks! :D
B
25
S
7
G
1
Posts: 200
Reputation: 2,530


Return to How do I....?

Who is online

Users browsing this forum: Kyatric, Yahoo [Bot] and 28 guests