stop sounds scene to scene?

fiabanfriendsfiabanfriends Member Posts: 16
I have sounds that need to stop when i change scenes for some reason they keep playing to the next scene. how do i make them stop from scene to scene..

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    whatever you have to trigger your scene change put a stop music behavior in there

    youll have to start it up again at the start at the next scene
  • fiabanfriendsfiabanfriends Member Posts: 16
    Yeah tried that, didn't work the sound of the fire in the scene keeps going to next scene
  • ChaserChaser Member Posts: 1,453
    Set attributes to control per scene. I put mine in as sounds then had an invisible actor on each scene that if a sound attribute was yes then play sound and when I hit pause it would stop the sound but the pause scene also had that controller actor start the sound back up so it wouldn't play 2 instances of the same sound out of sync. Can't remember all the details as I'm out now
    Edit
    Sometimes the sound carries over in GS creator but not on device
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Hi fiabanfriends; sounds will stop automatically (even if set to loop) when you go to another scene, as long as Run to Completion is unchecked in the Play Sound Behavior.

    Music will continue playing when you go to another scene, set to loop or not. To stop it before you go the next scene, use a Stop Music behavior. For interest, I tend to interpolate the volume of music to fade to 0 over 3 or 4 seconds, then a stop music behavior before going to another scene. In the next scene, remember to put an actor outside of the playing area with an change attribute music volume set back to 1. Hope that helps.

    :-)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • fiabanfriendsfiabanfriends Member Posts: 16
    awesome very simple fix thanks
Sign In or Register to comment.