Continuous music

In the level set add 'musicoverlap 1' before the stages, only have music added to the first stage section.  If there is no music present in the next stage it will keep playing music from the last.

Code:
set	Episode_1
musicoverlap 1
file	data/levels/L1/1.txt (level 1 has the music)
file	data/levels/L1/2.txt (no music)
file	data/levels/L1/3.txt (no music)
 
You might want to supplement that with cansave. It would be kind of ghetto if the player exited the game in one of the levels with no music declared; only to load it and be welcomed with silence.

From the manual:
cansave {int}

~Defines how save states work in this level set.
0 = Save state is disabled
1 = Only saves last level (Default value). It's buggy currently though.
2 = Strict save. Lives, credits, HP, MP, weapon, remap color etc are saved. When this saved state is loaded, players immediately enter last level without going to select screen. If it's multiplayer game, you will need partner.

So going by Beastie's example, maybe something like:
set Episode_1
musicoverlap 1
cansave 1
file data/levels/L1/1.txt #(level 1 has the music)
cansave 0
file data/levels/L1/2.txt #(no music)
cansave 0
file data/levels/L1/3.txt #(no music)
 
Back
Top Bottom