So the way I play music in my game:
On Start of Layout
-> Play Music by name: "mus_" & StageName & "_intro" with tag "intro"
Audio: On "intro" end
-> Play Music by name: "mus_" & StageName with tag "music"
In order to reduce the pause I'd like to do an event before the level change where I can preload the regular music file before entering the stage.
On Down Arrow Key pressed
Player overlapping StageDoor
--> Preload by name: "mus_" & StageName
On Preload Finished
--> Go to Layout by name: StageName
That way I don't have to copy and paste for every single level, preload only when I need them, and it makes adding more levels easier, too.TL222012-05-22 03:47:11