Search found 409 matches

by Mentat
Mon Aug 27, 2007 8:40 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Best iterating through all values for all elements in array
Replies: 14
Views: 9560

For the soduko, just use for loops and do it how you would personally. Of course there is ASM: The fastest way to do it. :) The slowest way to write it. :D What's the application? There might be a way around. Let's see: log 4^25 = 25 log 4 = 50 log 2 = 15 digits = 10^15 Around a quadrillion. :shock:
by Mentat
Mon Aug 27, 2007 8:29 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: MY FIRST GAME!!!!!! PONG!!!!!!
Replies: 17
Views: 15664

Here, try this:

... 'normal code
PSET (X,Y)
PSET (U,V),0 'turns old image off
LET U=X
LET V=Y
...

That makes you pong ball move very quickly while using little memory.
MAKE SURE TO SET U AND V TO X AND Y AFTER PSET!
Good luck. That was my first program.
by Mentat
Mon Aug 27, 2007 4:25 pm
Forum: Pete's QB Site News
Topic: QB Express #24 deadline
Replies: 9
Views: 19214

There's no way one tutorial can adequatly cover Physics Engines. :(
I'm still on vectors, and I can go on forever at this rate. :?
by Mentat
Mon Aug 27, 2007 4:23 pm
Forum: General Discussion
Topic: New kind of maze/world?
Replies: 20
Views: 18770

Well, There are a lot of polygons (mostly quads) too numerous for me to preplan painting, but maybe regualar enough for an algorithm. They're mostly cube sides. And by the way, the aux lines will take care of the thin triangle problem. That's my main reason for using it. A) Since Polygon edges are p...
by Mentat
Sun Aug 26, 2007 8:19 am
Forum: General Discussion
Topic: New kind of maze/world?
Replies: 20
Views: 18770

Ok. Imagine you have a cube. One auxilary line (I made the name up) just connects one pair of diagonal vertices for each face. Then, later on paint both sides of the same color of the Aux line (but not the edges! Otherwise the computer will make a mistake and paint all over the place :) ). However, ...
by Mentat
Sat Aug 25, 2007 8:04 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Qbasic Virus MUHAHAHAHA!!!
Replies: 8
Views: 7331

Raspberrypicker wrote: But no, i'd never, ever, ever make a program that wud just cause mischief.
Me to. I'd only make one if I got something out of it, otherwise it's a waste of time :twisted: .
by Mentat
Fri Aug 24, 2007 5:06 pm
Forum: Pete's QB Site News
Topic: QB Express #24 deadline
Replies: 9
Views: 19214

Tutorials are about all I can write. But I'll try. Hope my WF was good. :D

[8/25 edit] : I started on my Physics Engine tutorial. Should I send it to #24 or wait till #25? I think I'll be pretty long. Already 2 pages, no major source code, and I haven't even finished vectors.
by Mentat
Fri Aug 24, 2007 4:33 pm
Forum: General Discussion
Topic: New kind of maze/world?
Replies: 20
Views: 18770

I mean throwing rays at auxilery lines and painting around them, thus not "missing". Like this:
+-----+
|......./|
|...../..|
|.../....|
|./......|
+-----+
Where the "/" is the aux line and the dots are paint, and the boder is a square or something.
by Mentat
Fri Aug 24, 2007 4:23 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: How-to create a autotyper that types in OTHER programs
Replies: 5
Views: 3951

I meant input for the text, which would be output or append for the cource code. But I think that only works for .txt, though I'm not sure. Assmbly might be better, but I haven't the slightest idea how to use it for the keyboard.
Or you could program robotic AI to type for you. :D
by Mentat
Fri Aug 24, 2007 6:36 am
Forum: QBASIC and QB64 Questions & Answers
Topic: How-to create a autotyper that types in OTHER programs
Replies: 5
Views: 3951

Open text as input. I heard that you could overwrite the keyboard buffer or something like it instead, thus simulating typing.
by Mentat
Fri Aug 24, 2007 6:34 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Qbasic Virus MUHAHAHAHA!!!
Replies: 8
Views: 7331

In theory, I guess. But it will probably be more of a nucance than a threat with software and protected OSs.
by Mentat
Fri Aug 24, 2007 5:56 am
Forum: General Discussion
Topic: New kind of maze/world?
Replies: 20
Views: 18770

Could raycasting be used to fill wireframes?
by Mentat
Thu Aug 23, 2007 4:34 pm
Forum: Pete's QB Site News
Topic: QB Express Article Requests
Replies: 140
Views: 226239

Ok...Wireframes and physics engines go hand in hand. Wireframes show 3D lines and points. Physics engines figure out what to do with the points and lines. Any interactive wireframe or just a moving one is a physics engine. Now, when most people say P.E., they mean the calc/trig based ones, such as a...
by Mentat
Wed Aug 22, 2007 5:27 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: IMPORTANT QUESTION
Replies: 7
Views: 5035

You probably did half the work. What you have to do shouldn't be that hard. 8)
by Mentat
Wed Aug 22, 2007 5:02 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Program Pipes
Replies: 2
Views: 3027

Program Pipes

How do I get a QB program to start another QB prog?
Please, if there's a way without directories, please tell me. My dirs are a mess.
by Mentat
Wed Aug 22, 2007 4:59 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: IMPORTANT QUESTION
Replies: 7
Views: 5035

ASM, I think. :? It should work; if it's just interupts.
by Mentat
Wed Aug 22, 2007 4:27 pm
Forum: General Discussion
Topic: New kind of maze/world?
Replies: 20
Views: 18770

Thanks. :D
by Mentat
Wed Aug 22, 2007 6:31 am
Forum: General Discussion
Topic: New kind of maze/world?
Replies: 20
Views: 18770

So it fills the entire polygon up? :)
by Mentat
Wed Aug 22, 2007 6:29 am
Forum: News and Announcements
Topic: Wire V.1 is finished, V.2 is soon to be ready
Replies: 6
Views: 7692

I'll need an e-mail address or some other way to send (I'm not yet finished with V.2). I also don't have a physics engine program, I'm just working on the tutorial. And my engine is more of a subroutine than an entire program, unless it's a demo. :)
by Mentat
Tue Aug 21, 2007 4:16 pm
Forum: General Discussion
Topic: New kind of maze/world?
Replies: 20
Views: 18770

I mean color. I need a quick way to fill in already made polygons for my RPG. Many polygons.