Computer Science Canada

Play two animation at the same time?

Author:  Wreathe [ Sun Apr 03, 2011 7:11 pm ]
Post subject:  Play two animation at the same time?

drawfillbox(1,1,maxx,maxy,black)

for i : 1 .. 100
Draw.FillOval (i, i, i, i, yellow)
View.Update
delay (150)
Draw.FillOval (i, i, i, i, white)
end for

Draw.FillOval (100,100,100,100,yellow)

for i : 50 .. 150
Draw.FillOval (i, i, i, i, white)
View.Update
delay (150)

end for

How do i play the two animations above at a same time? Basically as the sun goes larger , the light (white) around it expands too!

Author:  Tony [ Sun Apr 03, 2011 7:18 pm ]
Post subject:  RE:Play two animation at the same time?

You can only have one loop going at a time. Solution -- have only one loop.

Author:  Wreathe [ Sun Apr 03, 2011 7:34 pm ]
Post subject:  RE:Play two animation at the same time?

Oh, thanks for the reply!


: