Search found 20 matches

by Joe
Thu Sep 06, 2007 12:05 am
Forum: General Discussion
Topic: Check out my new resume / portfolio website
Replies: 7
Views: 15539

I already found it through your LinkedIn profile. It's pretty impressive. This is a great way to market yourself. The only advice I can give you is to upload your resume to resume sites like Monster.com and Dice.com, if you haven't already. Best of luck with your job searching.
by Joe
Tue Aug 28, 2007 6:34 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Possible to store an array in a sub?
Replies: 12
Views: 26072

It all depends on what resolution you want and how many colors your program/game will support. In QB, most screens only support 16 colors, but if you want more color than go for Screen 13, which is an 8bit graphics mode that supports 256 colors. Paging means that there is more than just one screen t...
by Joe
Mon Aug 27, 2007 2:42 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: MY FIRST GAME!!!!!! PONG!!!!!!
Replies: 17
Views: 31193

It took me a few tries, but I managed to beat it. Not bad. Faster response and movement for the paddle would be nice, but then that would take away the challenge factor. ;) You can load bmp files in QB. All you need to know is how to load a file and understand the bmp file structure. But if you don'...
by Joe
Mon Aug 27, 2007 2:31 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: MY FIRST GAME!!!!!! PONG!!!!!!
Replies: 17
Views: 31193

Much better. :)
by Joe
Mon Aug 27, 2007 2:26 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: MY FIRST GAME!!!!!! PONG!!!!!!
Replies: 17
Views: 31193

You must have pasted the wrong version of the code or something. Look up at your first post with the code. There is no check for the down arrow.
by Joe
Mon Aug 27, 2007 2:03 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: MY FIRST GAME!!!!!! PONG!!!!!!
Replies: 17
Views: 31193

4.5

Windows XP Professional
Pentium M, 1.7ghz

It runs for the first second, but when the ball goes off the screen it crashes the program.

Also, what are the controls? All I can find in the code is a reference to one keypress. How can you play the game with only one key?
by Joe
Mon Aug 27, 2007 1:06 pm
Forum: Pete's QB Site News
Topic: Best QB Game Developer of All Time Tournament
Replies: 35
Views: 167721

Looks like Angelo is crushing the competition, which was expected. :) I voted for Delta Code cause I loved their work! The Larry the Dinosaur series were excellent pieces of programming, and I still play Unofficial Tournament with my mate on his ancient machine. Joe Kings raycasting tutorials also t...
by Joe
Mon Aug 27, 2007 1:00 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: MY FIRST GAME!!!!!! PONG!!!!!!
Replies: 17
Views: 31193

I get an "illegal function call" on this line:

Code: Select all

PUT (ballx, bally), ball      'final positions 
Here's what I pulled from the instant watch feature:

ballx: 306
bally: 186

It looks like some of the sprite was drawn beyond the edges of the screen.
by Joe
Mon Aug 27, 2007 9:20 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Possible to store an array in a sub?
Replies: 12
Views: 26072

Unless you declare OPTION BASE 1, then there are actually 6 elements allocated in the array. This is BASIC, so there's nothing wrong with going from 1 to 5. I think that's the only part I didn't do...plus DIM SHARED. So basically when I add SHARED to it, it lets me "share" the array betwee...
by Joe
Sun Aug 26, 2007 9:54 pm
Forum: General Discussion
Topic: New kind of maze/world?
Replies: 20
Views: 37764

Hmm, I don't know. If you mean splitting up the polygon into triangles and painting them then that won't fix anything. When I said that using paint wasn't a good idea to fill polygons, I was referring to any arbitrary polygon including triangles. Just set up your own triangle filler using paint and ...
by Joe
Sun Aug 26, 2007 12:09 am
Forum: General Discussion
Topic: New kind of maze/world?
Replies: 20
Views: 37764

I don't quite see what you're talking about. :?

Could you explain it in a little more detail?
by Joe
Fri Aug 24, 2007 10:24 am
Forum: General Discussion
Topic: New kind of maze/world?
Replies: 20
Views: 37764

Do you mean raytracing? There's a big difference between the two. Raytracing can fill polygons, but it's really processor intensive and generally slow even on today's computers. You'd have a lot of trouble trying to do real-time graphics with that method. But if you aren't and only care to produce p...
by Joe
Thu Aug 23, 2007 9:09 pm
Forum: General Discussion
Topic: New kind of maze/world?
Replies: 20
Views: 37764

'- Triangle fill example (FB Version) '- by Joe King '- 2007-08-22 TYPE tVertex x AS INTEGER y AS INTEGER END TYPE DECLARE SUB WireTriangle (v1 AS tVertex, v2 AS tVertex, v3 AS tVertex, col AS INTEGER) DECLARE SUB FillTriangle (v1 AS tVertex, v2 AS tVertex, v3 AS tVertex, col AS INTEGER) DECLARE SU...
by Joe
Wed Aug 22, 2007 9:43 pm
Forum: Pete's QB Site News
Topic: QB Express #24 deadline
Replies: 9
Views: 47669

Just shot ya an article there, Pete.
by Joe
Wed Aug 22, 2007 9:25 pm
Forum: General Discussion
Topic: New kind of maze/world?
Replies: 20
Views: 37764

Okay, I managed to code an example. I have a FB version if you want that too. It's commented, so it should be fairly easy to follow. All you need to have is an understanding of slopes or interpolation. Also, check out relsoft's tutorial on this: http://rel.betterwebber.com/mytutes/3dtutes/chapter3/c...
by Joe
Wed Aug 22, 2007 1:11 pm
Forum: General Discussion
Topic: New kind of maze/world?
Replies: 20
Views: 37764

Not a good idea. I've tried that before and the paint will miss the center in certain cases. And it also won't fill the entire triangle all the time (the corners will block the paint fill from reaching the empty pixels). What you want to do is make your own triangle-drawing algorithm. What you need ...
by Joe
Tue Aug 21, 2007 9:12 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: YAY!! I made a sucky game...I'm so proud of myself
Replies: 5
Views: 10839

I beat it! Yeppie! Level 4 was a tough one.
by Joe
Tue Aug 21, 2007 1:48 pm
Forum: General Discussion
Topic: New kind of maze/world?
Replies: 20
Views: 37764

Mentat wrote:How do I fill in an arbitrary polygon bounded by lines?
EDIT: oops, gave some wrong advice here. Dismiss it.
by Joe
Thu Aug 16, 2007 11:22 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: game help
Replies: 3
Views: 7895

But I found it didn't run smoothly, like when you would hold down the arrow key or something like that. This happened to me also when i was making a pacman clone. That could be from using INKEY$ for your input. INKEY$ is only best for simple keyboard input. If you want instantaneous multi-key-combo...
by Joe
Wed Aug 15, 2007 3:13 pm
Forum: General Discussion
Topic: 2nd Programming Competition Thread
Replies: 26
Views: 42408

Austin wrote:2D Mario Style Game would be fun. Sort just try to get to the end of the track with various puzzles and monsters in your way.
I like this idea.