
-----------------------------------
Wreathe
Sun Apr 03, 2011 7:11 pm

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!

-----------------------------------
Tony
Sun Apr 03, 2011 7:18 pm

RE:Play two animation at the same time?
-----------------------------------
You can only have one loop going at a time. Solution -- have only one loop.

-----------------------------------
Wreathe
Sun Apr 03, 2011 7:34 pm

RE:Play two animation at the same time?
-----------------------------------
Oh, thanks for the reply!
