Search found 20 matches
- Thu Sep 06, 2007 12:05 am
- Forum: General Discussion
- Topic: Check out my new resume / portfolio website
- Replies: 7
- Views: 15911
- 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: 27097
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...
- Mon Aug 27, 2007 2:42 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: MY FIRST GAME!!!!!! PONG!!!!!!
- Replies: 17
- Views: 32166
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'...
- Mon Aug 27, 2007 2:31 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: MY FIRST GAME!!!!!! PONG!!!!!!
- Replies: 17
- Views: 32166
- Mon Aug 27, 2007 2:26 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: MY FIRST GAME!!!!!! PONG!!!!!!
- Replies: 17
- Views: 32166
- Mon Aug 27, 2007 2:03 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: MY FIRST GAME!!!!!! PONG!!!!!!
- Replies: 17
- Views: 32166
- 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: 219240
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...
- Mon Aug 27, 2007 1:00 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: MY FIRST GAME!!!!!! PONG!!!!!!
- Replies: 17
- Views: 32166
I get an "illegal function call" on this line:
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.
Code: Select all
PUT (ballx, bally), ball 'final positions
ballx: 306
bally: 186
It looks like some of the sprite was drawn beyond the edges of the screen.
- 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: 27097
- Sun Aug 26, 2007 9:54 pm
- Forum: General Discussion
- Topic: New kind of maze/world?
- Replies: 20
- Views: 39074
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 ...
- Sun Aug 26, 2007 12:09 am
- Forum: General Discussion
- Topic: New kind of maze/world?
- Replies: 20
- Views: 39074
- Fri Aug 24, 2007 10:24 am
- Forum: General Discussion
- Topic: New kind of maze/world?
- Replies: 20
- Views: 39074
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...
- Thu Aug 23, 2007 9:09 pm
- Forum: General Discussion
- Topic: New kind of maze/world?
- Replies: 20
- Views: 39074
'- 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...
- Wed Aug 22, 2007 9:43 pm
- Forum: Pete's QB Site News
- Topic: QB Express #24 deadline
- Replies: 9
- Views: 70771
- Wed Aug 22, 2007 9:25 pm
- Forum: General Discussion
- Topic: New kind of maze/world?
- Replies: 20
- Views: 39074
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...
- Wed Aug 22, 2007 1:11 pm
- Forum: General Discussion
- Topic: New kind of maze/world?
- Replies: 20
- Views: 39074
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 ...
- 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: 11285
- Tue Aug 21, 2007 1:48 pm
- Forum: General Discussion
- Topic: New kind of maze/world?
- Replies: 20
- Views: 39074
- Thu Aug 16, 2007 11:22 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: game help
- Replies: 3
- Views: 8042
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...
- Wed Aug 15, 2007 3:13 pm
- Forum: General Discussion
- Topic: 2nd Programming Competition Thread
- Replies: 26
- Views: 42894