how can I stop one music file but keep others still looping?

StormyStudioStormyStudio United KingdomMember Posts: 3,989
Good afternoon.
In my current (1st app) I want the user to be able to control the background sound by turning on/off different aspects. There are around 8 different music beds that I want on or off depending on which ones the user ticks.The buttons work fine, but when I turn one music file off it turns all the music off, as I am using the Stop Music behavior. Is there a way to turn off a specific music file another way.

Looked in the wiki and the forum but no luck, no audio info in the Wiki yet.

Cheers

Jon

Comments

  • PPenguinPPenguin Member, PRO Posts: 110
    GS doesn't really have advanced audio features yet, unfortunately.

    What are the available behaviors for sound effects? Maybe if you're using them all in one scene, you can bring them into GS as sound effect files instead of music files. Then it might be easier to manage them.
  • StormyStudioStormyStudio United KingdomMember Posts: 3,989
    actswatz...you are right....just looked into it...

    If I bring them in as Sound effects instead, I can have the behaviours setup so:

    The buttons change status of attribute (attribute for each sound as an integer)

    if attribute = 0
    play sound (loop)

    if attribute = 1
    play sound (no loop, and no volume) ...

    works a treat, and they can all play over each other (well the 2 I've tested it works).

    Cheers

    Jon
Sign In or Register to comment.