GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to make music keep playing when changing between scenes

Hey, I am adding music to my game and I have it so the music starts (Note: the music is looped) in the starting scene where the actor that plays the music is. So when I switch to another scene which the music actor is NOT in, the music continues playing, but when I go back to the scene where my music actor is, the music just restarts and then starts playing again.
Does anyone know how to fix this?

Comments

  • Nate_SNate_S Nate - Pixel Artist - Developer - Graphics Designer Posts: 86Member

    The "Play Music" Behavior will play throughout the game. If you use the "Play Sound" behavior instead, it will only play within the scene.

    **Nate - Pixel Artist - Developer - Graphics Designer **

  • SLOCM3ZSLOCM3Z Posts: 797Member

    @Enderjump said:
    The "Play Music" Behavior will play throughout the game. If you use the "Play Sound" behavior instead, it will only play within the scene.

    I didn't know that. That is cool

  • OscarsCodingOscarsCoding Posts: 92Member

    Thanks I didn't know that :)

Sign In or Register to comment.