
-----------------------------------
kay188
Wed Dec 20, 2006 7:55 pm

now to make it go down
-----------------------------------
i have this litle code that makes a circle more across the screen.

for i : 0 .. maxx
    drawfilloval (i, 200, 20, 20, 28)
    delay (5)
    drawfilloval(i, 200, 50, 50, 0)
end for


and i have to modify it to make it go from the top to the bottom... so far i made it go up instead... any help?

for i : 0 .. maxy
    drawfilloval (200, i, 20, 20, 28)
    delay (5)
    drawfilloval(200, i, 50, 50, 0)
end for


-----------------------------------
TokenHerbz
Wed Dec 20, 2006 8:00 pm


-----------------------------------
0,0 (x,y) is bottom left of your screen.

maxx, maxxy (x,y) is top right of your screen.


If you "add" to y, you go up, so how do you go down?

for decreasing i: maxy .. 0

-----------------------------------
kay188
Wed Dec 20, 2006 9:47 pm


-----------------------------------
haha.. i realized it when i read half way throught your post.

thanks!
