
-----------------------------------
rjm72
Mon Jan 03, 2005 12:42 pm

Weird
-----------------------------------
I thought this was cool i made it when is was just makin circles shrink and change color when i saw the black part i changed it and this is what i got try makin sum changes and see what u can come up with :D


var count : int
var rad : int
var col : int
rad := 200
col := 14
loop
    delay (20)
    col := col + 1
    if col = 30 then
        col := 15
        end if
        rad := rad - 1
        if rad = 1 then
        rad := 200
        end if
        drawfilloval (240, 200, rad, rad, col)
      
    end loop

-----------------------------------
Cervantes
Mon Jan 03, 2005 4:47 pm


-----------------------------------
Yep, looks funky.
Notice how you've got a normal loop, and you have a counting variable inside that loop.  You can replace it with a for loop: less global variables, less confusion.


var rad := 200
loop
    if rad 