0 Favourites

Modify sound volume

  • Hello,

    I want the player to be able to lower/raise the sound volume in the options.

    So I created a global variable called SoundVol. If the player clicks on the + Button, SoundVol is raised, if the player clicks on the - Button, SoundVol is lowered.

    When the player enters the game after he modified the soundvolume, the sounds have still the same volume. I can't here a difference (Max SoundVol is 20, min SoundVol is -20).

    Here is the code:

    <img src="http://s7.directupload.net/images/130102/bxpmi7ob.png" border="0" />

    <img src="http://s7.directupload.net/images/130102/aphaqphb.png" border="0" />

    <img src="http://s1.directupload.net/images/130102/pmzo48t8.png" border="0" />

    How to fix this?

    Best regards,

    Astrosus

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
80 10,059
jonathanbencomo's avatar
jonathanbencomo
Unread hot topic
0 Favourites
[PLUGIN] Audiere Sound
73 45,576
resdesign's avatar
resdesign
Unread hot topic
27 2,255
JohnnySix's avatar
JohnnySix