## Search found 451 matches

May 23, 2015 16:00
Forum: Game Dev
Topic: Simple 3D model
Replies: 13
Views: 2925

### Simple 3D model

This is my first attempt at 3D. It doesn't work because the lines radius's don't shrink correctly. I'd be happy if someone could show me how to get it working. Const Pi = 4 * Atn(1) Dim Shared As Double TwoPi = 8 * Atn(1) Dim Shared As Double RtoD = 180 / Pi Dim Shared As Double DtoR = Pi / 180 scre...
May 21, 2015 17:14
Forum: Game Dev
Topic: Extracting Archives With FB
Replies: 5
Views: 1946

### Re: Extracting Archives With FB

Thanks. I had looked and I couldn't find a Zip Library.
May 21, 2015 15:10
Forum: Game Dev
Topic: Extracting Archives With FB
Replies: 5
Views: 1946

### Extracting Archives With FB

I was wondering If it is possible to have a zip archive and have freebasic get into it with out extracting it.
May 21, 2015 13:22
Forum: Beginners
Topic: I need help with my program with freebasic
Replies: 63
Views: 7381

### Re: I need help with my program with freebasic

Did you mean you want the pizza to bounce around the screen? #include "fbgfx.bi" Using FB Dim Shared As Single x,y,dx,dy Screen 18 ' Sets the graphic mode x = 150 ' Initial position y = 90 dx=1 dy=1 Do screenlock Cls 'draw circles relative to x,y LINE (x,40+y)-(200+x,40+y),23 LINE (x,25+y)...
May 21, 2015 0:20
Forum: Game Dev
Topic: reapeated placement
Replies: 1
Views: 996

### Re: reapeated placement

I figured it out. sorry if I bothered you. I should have studied it a bit longer. screen 18,32 '640*480 dim shared ball(3000) as integer 'creates an array for the green ball dim as integer number_of_balls dim as integer number_of_ballst number_of_balls=1 'sets the default amount of balls on screen c...
May 20, 2015 23:30
Forum: Game Dev
Topic: reapeated placement
Replies: 1
Views: 996

### reapeated placement

How can I put an array a certain amount of times onto the screen. screen 18,32 '640*480 dim shared ball(3000) as integer 'creates an array for the green ball dim as integer number_of_balls number_of_balls=1 'sets the default amount of balls on screen circle (25,25),25,rgb(23,248,78),,,,f Get (0,0)-(...
May 20, 2015 15:16
Forum: Projects
Topic: GemHunter - Freebasic game (Preview)
Replies: 4
Views: 1806

### Re: GemHunter - Freebasic game (Preview)

Wow! The Style reminds me of QB Wetspot. Maybe someday you could make it use two players like wetspot. Its looking great and I'm looking forward to the full version.
May 20, 2015 14:41
Forum: Game Dev
Topic: Line Rotation
Replies: 6
Views: 1749

### Re: Line Rotation

Works great.Thanks.
May 19, 2015 0:53
Forum: Game Dev
Topic: Line Rotation
Replies: 6
Views: 1749

### Re: Line Rotation

why not move just one pixel along the radius? that slows it down too.
May 18, 2015 23:18
Forum: Game Dev
Topic: Line Rotation
Replies: 6
Views: 1749

### Re: Line Rotation

Thanks! At first I didn't copy all the code but I caught that.

how could I make the line move forward in the direction the line is pointing?
I don't have a clue as to how it would work.
May 18, 2015 21:46
Forum: Game Dev
Topic: Line Rotation
Replies: 6
Views: 1749

### Line Rotation

Can someone show me how to rotate a line. I have been trying to get one point of the line to rotate about the other. screenres 640,480,32 dim as integer x, y x=320 y=70 do screenlock cls line(320,240)-(x,y) IF MULTIKEY(&h4B) THEN x=x-1:y=y-1 IF MULTIKEY(&h4D) THEN y=y+1:x=x+1 screenunlock lo...
May 02, 2015 19:30
Forum: Game Dev
Topic: Color Collision Detection
Replies: 10
Views: 2532

### Re: Color Collision Detection

It worked pretty well. thanks.I don't really know how to move a post. I realized to late that it should have gone to a different section. I'll try to put any future posts in the correct spots.
May 02, 2015 14:41
Forum: Game Dev
Topic: Color Collision Detection
Replies: 10
Views: 2532

### Re: Color Collision Detection

How can I make the ball stop instead of reverse direction? I changed it so the ball was user controlled but the ball changes direction when you hit into something.Also when I replace the disc with an bloaded image the collision detection stops working.
May 01, 2015 18:50
Forum: Game Dev
Topic: Color Collision Detection
Replies: 10
Views: 2532

### Color Collision Detection

How can I make every single color collide with a specific shade of brown and a specific shade of black.
If I could do that I could make the hard objects in my background have those colors so all my sprites would collide perfectly with it.
May 01, 2015 17:49
Forum: Community Discussion
Topic: Graphics
Replies: 3
Views: 715

### Re: Graphics

The only Library I have ever used is the Fmod sound Library. Could you suggest a good graphics library.