How do I mute sounds without stopping sounds from playing?

0 favourites
  • 3 posts
From the Asset Store
Grenade Sound Library contains: 135 sounds 50 grenade sounds and 85 surface sounds
  • So I need to have a mute option for my game, and Set Silent mutes the game just fine but creates a problem of it's own; some conditions in the game's event sheets are tied to whether a sound tag is playing, and Set Silent stops the sounds from playing altogether, and thus breaks them.

    I could manually replace all of those with other specific conditions, but I was wondering if there was an easier solution to maintain the gameplay that relies on those tag conditions even when the game is muted.

  • You could set the volume to zero if you use a volume variable for all your sound events. Then turn it back on if you want.

    The sound events still fire then.

    yours

    winkr7

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for the response!

    I don't think that would work because 0 just means the default audio level, but it did make me think and I just figured out that you can just say Set Master Volume db to -Infinity and it works!

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