I have been using masks to generate transparent areas of bitmaps for some time now, but I have just hit a problem.
In the mask, the black represents the transparent section and white represents the opaque sections, and in the actuall image black represents transparency all the rest is blited to the screen. What if I want to a make part of an image transparent but some of the image I want to display is black, to it just keeps getting recognised as a transparent section?
in other words, how can I invert what colors represent transparent/opaque?
thanks