GoSuNeem's Forum Posts

  • 1 posts
  • Hello forum,

    I made a mute button in the game and it toggles "set silent" from true to false. But I don't know if this is a bug or not but when I tab out and then go back to the game it starts playing the background music even it is set as "set silent".

    What I am doing to do this:

    1: Layout start -> Run a inf looping background music.

    2: Button left click -> Toggle silent.

    3: When it is silent press another tab on your internet browser.

    4: Come back to the game and music plays again even though it is set as "silent"

    As far as I know the silent only seems to just mute all current playing and prevents future sounds from playing but whatever is currently playing it does not mute it and just plays it when you come back to the tab.

    Possible solution:

    Instead of using set silent just stop every sound? (which is a real pain)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 1 posts