Search found 174 matches

by Zamaster
Thu Mar 09, 2006 8:10 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Making a console for my program
Replies: 3
Views: 5968

Im thinking that youre goin' a bit farther than you need to here Dave. I rarely use debug files unless its a really massive program that must be 100% bug-less and perfect in every way. Im sensing your making a game here right? What Id do is just break everything up into subs, I mean everything. Crea...
by Zamaster
Wed Mar 08, 2006 9:07 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Making a map loading sub
Replies: 5
Views: 12758

no problem!
by Zamaster
Wed Mar 08, 2006 7:05 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Making a map loading sub
Replies: 5
Views: 12758

Well if you looked, my code stores the map data in ram. So it should work fine that way. A few questions, are you talking about accessing the map data or the tile images? To make the map data load faster, you should compress the data array to one index, just multiply together all the original indexs...
by Zamaster
Wed Mar 08, 2006 3:29 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Making a map loading sub
Replies: 5
Views: 12758

It depends on how the map got there, did you just type it up in notepad? Is it something you made in QBASIC? I have the feelling its a file created with APPEND as the OPEN file type. Assuming it is, just use INPUT #(file number), (variable to receive data). This is very simple and easy to use. I gue...
by Zamaster
Sun Mar 05, 2006 6:04 pm
Forum: General Discussion
Topic: Cell Shading
Replies: 7
Views: 18847

I know how the outline is done. A second object is created, slightly larger than the first. It is linked to the original object and uses reverse culling. So you see the inside and not the outside. This creates an outline of the chraracter which moves with it.
by Zamaster
Sun Mar 05, 2006 12:49 pm
Forum: General Discussion
Topic: Cell Shading
Replies: 7
Views: 18847

Thanks but I said I know what it looks like. Im just curious to know what you're actually doing to the 3D model. Im not looking for the formula or anything. I know about Cartoon chading which is something like modifying the light properties of an object such as specular and diffuse. Im just wonderin...
by Zamaster
Sat Mar 04, 2006 10:26 pm
Forum: General Discussion
Topic: Cell Shading
Replies: 7
Views: 18847

Cell Shading

What exactly is cell shading? I know what it looks like, but what exactly IS it?
by Zamaster
Sat Mar 04, 2006 10:25 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Point of Intersection
Replies: 8
Views: 13414

Hehehe, I figured it out. After about 10 mins of tough "sheet of paper staring", I decided what Needed to be done. Take angles from points of line A and B. Find the distance from points on line A and B, depending on the angles and distances one of the points (must be greater from point Axy...
by Zamaster
Sat Mar 04, 2006 9:37 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Point of Intersection
Replies: 8
Views: 13414

Yeah, thats pretty much what Im doing. Im working on a Sand Simulator and I need the collision to be perfect. So the sand doesnt go through specified "surfaces"-(just lines that act as barriers), I need to project a line segment from the sand to its next position and a line segment of the ...
by Zamaster
Tue Feb 28, 2006 9:31 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Point of Intersection
Replies: 8
Views: 13414

What do you mean by, "outside the range of the two lines"? Do you mean if the point doesnt fall on either line?
by Zamaster
Mon Feb 27, 2006 3:09 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Point of Intersection
Replies: 8
Views: 13414

First of all, let me fix my equation... xp = (y1A - y1B) / (xslopeB - xslopeA) yp = xslopeA * xp + y1A Im not sure how I got the first one. Im still working on it, the first thing I need to do is get this equation to compensate for similar y1's. Then I need to come up with a way to check if they do ...
by Zamaster
Sat Feb 25, 2006 11:17 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Point of Intersection
Replies: 8
Views: 13414

Point of Intersection

Can anybody help me find the point of intersection between TWO LINE SEGMENTS. If I only have (x1, y1, x2, y2) of both line segments, what is the formula to get two variables, px and py. Is there a way to test beforehand if the lines cross? And can nobody post the way you do it on paper, Im aware how...
by Zamaster
Wed Feb 22, 2006 7:41 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: A few questions...
Replies: 4
Views: 7585

For the record, Im pretty sure QB running on windows follows this function to generate random numbers: rand = (seed * 214013 + 2531011) MOD 16777216 seed = rand whereas the last random number generated is the new seed. But when we would ask QB for an actual random munber... it returns this instead(f...
by Zamaster
Sun Feb 19, 2006 1:40 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Running ASM code
Replies: 9
Views: 11871

Thanks a bunch everybody. I guess Im pretty much attempting a mini programing language(nothing big) so I can make it work the way I want it to work and have the capacity to do things that Id like it to do easily. Like adding in commands that I thought other languages should have and creating ones I ...
by Zamaster
Fri Feb 17, 2006 12:00 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Running ASM code
Replies: 9
Views: 11871

Im with moneo, thats pretty much what Im trying to do. CREATE A PROGRAM that takes ASM code and converts it to HEX machine code and than runs it without CALL ABOSOLUTE. I know all abou DEBUG and CALL ABSOLUTE and what an assembler is, thats not the issue. I need to create a homade assembler and some...
by Zamaster
Wed Feb 15, 2006 4:07 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Running ASM code
Replies: 9
Views: 11871

Running ASM code

Im wondering if anybody out there knows hows I would create a program that takes ASM code like "mov 1, ax" and things of that nature and turns it into HEX and then runs that system HEX code. Uh... so maybe this is kinda a far out question but Im all open for suggestions. I mean like, ASM c...
by Zamaster
Thu Jan 26, 2006 7:18 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Trying to make a pong game. Please help!
Replies: 4
Views: 12191

Or, you might want to try something a bit different for collision detection. Deleter's way works just fine for most situations... but in some instances it can cause the ball to vibrate madly back and forth inside the object its colliding with. I dont feel like coding anythnig right now, but think in...
by Zamaster
Fri Dec 02, 2005 9:57 pm
Forum: General Discussion
Topic: Forgive me!
Replies: 4
Views: 9647

Thanks Nathan, good idea. Thats sad, it never occured to me.
by Zamaster
Fri Dec 02, 2005 7:11 pm
Forum: General Discussion
Topic: Forgive me!
Replies: 4
Views: 9647

There's the problem, they're in aruba. I think I must resort to the first of the two. But how?
by Zamaster
Fri Dec 02, 2005 6:36 pm
Forum: General Discussion
Topic: Forgive me!
Replies: 4
Views: 9647

Forgive me!

I honestly hate asking this kinda question but, I need help. How does one aquuire somebody else's password on a school computer network? I know this might be considered "hacking" and is probably not to be spoken of on this board but... I need a project from somebody elses account and they ...