
-----------------------------------
jrblast
Tue Nov 29, 2005 11:10 pm

Jdraw v1.0 (prolly the only version that wil ever exist o.O)
-----------------------------------
42 lines with tags :D the first program i ever made :D not bad considering i started it (as well as turing) on friday, and finished it on saturday (night and morning respectiveley) but, i did know some commands and syntax from hanging out with my friends in teir comp sci class before school actualy started, but still, not bad for a beginner :D

any comments are appreciated :D

-----------------------------------
do_pete
Wed Nov 30, 2005 11:23 am


-----------------------------------
not bad. try replacing
    Mouse.Where (x, y, button)
    if button = 1 then
        Draw.FillOval (x, y, size, size, c)
    else

with
    newx := x
    newy := y
    Mouse.Where (x, y, button)
    if button = 1 then
        Draw.ThickLine (newx, newy, x, y, size, c)
    else

it'll look much better. Ohh and don't forget to declare newx and newy

-----------------------------------
jamonathin
Wed Nov 30, 2005 1:58 pm


-----------------------------------
Ohh and don't forget to declare newx and newy
And to move the mouse command above newx.

I dont really see the difference between the two, except for the fact that the thick line is actually 5 pixels. But,  I personally prefer the oval.

-----------------------------------
Tony
Wed Nov 30, 2005 2:01 pm


-----------------------------------
jamonathin - the idea is to draw the line from previous point to the current..

this way if you were to move your mouse faster than oval's radius, it will still be continues.

-----------------------------------
jrblast
Wed Nov 30, 2005 6:54 pm


-----------------------------------
not bad. try replacing
    Mouse.Where (x, y, button)
    if button = 1 then
        Draw.FillOval (x, y, size, size, c)
    else

with
    newx := x
    newy := y
    Mouse.Where (x, y, button)
    if button = 1 then
        Draw.ThickLine (newx, newy, x, y, size, c)
    else

it'll look much better. Ohh and don't forget to declare newx and newy

ill try it, but if you look at the topic title..."...prolly the only version that will ever exist"

:D but thanks this much  *spreads arms wide...stretches arms...arms fall off* for the suggestion,
