Hi,
I started developing FBGFX right away, when Eros gave me the full source to it.
I've now added few commands to it, and it works nicely.
Here's an example code what it looks like:
[code=thinbasic]'**********************
'** FBGFX Example #1 **
'**********************
uses "FBGFX"
FBGFX_ScreenRes(320,240,32) 'Create FBGFX-window (width, height, dept)
dim t
dim x
dim y
dim c
while FBGFX_InKey() <> "q" 'Program runs until "q" is pressed
x = 160 + sin(c) * 40
y = 120 + cos(c) * 40
c = c + .01
FBGFX_Pset(x,y,FBGFX_RGB(255,255,255)) 'This function draws pixel on the screen
FBGFX_Circle(x,y,16,FBGFX_RGB(255,50,50)) 'This draws circle ( who would've known ;o )
FBGFX_Circle(x,y,32,FBGFX_RGB(255,0,255))
FBGFX_Sync(1) 'Syncronize screen
FBGFX_Cls() 'And then clear it
wend[/code]
Developing this is so wonderful! And if someone takes it away from me, I will die! :<
Just love making this! ^^
And I just wanted to make own topic for this, so sorry if it disturbes you.
FBGFX module is attached in this post.
Thanks,
misthema.
Bookmarks