in response to Montys question
- Posted by Michael Packard <lgp at EXO.COM> Sep 20, 1996
- 1769 views
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