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 Member Posts: 86

    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 Member Posts: 797

    @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 Member Posts: 92

    Thanks I didn't know that :)

Sign In or Register to comment.