using music in turing
Author |
Message |
SNIPERDUDE
|
Posted: Thu Aug 03, 2006 3:25 pm Post subject: using music in turing |
|
|
for the game i'm making, i want the music to repeat once it's done, but when I put it in a loop, Music.PlayFileStop doesn't work? how can I fix this? |
|
|
|
|
|
Sponsor Sponsor
|
|
|
maiku
|
Posted: Thu Aug 03, 2006 4:25 pm Post subject: Music |
|
|
If your coding is set up like this:
code: | loop
Music.PlayFile ("song.mp3")
end loop
% program here %
Music.PlayFileStop |
then you need to change it to this:
code: | Music.PlayFileLoop ("song.mp3")
% program here %
Music.PlayFileSop |
And if that doesnt work or you already have it like that, then I dont know
hope it helps |
|
|
|
|
|
TokenHerbz
|
|
|
|
|
Clayton
|
Posted: Fri Aug 04, 2006 8:59 am Post subject: (No subject) |
|
|
maiku's second bit of code is probably the best thing that you can use, if you dont know exactly what Music.PlayFileLoop does, here it is:
Music.PlayFileLoop is basically a procedure in the Music module that more or less calls a process within it as well over and over again until a call to Music.PlayFileStop has been made |
|
|
|
|
|
TokenHerbz
|
Posted: Fri Aug 04, 2006 12:01 pm Post subject: (No subject) |
|
|
its goot for a long for loop though... say in an intro where you peresent words and things... |
|
|
|
|
|
|
|