Posted: Sat Jan 17, 2004 6:42 pm Post subject: Problems with sounds
hello... i looked at the sound tutorial and got nowhere lol... well basicly this is my problem... i have music in the background.. now when the person quits my program i want to play a sound saying goodbye while the music is still playing... i dont really know sound that well and the tutorial was kinda confusing... thanks for any help
Sponsor Sponsor
shorthair
Posted: Sat Jan 17, 2004 6:47 pm Post subject: (No subject)
okay here ya go
code:
var ans,ans1 : string
process music
Music.PlayFile
end music
process music1
Music.PlayFile
end music1
put "listen to some music "
fork music
put" Do you wanna quit"
get ans
if ans = "Y"
then
fork music1
end if
Tony_200004
Posted: Sat Jan 17, 2004 6:51 pm Post subject: (No subject)
it says "process's may only be declared at the program or module level
this is what the first music file i have looks like
code:
process doMusic (music : string)
loop
Music.PlayFile (music)
end loop
end doMusic
fork doMusic ("Casino.mp3")
thanks for any help you can provide... if we cant figure it out i can ask my friend how to do it the next time i see him
Andy
Posted: Sat Jan 17, 2004 7:19 pm Post subject: (No subject)
you declared the process in a loop fcn proc or another process