How to change music when change scene?

WeiyuWeiyu Member Posts: 216

Hello everyone! I have a trouble.

Q1.How to change music when change scene at the same time?

I don't know how to control self music/sound, so my music and sound always mixed.

Q2. The music will stop when I set change attribute "Device>Sound>0".

Why the music will stop?
Should the sound stop by "Device>Sound>0"?

Could someone tell me why is happen and please give me some advice,thank you!

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    The Device Sound value is the volume level. It has nothing to do with whether or not a sound is playing. Imagine you're listening to a CD* (do people still listen to CDs?) and you turn the volume all the way down. The CD doesn't stop... it keeps playing.

    To stop music from playing, use the Stop Music behavior. To stop a sound from playing, see this for one option: http://forums.gamesalad.com/discussion/comment/468196/#Comment_468196.

    *or mp3... whatever.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • SocksSocks London, UK.Member Posts: 12,822
    edited May 2017

    @tatiang said:
    *or mp3... whatever.

    You're so August 2016.

    Wax cylinders, shellac discs, vinyl discs, cassette tapes, CDs, minidiscs, mp3s, streaming.

    My prediction for the next format progression is to have music mixed directly into the water supply so it's absorbed into the human body bypassing the ears, expect phrases such as "honey, does this water taste a little dubsteppy to you ?" and "we need to get a plumber out, I can hear the new U2 album every time I flush the toilet".

  • SocksSocks London, UK.Member Posts: 12,822
    edited May 2017

    @Weiyu said:
    Why the music will stop?
    Should the sound stop by "Device>Sound>0"?

    When you turn down the volume of Sound (device > Sound > 0) it should not change the volume of Music.

    It sounds like you have imported your Music as Sound, therefore when you turn the Sound volume down, your music is also turned down.

  • WeiyuWeiyu Member Posts: 216
    edited May 2017

    @tatiang @Socks
    Thank you for answer!!

    I have been found a good way to solve the problem.
    Thanks for your kindly help, I really appreciate that. :D

  • SocksSocks London, UK.Member Posts: 12,822

    @Weiyu said:
    @tatiang @Socks
    Thank you for answer!!

    I have been found a good way to solve the problem.

    You got GameSalad to support wax cylinders ? :p

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    @Socks

    Streaming? You mean like this?

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • SocksSocks London, UK.Member Posts: 12,822

    @tatiang said:
    @Socks

    Streaming? You mean like this?

    Streaming ? That's so 25th May 2017. Wax cylinders are back in again.

Sign In or Register to comment.