1. Colors?
- Posted by Eduardo Uemura Okada <cool at ART.COM.BR> Jul 04, 1997
- 807 views
Yeah, with this mailing list, we feel like we aren't alone, but, this is my doubt: with the routine mask_image (thanks to Mike Fowler!) I can mask a color of background of my sprite, but this routine can do it with 256 colors mode? In a image that has 256 colors? (this is to you Mike...) Awaiting answer... Eduardo Uemura Okada cool at art.com.br
2. Colors?
- Posted by Mike Fowler <stoner at NELSUN.GEN.NZ> Jul 04, 1997
- 821 views
- Last edited Jul 05, 1997
Eduardo Uemura Okada wrote: -> Yeah, with this mailing list, we feel like we aren't alone, but, -> this is -> my doubt: with the routine mask_image (thanks to Mike Fowler!) I can -> mask a color of background of my sprite, but this routine can do it -> with 256 colors mode? In a image that has 256 colors? (this is to you -> Mike...) Awaiting answer... righto... masked_image is just display_image, but instead of printihg the image line-by-line, it checks each pixel to se if its the colour that you want to mask. If it is, it moves the draw position 1 pixel to the right WITHOUT drawing a pixel, so that peice is left clear. so, i figure, if display_image can do it, masked_image can do it (but its alot slower because it has to scan each pixel, then either draw it or move on) hope that answered your question :) Mike Fowler - mike.fowler at nelsun.gen.nz o__ --- _,>/'_ --- (_) \(_) --- Tip for the month: Buy a Pentium II - they reboot faster.