Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Continue Sound from Previous Scene

  • #10, by Uraal 11 years ago Zitieren
    We are currently adding sound effects to Bunker and we faced with the same problem. Some of the sound effects should continue playing while transition is made to another scene. Has there been development in this regard lately? smile
  • #11, by Uraal 11 years ago Zitieren
    [SOLVED] was able to figure this one out myself.

    If you want to start playing a sound on one scene and seamlessly let it continue after the scene change, you can do the following:

    Scene 1 call the sound
    Scene 2 to continue sound to this scene, play it again from inside the "at the start of the scene" -action

    If scene 2 is place you visit otherwise too and you don't want to play the sound every time that scene begins you can put the sound inside a if-sentence, bit like this:

    Change "just play once" to true right before you change into scene 2 when sound needs to continue.

    if just play once is true
        play sound 
        just play once = false
    end if