Search found 18 matches

by Andrew Dance
Fri Dec 21, 2007 12:24 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Loading a BMP file to show
Replies: 19
Views: 25376

its working fine now, and to Burger, its not stretched or warped at all...mabey my monitor is screwed up :D
by Andrew Dance
Thu Dec 20, 2007 8:25 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: first graphic based....game?
Replies: 11
Views: 20472

Lachie Dazdarian wrote:Would you consider please changing your bloated avatar?
if you have a problem with my avatar, PM me, don't crap up a thread with irrelevant things. its under 150x150 so whats the big deal?
by Andrew Dance
Thu Dec 20, 2007 3:02 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: first graphic based....game?
Replies: 11
Views: 20472

sid6.7 wrote:your last DO has no LOOP...how do you want it to go?
ok, that is just a typo, lol. its fixed now, and i edited the code box in the first post to match what it is now.
by Andrew Dance
Thu Dec 20, 2007 1:22 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: first graphic based....game?
Replies: 11
Views: 20472

Re: first graphic based....game?

Mac wrote:
Andrew Dance wrote:here's the source
I only see a bit of the source.

Mac
its all there

it ends with the

Code: Select all

END IF
by Andrew Dance
Thu Dec 20, 2007 10:12 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Compiler problem with QuickBasic 7.10
Replies: 5
Views: 8974

thanks guys. i DL'd it and its working perfectly :P thanks a million again ^^
by Andrew Dance
Wed Dec 19, 2007 10:40 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Compiler problem with QuickBasic 7.10
Replies: 5
Views: 8974

Compiler problem with QuickBasic 7.10

it keeps asking for the definitions file and that it cannot locate QB .exe
uhh....help please? im totally lost.

:?
by Andrew Dance
Wed Dec 19, 2007 10:37 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: first graphic based....game?
Replies: 11
Views: 20472

The flicker is, of course, a result of the CLS. You're using SCREEN 7, which means you can always use screen pages. Look up how to do this in the QB help, it gives a pretty good explanation. yeah, i stumbled across the pages tutorial right after i posed this, and removed the flickering. As for the ...
by Andrew Dance
Wed Dec 19, 2007 10:10 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Loading a BMP file to show
Replies: 19
Views: 25376

Awesome. i got it to work just fine. Thank you both a million :D
by Andrew Dance
Wed Dec 19, 2007 8:38 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Loading a BMP file to show
Replies: 19
Views: 25376

Did you save it as an 8 bit bitmap? Paint is not the greatest kind of image editor. You should be able to set the palette's BPP to 8 in Photoshop. Your code is from here I gather and it should work for screen 13. Does it load at all? If it is skewed, the bitmap needs a padder. Ted Nodvelt is a well...
by Andrew Dance
Wed Dec 19, 2007 8:03 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: first graphic based....game?
Replies: 11
Views: 20472

first graphic based....game?

Yeah, its not really a game more than it is a test of my skills that i learned in the last day... I know that its slow and skips a lot and crappy as hell, but its good enough for me because at least i understand DATA, DIM, GET, and PUT. help as to why its skippy (and im sure it's because of the CLS ...
by Andrew Dance
Wed Dec 19, 2007 7:28 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Loading a BMP file to show
Replies: 19
Views: 25376

yes, I'm pretty sure it is. i did it in photoshop, set the color palate to 256 colors, and also opened it in paint, and saved it as a 256 color bmp.

i saved it as a 16 color bmp and same result, except instead of a green line at the top, its 3 white dots :/
by Andrew Dance
Wed Dec 19, 2007 6:19 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Loading a BMP file to show
Replies: 19
Views: 25376

can someone please help?
by Andrew Dance
Wed Dec 19, 2007 1:26 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Loading a BMP file to show
Replies: 19
Views: 25376

here is the source TYPE BMPHeaderType id AS STRING * 2 'Should be "BM" size AS LONG 'Size of the data rr1 AS INTEGER ' rr2 AS INTEGER ' offset AS LONG 'Position of start of pixel data horz AS LONG ' wid AS LONG 'Image width hei AS LONG 'Image height planes AS INTEGER ' bpp AS INTEGER 'shou...
by Andrew Dance
Tue Dec 18, 2007 6:21 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Loading a BMP file to show
Replies: 19
Views: 25376

Well i got it all in there, got my own bmp file in the same directory, and when i press F5 to run it, all i get is a dark green line across the top row of pixels. any ideas as to what happened?
by Andrew Dance
Tue Dec 18, 2007 11:06 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Loading a BMP file to show
Replies: 19
Views: 25376

oh, i love you lol. thanks a whole lot! this REALLY helped me. Edit: You know what, i think I'm about to feel really stupid, but in the header under TYPE BMPHeaderType where all the AS INTEGER and AS LONGs are, do i replace it with the actual data or not :x? because it's saying in the comments 'Shou...
by Andrew Dance
Tue Dec 18, 2007 8:12 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Loading a BMP file to show
Replies: 19
Views: 25376

Loading a BMP file to show

i know there are some good tuts for this such as http://www.petesqbsite.com/sections/tutorials/tuts/loading_bmps.html , but my problem is i like to know every little detail and whats going on....it's a lot to ask, but I'd appreciate it if anyone could explain in the code with comments whats actually...
by Andrew Dance
Mon Dec 17, 2007 9:20 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: 256 colours
Replies: 12
Views: 24678

256 colours

i'm sure it's a simple question, but where can i find or learn the 256 colour palate with the colour codes? I know of the 0-15 from http://www.petesqbsite.com/sections/tutorials/tutorials/graphix.txt but i would prefer a larger variety to use. Edit: and yes, im using screen 13 to use the 256 colours...
by Andrew Dance
Mon Dec 17, 2007 8:56 pm
Forum: General Discussion
Topic: Hello Everyone!
Replies: 5
Views: 13675

Hello Everyone!

I just thought I'd introduce myself. I'm Andrew, and have been coding in basic for a few years, without much progress. I've used Pete's site a lot in learning (the only source other than QBasic's help file). I've started to get into more serious programming, so i figured I'd join the board, since it...