Hi All,
Is a sprite's alpha channel independent of its AlphaColor? After reading through the documentation and forum, my understanding is as follows:
1. The alpha channel is a greyscale mask placed over an image that determines the transparency of various parts of the image. (Black on the mask corresponds to an opaque part of the image, whereas white corresponds to a completely transparent part of the image. Intermediate values--namely, greys--correspond to a partially transparent parts of the image.)
2. The AlphaColor determines the transparency of the entire image. For example,
SomeFrame.AlphaColor = MakeRGBA(255, 255, 255, 0); // fully transparent
SomeFrame.AlphaColor = MakeRGBA(255, 255, 255, 128); // partially transparent
SomeFrame.AlphaColor = MakeRGBA(255, 255, 255, 255); // fully opaque
Is this accurate? In setting the AlphaColor with MakeRGBA(red_value, green_value, blue_value, alpha_value), would {red,green,blue}_value ever be set to a non-255 value? If so, how would this affect the image?
Thanks so much for your help!
Greg