Computer Science Canada

Change location that Turing finds music files

Author:  michael_li13 [ Sun Jan 22, 2006 11:09 am ]
Post subject:  Change location that Turing finds music files

I've looked in help and i can't seem to find anything about changing the music location, so I have to copy-paste everything to the SpaceGame folder of Turing. I'm not sure if its hardcoded into Turing. Plz help!!! Confused

Author:  Da_Big_Ticket [ Sun Jan 22, 2006 11:12 am ]
Post subject: 

code:

process music
loop
Music.PlayFile ("e:/mysong.mp3")
end loop
end music

fork music

thats how its done

Author:  michael_li13 [ Sun Jan 22, 2006 11:17 am ]
Post subject:  THX!!!

wow, that was a lot easier than i thought it would be, thx alot!!! Very Happy

Author:  maiku [ Tue Jan 24, 2006 3:36 pm ]
Post subject:  not working for me

Sad
I have been trying to get this to work all day, and I got really happy when I found this thread, but it does not seem to work for me

Does it matter that I'm using Turing 4.0.5???

I really don't get it Sad

Author:  michael_li13 [ Tue Jan 24, 2006 4:13 pm ]
Post subject: 

Well i don't really know what the problem is then, technically it should work, however i tried getting user input to open the file and it didnt work, that might be the problem. Maybe it's spaces, capital letters, remember to use "\" not, "/", and make sure you're playing a wav.,mp3. or mid. file. I hope that helped.

Author:  Andy [ Tue Jan 24, 2006 4:25 pm ]
Post subject: 

cpy that string into windows explorer to see if the song plays, if not then you have the path wrong


: