Is it possible to force music to loop. I've just started testing this today, playing an MP3. It will play once then stop.
Also, is it possible to detect if music is playing like the SOUNDPLAYING() function?
If not can the above be added?
Funnily enough, Andy, I was just coming on the forum to suggest adding LOOPMUSIC myself :D
using fmod.dll to do that....
but windows only :/
Thanks Schranz0r, I'm looking for something that will work on windows, PocketPC and GP2X though.
Should be easy to implement - all it needs it to compare the time the music has been playing against the internal clock - but, like Andy, I think it would be nice to include it as part of the language
It doesn't loop? ~*$%&!!!!!
I go definitely insane with that music function...
It used to loop, but doesn't now. :(
[EDIT] While we're on the subject of music, is there any chance of getting .MOD/.IT/.XM etc. tracker music to play in future updates?
Use the fmod dll. There's a wrapper for it.
On GP2X it *might* work out of the box, since I use SDL_Mixer for music.
Fixed that loop, bug, btw.
Being a thicky - how do you use the FMOD.DLL? Just #Include it?
Good news about looping :)
Cheers.
In Samples/_Projects_/FMod is a sample program and a fmod.gbas file. Just include it to your project and place the fmod.dll side by side with the game's .exe.
Cheers Gernot :)