1. in response to Montys question
- Posted by Michael Packard <lgp at EXO.COM> Sep 20, 1996
- 1742 views
- Last edited Sep 21, 1996
my mailer sucks. Often enough to be a pain, it just forgets what I type when I reply to something. ish. ok in response to monty's questions: 1) DON'T EVER USE COLOR 0 to DRAW ANYTHING YOU WANT SEEN. Check to see if the red you chose from my palette is in fact color 0. Color 0 is my masking color, meaning that any color 0 pixels in a sprite or whatever is ignored by my drawing routine. If you draw on a tank picture in color 0, you make big holes in it when you run the program. I'll explain this in gross detail, along with why I sometimes make it RED and not BLACK like you'd expect, later in the course. 2) No, I don't use the active page\display page in any of my programs, because mode 19 doesn't seem to have multiple pages, at least on my video card. I tried playing with it, but it didn't work, so I gave up. Instead I create a Virtual Screen, a screen sized object, which I store my temporary backgrounds in and I "draw" my sprites into by indexing y,x into it and replacing pixel values with those from my sprites (if the value isn't 0, my MASKING COLOR) 3) as for windows, it sucks, don't use it. =) Michael
2. Re: in response to Montys question
- Posted by Monty King <kinm at MAILHOST.CYBERHIGHWAY.NET> Sep 20, 1996
- 1771 views
- Last edited Sep 21, 1996
At 08:24 PM 9/20/96 -0700, you wrote: Check to see >if the red you chose from my palette is in fact color 0. Color 0 is my >masking color, Yes this was the color, but it was above the tank, up on the mountain, why would this change the tank? >Instead I create a Virtual Screen, a screen sized object, which I store >my temporary backgrounds in and I "draw" my sprites into by indexing y,x >into it and replacing pixel values with those from my sprites (if the >value isn't 0, my MASKING COLOR) Cool, now I understand the program better. >3) as for windows, it sucks, don't use it. =) I mostly aggree. I like the tag line someone was using on a mail group, went something like this... --------------------------------- Any use of this message by Microsoft Network incures a charge of 39.95 to Microsoft Network payable to Monty B. King P.O. Box etc... ---------------------------------- Thanks for the help... Monty