Loop Music
Blitz3D Forums/Blitz3D Beginners Area/Loop Music| 
 | ||
| Just wandering if there is a way to loop music in the background?? | 
| 
 | ||
| snd = LoadSound("sound.wav")
Loopsound snd
PlaySound sndOr...Global chan%
chan = PlayMusic("sound.ogg")
Repeat
  If Not ChannelPlaying(chan)
    chan = PlayMusic("sound.ogg")
  EndIf
Forever | 
| 
 | ||
| thanks |