How do I create a music and sounds option menu

Get help using Construct 2

Post » Fri Oct 10, 2014 10:44 pm

Hey, I tried using a variable for volume and making a slider set the variable but it didn't work, I'm kinda new to the engine and need help with options, I did a search for options on both Tutorials and How To also google but none came up.

Thanks in advance!
A box isn't a box without 6 sides.
B
18
S
3
Posts: 26
Reputation: 1,785

Post » Sat Oct 11, 2014 1:07 am

Did you fully read the manual? Volume is highest at zero, and goes down (negative) from there.
ImageImageImage
B
71
S
21
G
221
Posts: 3,650
Reputation: 124,229

Post » Sat Oct 11, 2014 1:16 am

blackhornet wrote:Did you fully read the manual? Volume is highest at zero, and goes down (negative) from there.

Yeah, what i've done already is taken a slider, set its highest to 0 and minimum to -50 (mute) and then in the script, Every tick set the variable musicVolume to the value of the musicVolume slider. My aim was for the music volume to be set to the variable volume so that when it changes it then changes the music volume. This didn't work.
A box isn't a box without 6 sides.
B
18
S
3
Posts: 26
Reputation: 1,785

Post » Sat Oct 11, 2014 2:35 am

Hmmm....
You do not have the required permissions to view the files attached to this post.
Image
B
64
S
23
G
7
Posts: 1,483
Reputation: 10,827

Post » Sun Oct 12, 2014 4:13 pm

Thanks alot m8 :D
A box isn't a box without 6 sides.
B
18
S
3
Posts: 26
Reputation: 1,785

Post » Sun Oct 12, 2014 4:42 pm

......
You do not have the required permissions to view the files attached to this post.
Image
B
64
S
23
G
7
Posts: 1,483
Reputation: 10,827

Post » Sun Oct 12, 2014 6:08 pm

haha that character though xD

The first one worked and i've implemented it to my game thanks a lot :D

however i have a new problem now, when you go back to menu from options it saves the music volume but as soon as you go back into the options it resets the volume, any suggestions? Thanks :D
A box isn't a box without 6 sides.
B
18
S
3
Posts: 26
Reputation: 1,785


Return to How do I....?

Who is online

Users browsing this forum: alextro, LachlanPontas and 8 guests