Hello!
If you download the attachment, you will find 2 music files (intro.wma and music.wma) and a dba file.
What the program is supposed to do is load the music, then play the intro, and then play the music straight after the intro. Then, when that music is finished, play it again.
But my problem is, that the music stops, and lags a bit when switching, and you notice that the next music has started. How can I stop that jump and really not here the music switch?
Here's the code:
rem setup screen
sync on
sync rate 60
backdrop on
color backdrop 0
hide mouse
rem load music
load music "intro.wma",1
load music "music.wma",2
load music "music.wma",3
rem main loop
intro=0
do
rem control music
if intro=0 then play music 1:intro=1
if intro=1 and music playing(1)=0 then play music 2:intro=2
if intro=2 and music playing(2)=0 then play music 3:intro=3
if intro=3 and music playing(3)=0 then play music 2:intro=2
rem refresh screen
sync
rem end of main loop
loop
I load the main music twice, because if I use "loop music" the gap takes longer.
TheComet

Make the path of your enemies easier with Waypoint Pro!