Loop Music

Blitz3D Forums/Blitz3D Beginners Area/Loop Music

luke101(Posted 2004) [#1]
Just wandering if there is a way to loop music in the background??


GfK(Posted 2004) [#2]
snd = LoadSound("sound.wav")
Loopsound snd
PlaySound snd
Or...
Global chan%
chan = PlayMusic("sound.ogg")
Repeat
  If Not ChannelPlaying(chan)
    chan = PlayMusic("sound.ogg")
  EndIf
Forever



luke101(Posted 2004) [#3]
thanks