## Search found 680 matches

Oct 23, 2005 13:58
Forum: Beginners
Topic: Veeery slooow graaaphiiics...?
Replies: 8
Views: 1841
Thanks everyone!

I made it run really smooth and nice using this bit of code:

SCREEN 20, 16, 2, 1
DIM SHARED AS INTEGER P1, P2 = 1

DO
SCREENSET P2, P1
SWAP P2, P1
CLS

'Calculate and draw here

LOOP UNTIL INKEY\$ <> ""

regards,
h4tt3n
Oct 22, 2005 23:41
Forum: Beginners
Topic: Veeery slooow graaaphiiics...?
Replies: 8
Views: 1841
Thank you all,

I'll try those solutions out and see what happens.

regards,
h4tt3n

BTW: Antoni, the command screensync doesn't seem to be mentioned in the gfxlib.txt and there is an error message when I try your example? (I use FBIde and FB 0.13 if that's any help)
Oct 22, 2005 23:38
Forum: Beginners
Topic: converting a string 2 an integer
Replies: 5
Views: 1407
Cool, thanks! :-D

This problem really bugged me.

regards,
h4tt3n
Oct 22, 2005 21:38
Forum: Beginners
Topic: Veeery slooow graaaphiiics...?
Replies: 8
Views: 1841

### Veeery slooow graaaphiiics...?

Hello! I'm a complete noob at FB, but I've been programming C64 BASIC for years ;-D As a startup practice I've been making a very simple graphical simulation of some planets circling a sun in the middle of the screen. I've been using COS(x) and SIN(x) to create a circular movement and CIRCLE to draw...
Oct 22, 2005 21:19
Forum: Beginners
Topic: converting a string 2 an integer
Replies: 5
Views: 1407
Hello!

Can anyone tell me which non-string variable can contain a hex value?

If this cant be done, how do I use a string containing a hex value as an integer?

Example:

Circle (x, y), z, &h(variable containing color hex value)

thanks,
h4tt3n