
-----------------------------------
enimirahi
Sat Apr 18, 2009 12:22 pm

Animimation Question that I'm haveing difficulties with
-----------------------------------
Hey i just wanted to ask how do u make a moon like crescent moon in Turing and make it move across the screen

-----------------------------------
enimirahi
Sat Apr 18, 2009 12:23 pm

RE:Animimation Question that I\'m haveing difficulties with
-----------------------------------
across meaning to the right

-----------------------------------
Dusk Eagle
Sat Apr 18, 2009 12:45 pm

Re: Animimation Question that I'm haveing difficulties with
-----------------------------------
There is no built in command to draw a crescent moon. Instead, combine built-in shapes to draw your moon. All you'll need to use is 
var x:int := maxx-10
var y:int := maxy-10
loop
    x-=2
    y-=1
    Draw.FillBox(x,y,x+20,y+20,4)
    delay(5)
    cls
end loop

There is still a problem, though. Notice how the shape flickers? That is because it takes time to process the code between the cls and the next Draw.FillBox. To fix this, look into 

-----------------------------------
enimirahi
Sat Apr 18, 2009 6:15 pm

RE:Animimation Question that I\'m haveing difficulties with
-----------------------------------
thnx
