Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Change location that Turing finds music files
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
michael_li13




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
Da_Big_Ticket




PostPosted: Sun Jan 22, 2006 11:12 am   Post subject: (No subject)

code:

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

fork music

thats how its done
michael_li13




PostPosted: 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
maiku




PostPosted: 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
michael_li13




PostPosted: Tue Jan 24, 2006 4:13 pm   Post subject: (No 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.
Andy




PostPosted: Tue Jan 24, 2006 4:25 pm   Post subject: (No subject)

cpy that string into windows explorer to see if the song plays, if not then you have the path wrong
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: