Modify sound volume

0 favourites
  • 1 posts
From the Asset Store
Add epicness and fantasy to your games with these 20 themes (divided in 83 tracks for interactive music)
  • 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

  • Try Construct 3

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

    Try 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)