Search found 409 matches

by Mentat
Wed Sep 12, 2007 4:15 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Prog Help plz
Replies: 10
Views: 17611

There's a better way to find some answers. Just use matricies and the inverse property. I forgot how, and it takes more work as the terms increase.
by Mentat
Wed Sep 12, 2007 6:32 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Text Saving and Loading Help?
Replies: 14
Views: 18421

Loading data, text, and events to the program. Like couple of rooms would be stored to the QB program, while all else is in notepad.
And when the person leaves, some data is saved, and everything else is loaded.
by Mentat
Wed Sep 12, 2007 6:25 am
Forum: QBASIC and QB64 Questions & Answers
Topic: RPG battle engine help
Replies: 19
Views: 27329

I note that Mentat did not take offense. None taken :wink: . I was thinking of teaching vkstylez from a general point of view. The best way to get familiar with code is to create it. It's harder to debug with copy-paste. And - hopefully - vkstylez might look to other RPGs for inspiration, as I did....
by Mentat
Wed Sep 12, 2007 6:17 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Prog Help plz
Replies: 10
Views: 17611

Any finite set of data can be modeled by an infinite set of functions. Humans pick the functions by what we know and what seems more efficient. Computers don't have base 'intuition' and so try to do it the way humans do it: picking what's been programmed. For example: 1,2,3,4,5,_ You'd say six. But ...
by Mentat
Tue Sep 11, 2007 8:47 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Prog Help plz
Replies: 10
Views: 17611

Also, I must admit I'm not quite sure how Mentat realized that those are polynomial.


Do the wave. 8)

Here's are rough sketch of a graph:
1) _/\
2) /^\
3) ---\
4) \_/
5) /^\_/
My text art is horrible but the data basicaly goes up and down.
by Mentat
Tue Sep 11, 2007 7:31 pm
Forum: News and Announcements
Topic: New QB GUI Site
Replies: 13
Views: 29861

Internet Explorer. But your signature link works. The first link brings up a pale blue screen, then reverts to "can't find address". Which is odd, considering it just did :lol: . It works if I do something wierd with the back button :) . My internet security (Norton) just went haywire. Tha...
by Mentat
Tue Sep 11, 2007 6:59 pm
Forum: News and Announcements
Topic: New QB GUI Site
Replies: 13
Views: 29861

Got a browser error.
by Mentat
Tue Sep 11, 2007 6:36 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Prog Help plz
Replies: 10
Views: 17611

Oh! Those are polynomial vertieces. Let's see: f(x)=ax?+bx+c Use the power rule and you get: where the highest number = -b/(2a), if it's just a parabola. So, if f(x)=A*X^N +B*X^(N-1) +...+Y*X^2+Z*X+C then all of the high/low points are: A*N*X^(N-1)+B*(N-1)*X^(N-2)+...+2*Y*X+Z=0 In theory, the comput...
by Mentat
Tue Sep 11, 2007 6:31 pm
Forum: Pete's QB Site News
Topic: QB Express #24 deadline
Replies: 9
Views: 61415

the most current possible news briefs
Cheer up. You could always add salt and make it hold over. 8)

But what is there to write news on? I'm just curious, as QB topics aren't the 'newest thing in biz tech'. Unless MS put QB in the new VS (Aren't they all new? :? ).
by Mentat
Tue Sep 11, 2007 4:18 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Text Saving and Loading Help?
Replies: 14
Views: 18421

But aren't genuine loading screens clasic? 8) And I want to write directly to the data itself via notepad. Or have another program help. And the time I used BLoad, well, I had something look like a cross between blood running down a wall and a red barcode. And it was supposed to be only a blue point.
by Mentat
Mon Sep 10, 2007 6:44 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Text Saving and Loading Help?
Replies: 14
Views: 18421

Thanks :D . I'm trying to save and load the vertices of cubes (3d) and lots of them. And I want to prewrite the data, as in writing directly to the .DAT before finishing the game, such as initial coordinates. For instance, do I write in notepad: InitialVertice.DAT x1 y1 z1 x2 y2 z2 ...... x6 y6 z6 ....
by Mentat
Mon Sep 10, 2007 5:16 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Text Saving and Loading Help?
Replies: 14
Views: 18421

Text Saving and Loading Help?

1) How do I load data from notepad (.DAT) into a QB array?
B) How do I save in the best format to .DAT?
3) How do I save and load dialogue (RPG)?
4) Just general saving and loading techniques in QB. I'm not using binary saving and loading. I haven't much experience with it.
by Mentat
Mon Sep 10, 2007 5:07 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: RPG battle engine help
Replies: 19
Views: 27329

Sounds good in theory but somethimes I don't pay attention and I have to assume the player doesn't too. But, I guess that might play in to the real player's actual capabilities and awareness. Thanks. :)
Andmaybe the virtual player's awareness could also play a part; both KOTORs do it.
by Mentat
Mon Sep 10, 2007 4:28 pm
Forum: News and Announcements
Topic: Palindromes
Replies: 8
Views: 23139

The only goto I use is Main, Start, and Finish. But Subroutines are good, as long as they are explained. I don't like reading a bunch of goto lines especially if they're GOTO 4. But TI - BASIC doesn't differentiate between programs and subs, as opposed to just gotoing.
by Mentat
Mon Sep 10, 2007 4:25 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: RPG battle engine help
Replies: 19
Views: 27329

Okay...But I do have something pertaining to the topic. How should I alert the player if he/she is being attacked from behind in the battle. It's first person, and I'm not using beeps. Any suggestions? I'm not changing to a separate battle screen. Should attacking from behind constitute an attack mo...
by Mentat
Mon Sep 10, 2007 6:11 am
Forum: QBASIC and QB64 Questions & Answers
Topic: RPG battle engine help
Replies: 19
Views: 27329

Well, I'm going to need a lot of help on it, but I'm working on another problem.
by Mentat
Sun Sep 09, 2007 9:38 am
Forum: QBASIC and QB64 Questions & Answers
Topic: RPG battle engine help
Replies: 19
Views: 27329

Hm...I'm working on a realtime battle engine. A mix of The Old Republic and Morrowind. More skill driven and open ended, or at least I'm trying.
by Mentat
Sat Sep 08, 2007 9:22 am
Forum: General Discussion
Topic: text adventures
Replies: 10
Views: 24872

Zork and a lot of older games will still be around, thanks to Java. Nobody can ignore the clasics, and now Java, Macromedia Flash, and others will keep them remembered.

Here's to Zork. Cheers :)

http://www.xs4all.nl/~pot/infocom/zork1.html

And don't forget: xyzzy
by Mentat
Fri Sep 07, 2007 7:02 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: RPG battle engine help
Replies: 19
Views: 27329

Here's two general tricks for developing large programs: 1) Make a Debug subroutine. It serves two functions, to help find problems by showing variables, and can correct silent runtime bugs (ex: in pong, if the ball goes out of left/right bounds, use a debugger to reset the pong coordinates). PowerB...
by Mentat
Thu Sep 06, 2007 6:21 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Read/Data error!
Replies: 7
Views: 13892

People, please use code tags
So that's what those buttons are for 8) .

please goto:

http://www.petesqbsite.com/forum/viewtopic.php?t=2428

I didn't post there just for fun. I KNOW somebody has the answer.