
help with simple graphics
Quote:
>Hello i am trying to create simple graphics with qbasic, but once i change
>my color command or palette it messes everything up.
>If anyone could help me, i need a big square about 300x180 shaded in green.
>Then I try to make a square 80x80 outlined red. Then i need a circle, in
>the smaller square, colored blue. This is what messed me up :( . All this
>should be centered in the larger square.
>I am using SCREEN 1.
>Any help on this or color and palette would really be appreciated. Email if
Hi Sean,
When using the LINE, CIRCLE, and PAINT commands you do not have to change
the values in COLOR as each has its own color parameter.
Try this...
LINE (10,10) - (100,100), BF, 2
LINE (30,30) - ( 80, 80), B , 4
____ _ ____ ____ _____
| _ \ / \ / ___) __ | ___)(_ _)
| |_) / _ \ \____\/ \| _) | |
|____//_/ \_\(____/\__/|_| |_|
www.basicguru.com/schullian