Search found 409 matches

by Mentat
Sun Apr 27, 2008 9:01 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: MEMORY OVERFLOW ERROR !!! (Don't need help anymore)
Replies: 16
Views: 29927

Try to keep data in separate files and the processes to the executable itself.

If you are in real need of compression, with some fancy tricks, you can save multiple flags to a variable.
by Mentat
Sat Apr 26, 2008 4:09 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: QBasic Hard! Need help please.
Replies: 3
Views: 6084

I think you need two more swap routines for the other arrays. And then, once you're sorted, start in the middle of the list. If your target is less than your observed, go to the lower end, else go higher. Then take that new list (from the extreme to your previous number), and repeat until you hit yo...
by Mentat
Sun Apr 20, 2008 5:17 pm
Forum: Freebasic Questions & Answers
Topic: Odd Buffer problem
Replies: 7
Views: 34724

?

Once again for the umpteenth time, I have the feeling I'm missing something . :|
by Mentat
Sun Apr 20, 2008 2:36 pm
Forum: Pete's QB Site News
Topic: QB Express Article Requests
Replies: 140
Views: 631678

Anybody interested in rigid-body physics?

I noticed somebody got to springs before me. :P
by Mentat
Thu Apr 17, 2008 7:26 am
Forum: Freebasic Questions & Answers
Topic: Odd Buffer problem
Replies: 7
Views: 34724

Re: wow.. odd

That is weird.. Kinda like a mix of a FNExpression and.. something.. Constructicons.. unite! hahaha.. ^~^ Thanks very much for the detailed info on how to use it. I may consider using it now that I know what it is. It's pretty much a method that runs at the start of being DIMed. And a deconstructor...
by Mentat
Wed Apr 16, 2008 5:02 pm
Forum: Freebasic Questions & Answers
Topic: Odd Buffer problem
Replies: 7
Views: 34724

you lost me at constructor.. isn't that a transformer toy? constructor.. FB keyword?? A constructor is a special kind of procedure. And it's a keyword. Such as TYPE dog 'some data age AS INTEGER weight AS INTEGER 'sets up weight, and sets age to 5 DECLARE CONSTRUCTOR(AS INTEGER) END TYPE DIM AS dog...
by Mentat
Tue Apr 15, 2008 2:55 pm
Forum: Freebasic Questions & Answers
Topic: Odd Buffer problem
Replies: 7
Views: 34724

Odd Buffer problem

I've been having a weird Allocation problem. If I store 640 in a short var wdth, and 480 to a short var height (screen dimensions), and then ask to allocate, the bugger fails. If I ask to allocate a 640*480 buffer, it continues. However, the first case works if the dimensions are smaller (but I'm no...
by Mentat
Tue Apr 15, 2008 7:10 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Back face culling
Replies: 13
Views: 22251

It occurred to me, Wouldn't it be different in a left-handed coordinate system? X right, y up, z into screen is left handed, though x right y down z into (which seems to be somewhat conventional) is right handed.
by Mentat
Tue Apr 08, 2008 5:03 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Back face culling
Replies: 13
Views: 22251

I've been working on a functioning and easy to use 3d graphics library. My avatar is a snap shot of one of my older demos. The current work isn't much though.
by Mentat
Mon Apr 07, 2008 8:20 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: COLOR for screen 13
Replies: 16
Views: 21500

Seb McClouth wrote:Ted, what's it between you and Nod? It's like you two have a contest about who's better... But you're both good at what you do...
I win. 8)
There, it's settled.

As for the topic, I would guess using PUT for the bitmaps.

Or if you're really bored, pset every pixel. :lol:
by Mentat
Mon Apr 07, 2008 6:17 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Back face culling
Replies: 13
Views: 22251

Thanks, though I already got it. I just have to use the cross product with two sides. :mrgreen:
by Mentat
Thu Apr 03, 2008 6:30 pm
Forum: Freebasic Questions & Answers
Topic: What's up with the FB site?
Replies: 3
Views: 27542

I couldn't pull it up; it would time out. But now I can.
by Mentat
Thu Apr 03, 2008 4:17 pm
Forum: Freebasic Questions & Answers
Topic: Are the FB people gonna turn down this chance too?
Replies: 11
Views: 49040

I have a feeling that I missed something big. :|
by Mentat
Thu Apr 03, 2008 7:36 am
Forum: Freebasic Questions & Answers
Topic: What's up with the FB site?
Replies: 3
Views: 27542

What's up with the FB site?

I can't pull it up, but the cache and the other sites work fine. I can even pull up the forum.
by Mentat
Thu Apr 03, 2008 5:44 am
Forum: Freebasic Questions & Answers
Topic: Are the FB people gonna turn down this chance too?
Replies: 11
Views: 49040

I simply haven't been coming by as much. Though I do come here more often than to the FB site.


What's this about people being banned?
by Mentat
Wed Apr 02, 2008 6:29 am
Forum: Freebasic Questions & Answers
Topic: How to keep a program from hogging the processor?
Replies: 7
Views: 36119

Re: If he went to bed?

Am I missing something here? The program apparently ran for a long time. Sounds better than sitting there waiting for answers! I anticipated a SLEEP kind of answer, but once you start something, ya gotta finish it! Ted These problems can run for a long time. So, I want to be able to use the compute...
by Mentat
Tue Apr 01, 2008 3:59 pm
Forum: Freebasic Questions & Answers
Topic: How to keep a program from hogging the processor?
Replies: 7
Views: 36119

Alright. Is there a way to directly ask for a fixed percentage? Such as constantly using 3%?
by Mentat
Tue Apr 01, 2008 6:06 am
Forum: QBASIC and QB64 Questions & Answers
Topic: WRITING A SIMPLE GAME PROGECT.
Replies: 16
Views: 27196

Okay, think in coordinates. Now move the coordinates. Here's a way to move a dot across the screen in QB screen 12 cls 'coordinates dim x% dim y% 'something to hold keyboard input dim k$ do 'keyboard input k$=inkey$ 'move the dot 1 over, 1 down x%=x%+1 y%=y%+1 'draw it pset(x,y),15 'clear up behind ...
by Mentat
Mon Mar 31, 2008 8:48 pm
Forum: Freebasic Questions & Answers
Topic: How to keep a program from hogging the processor?
Replies: 7
Views: 36119

How to keep a program from hogging the processor?

I was just wondering how to run make FB programs in the back ground. Specifically, math intensive programs that run for extensive periods. I had to run one overnight because everything else was getting unresponsive or ridiculusly slow.
by Mentat
Mon Mar 31, 2008 8:38 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: WRITING A SIMPLE GAME PROGECT.
Replies: 16
Views: 27196

Well, break it down into parts. Such as a sub for drawing boxes.

Burger is right. We're here to help, not do work somebody else should be doing. And regurgitating code doesn't help with the learnign process. If somebody wants to know correct syntax of PUT or help with debugging a sub, then it's okay.