How do I control master volume throughout layouts?

0 favourites
  • 2 posts
From the Asset Store
Supports keyboard, mouse and gamepads. Supports several gamepads at once.
  • I have problem controlling master volume throughout layouts. My game has levels which correspond to different layouts. On the main menu page, you can adjust the master volume. Also every level has a menu button to turn back to the menu.

    When i start the game with full volume and then turn back to the main menu from the first level, and turn the master volume down and load the game, it works as it should be.

    however, when i first run the game, on the menu, if i choose to turn the volume off, when i turn back to menu and volume up, it doesnt change and the game is completely silent.

    i checked the master volume with a variable via debug, although the master volume is 0 db (it means full sound in construct3) game is still silent. it confuses me a lot.

    thanks in advance

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When you start a track the volume level should be taken from the global variable - this will make the volume the same in the whole project.

    If you change the variable, then you must change the volume level of already started tracks.

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