12-31-2004, 03:33 PM
12-31-2004, 04:13 PM
What is the error you get while trying to compile?
May it be that you're not linking with SDL? You have to do
Since GFXlib uses SDL as a backend.
May it be that you're not linking with SDL? You have to do
Code:
fbc myprog.bas -l sdl
12-31-2004, 04:22 PM
aha! didn't know that :oops: . Is there a way to get it fullscreen or is that limited to directx apps?
12-31-2004, 04:43 PM
Quote:Is there a way to get it fullscreen or is that limited to directx apps?
Code:
SCREEN 800, 600, 32, 1
12-31-2004, 06:02 PM
ahhh. nice. I don't suppose you'd be interested in a slightly better circle routine? It seems to make a cleaner circle.
Code:
sub circle (centre_x as integer, centre_y as integer, radius as integer, colour as integer = 255)
dim y as integer
dim x as integer
for x = -radius to radius step 1
y = sqr((radius^2)-(x^2))
pset (x+centre_x,y+centre_y),colour
pset (x+centre_x,-y+centre_y),colour
pset (y+centre_x,x+centre_y),colour
pset (-y+centre_x,x+centre_y),colour
next x
end sub
12-31-2004, 06:57 PM
Code:
I don't suppose you'd be interested in a slightly better circle routine?
01-01-2005, 10:34 AM
Quote:ahhh. nice. I don't suppose you'd be interested in a slightly better circle routine? It seems to make a cleaner circle.That's Bresenham's algorithm. I use it in PTCXL.
01-04-2005, 12:45 AM
Is it possible to swtch qb'ish gfx completely -say to have those keywrods, like screen and etc for other uses?