How do I Control volume

0 favourites
  • 3 posts
From the Asset Store
10 different explosions rendered as transparent PNG.
  • So I can't understand a couple things, 1 how can I control the volume with a slider and 2 I have a pause an unpause button but if I go to a new level and hit mute when I hit unmute two of my song starts to play

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can set the max and min value of the slide bar to whatever value you want, so set the min value to -20 or -30 I don't know exactly, and the maximum to the same thing.

    Not that 0 is the original volume of the sound or song you're playing so set 0 to the maximum of the slide bar depending on what you want to do.

    If you play a song on the start of every layout, a song will be played every time you change layouts, but this doesn't mean the song that was playing previously will stop.

    To avoid to songs playing at once, on the start of the layout, on the same condition that you start playing the song, create a event to stop playing the song that was playing previously.

    Just because the song is mute doesn't mean it's not playing.

  • Thank you! I figured it out! What I had was so I didn't have start of layout I had when Unmute was clicked to play the song so on a different layout if you hit Unmute it unpaused the song from the last layout and started playing it again for the new layout

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)