Search found 684 matches

by h4tt3n
Oct 28, 2005 17:42
Forum: Beginners
Topic: Tilting an ellipse in gfxlib (using circle)
Replies: 3
Views: 1827

Tilting an ellipse in gfxlib (using circle)

Can it be done?

Or do I have to code it from scrap?

regards,
h4tt3n
by h4tt3n
Oct 25, 2005 7:16
Forum: Beginners
Topic: Simple game...
Replies: 8
Views: 2011

I can mail you some example code if you like. That'd be nice! :-) I know Lachie has ported a good map scrolling tutorial to FreeBASIC that will be a great start for you. I've tried googling for it, but nothing turns up... does anyone have a link for a RTS or map scrolling tutorial? regards, h4tt3n[...
by h4tt3n
Oct 23, 2005 17:17
Forum: Beginners
Topic: Simple game...
Replies: 8
Views: 2011

I may not understand it right now, but I will eventually...

Is it too long to post here?

regards,
h4tt3n
by h4tt3n
Oct 23, 2005 14:07
Forum: Beginners
Topic: Simple game...
Replies: 8
Views: 2011

Simple game...

Hello, I'm fairly new to FB and I'm in need of some advice... I want to make a simple real-time strategy game that is played on a large square "board" or piece of landscape. Only a small bit of the square is displayed on the screen, and when moving the mouse toward the borders of the screen, the dis...
by h4tt3n
Oct 23, 2005 13:58
Forum: Beginners
Topic: Veeery slooow graaaphiiics...?
Replies: 8
Views: 2045

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
by h4tt3n
Oct 22, 2005 23:41
Forum: Beginners
Topic: Veeery slooow graaaphiiics...?
Replies: 8
Views: 2045

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)
by h4tt3n
Oct 22, 2005 23:38
Forum: Beginners
Topic: converting a string 2 an integer
Replies: 5
Views: 1638

Cool, thanks! :-D

This problem really bugged me.

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

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...
by h4tt3n
Oct 22, 2005 21:19
Forum: Beginners
Topic: converting a string 2 an integer
Replies: 5
Views: 1638

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

Go to advanced search