0 Favourites

[Help] Stop audio event

  • Hello guys, I have some troubles with the audio settings here. Let say I have 2 layout : the first is the main menu layout and the second is the game layout. Basically I've made an event to stop background music at the the end of the first layout. But when I tested the game with the browser the music in the first layout won't stop and stacks with the second layout background music. It's terrible to have two different music playing at the same time.

    How should I fix this?

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Sounds like it should work. Post a capx so we can check what is wrong?

  • If you create the music you want to play with a 'tag' then you can stop the music using the tag.

    I had the same problem where my title music continued playing when I went into the main game. So I set the audio to have a tag and stopped the audio playing by using the 'tag' name.

    Hope this helps..

  • If you create the music you want to play with a 'tag' then you can stop the music using the tag.

    I had the same problem where my title music continued playing when I went into the main game. So I set the audio to have a tag and stopped the audio playing by using the 'tag' name.

    Hope this helps..

    Thankyou for your help! It worked!   <img src="smileys/smiley1.gif" border="0" align="middle" />

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