Hey all,
I have three scenes in my game. The first two share the same background music, while the third scene has a different track. The issue is that when entering the third scene, the music from the first two scenes briefly plays before fading out, and only then does the new scene's music begin. How can I prevent the old music from playing in scene 3?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Welcome to the community, @Maroon.
If you want the music to end before the scene transition, run your Sound: Play music Action that switches to the second track before the Scene: Switch Action that opens scene 3.
Make sure you have no transition time if you're crossfading tracks - or, if you do want a fade-out of the first music - check Wait until finish? so that the transition completes before the scene-change. You can precede this with a Camera: Fade Action to fade out the first scene if you want to give the appearance of the scene transition occuring at the same time.
If you'd like any more advice, best to share screenshots of your setup and I'll take a look.
Using Sound: Play music Action before the Scene: Switch solved the problem. Thank you for your help, Chris.