Search found 409 matches

by Mentat
Fri Feb 08, 2008 3:09 pm
Forum: Pete's QB Site News
Topic: QB Express once again emerges from the dead...
Replies: 12
Views: 75481

If you need more material, then I can probably conjure up something. I just didn't want to submit multiple articles per issue.
by Mentat
Sun Feb 03, 2008 10:49 am
Forum: Freebasic Questions & Answers
Topic: Compiling in FB with OpenGL
Replies: 18
Views: 41595

It isn't because of limitiations. I think it's resource management on OpenGL's part. Low polygon counts don't need as much speed, so it seems that it's slow. I had a small maze using GL, yet it ran at the same speed as when I ran just a rotating triangle.
by Mentat
Fri Feb 01, 2008 2:06 pm
Forum: Freebasic Questions & Answers
Topic: simple decimal addition
Replies: 9
Views: 23037

Oh, I see what you mean. Well, I just happen to have a solution: randomize timer 'some function that gets a random integer between two others declare function randInt(low as integer, high as integer) as integer 'integers you want to work with dim a as integer dim b as integer 'some multiple of ten c...
by Mentat
Thu Jan 31, 2008 4:08 pm
Forum: Freebasic Questions & Answers
Topic: simple decimal addition
Replies: 9
Views: 23037

Use large integers, then divide by a magnitude or two. 'some function that gets a random integer between two others declare function randInt(low as integer, high as integer) as integer 'integers you want to work with dim a as integer dim b as integer 'some multiple of ten const scale=100 a=randInt(1...
by Mentat
Thu Jan 31, 2008 3:30 pm
Forum: Freebasic Questions & Answers
Topic: Screen 12 isn't working...
Replies: 12
Views: 31661

Ohh...I think I figured it out. I needed the screen to have 32 bits per pixel.
Thanks.
by Mentat
Tue Jan 29, 2008 8:35 pm
Forum: General Discussion
Topic: 3D Rotation Algorithm?
Replies: 5
Views: 13169

Oh dear. Not these conventions again. Do you know how to multiply matrices? Not code them in, but matrices do clarify it up quite a bit. On a 2d coordinate system: let R be the roational matrix let P be the set of 2d points let Q be the point you want Q=R*P where: R= [[cos(Θ) -sin(Θ)] [sin(Θ) cos(Θ)...
by Mentat
Tue Jan 29, 2008 8:07 pm
Forum: Freebasic Questions & Answers
Topic: Screen 12 isn't working...
Replies: 12
Views: 31661

The RGB() isn't working for me. :(
by Mentat
Thu Jan 24, 2008 2:38 pm
Forum: Freebasic Questions & Answers
Topic: Does Deallocate have to be used per case?
Replies: 2
Views: 12620

Ok. Must all pointers be properly destroyed, or are they taken care of?
by Mentat
Wed Jan 23, 2008 6:40 pm
Forum: Freebasic Questions & Answers
Topic: Screen 12 isn't working...
Replies: 12
Views: 31661

There's another way? I've been using screen 12 due to the fact it's the only one I know enough, and I'm used to the dimensions of the screen.

[edit] Oh. Is there a way to get the color to use &h _ _ _ _ _ _? And how would I get it to read a variable?
by Mentat
Wed Jan 23, 2008 5:52 pm
Forum: Freebasic Questions & Answers
Topic: Screen 12 isn't working...
Replies: 12
Views: 31661

Fixed it. Thanks. Has the color issue been adressed in the FB community?
by Mentat
Wed Jan 23, 2008 7:12 am
Forum: Freebasic Questions & Answers
Topic: Screen 12 isn't working...
Replies: 12
Views: 31661

It's a FreeBasic compiler (0.18.2). I updated it by changing the FB directory in the IDE.

Hence "Pete's QBASIC Site Forum Index -> Freebasic Questions & Answers". :D
by Mentat
Tue Jan 22, 2008 10:08 pm
Forum: Freebasic Questions & Answers
Topic: Screen 12 isn't working...
Replies: 12
Views: 31661

Screen 12 isn't working...

I updated my compiler, and now when I use SCREEN 12, nothing will draw.
by Mentat
Sat Jan 19, 2008 8:46 am
Forum: Freebasic Questions & Answers
Topic: Does Deallocate have to be used per case?
Replies: 2
Views: 12620

Does Deallocate have to be used per case?

Is there a way to just wipe out everything allocated with just one swipe?
by Mentat
Sat Jan 19, 2008 8:34 am
Forum: Freebasic Questions & Answers
Topic: Is FB QB in disguise?
Replies: 54
Views: 133774

SMC wrote:You can add keywords in the settings menu. Go to View->Settings then click on the keywords tab.
But what can they do?
by Mentat
Fri Jan 18, 2008 7:22 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Besides WAIT &H8D3, what's another way to to reduce flic
Replies: 5
Views: 11745

What exactly are you erasing? Are you using CLS? CLS will cause flickering. SCREEN 9 can use page flipping to stop flicker. Screen 12 cannot. How does it look in FB? It might be better to use that. Ted They both are currently in FB, and work very well. The demo doesn't use CLS, but the game does. I...
by Mentat
Fri Jan 18, 2008 6:58 am
Forum: Freebasic Questions & Answers
Topic: Is FB QB in disguise?
Replies: 54
Views: 133774

The IDE can be updated?
by Mentat
Thu Jan 17, 2008 5:05 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Besides WAIT &H8D3, what's another way to to reduce flic
Replies: 5
Views: 11745

Besides WAIT &H8D3, what's another way to to reduce flic

I used WAIT, but everything drawn last still flickers horribly. Is there a way to get rid of it in screen 12? If not, what is the closest screen to 12 that can do it? I'm revisiting QB, and I can't seem to find the stuff I need. Thanks. The reason that I'm asking this is because of two reasons: I'm ...
by Mentat
Thu Jan 17, 2008 2:36 pm
Forum: Freebasic Questions & Answers
Topic: Is FB QB in disguise?
Replies: 54
Views: 133774

I'm still using FBIDE for Two Lords (it simplifies adding resources), but anything else I use FB for I just code in Notepad and compile from the command line. I only use Notepad for header files and data. I still make too many errors to do most of my work there. And I like the color coding scheme o...
by Mentat
Thu Jan 17, 2008 7:17 am
Forum: Freebasic Questions & Answers
Topic: Is FB QB in disguise?
Replies: 54
Views: 133774

coderJeff wrote:Serious question: if users are still using versions <= 0.16, what would it take to get them to try newer versions?
An updated compiler for the IDE? I still use the old FBIDE. It works well enough for me. :mrgreen:
by Mentat
Tue Jan 08, 2008 7:13 am
Forum: QBASIC and QB64 Questions & Answers
Topic: What are some applications for pointers?
Replies: 9
Views: 20992

What are some applications for pointers?

I know how to use them, but what can they do that I normally can't do without them?