
-----------------------------------
illu45
Sun Mar 13, 2005 1:28 pm

Playing music while displaying an animation
-----------------------------------
Hello all...

I'm trying to make a dancing guy while playing music. I've managed to make the dancing guy, but if I plug in the code for music, the animation doesn't start until the music is finished... As I don't think Turing has multi-threading, I guess I'm kinda screwed, but I figure I'd ask first... Here's my code so far (without the music command)

var i, row, col : int := 1
i := 1
locatexy (290, 190)
put "Get up!"
delay (750)
cls
locatexy (280, 190)
put "Get on up!"
delay (750)
cls
locatexy (290, 190)
put "Get up!"
delay (750)
cls
locatexy (280, 190)
put "Get on up!"
delay (750)
cls
locatexy (280, 190)
put "And DANCE!"
delay (750)
cls


put ":D-