By: John Ray Thomas
Abstract: Allow a transparency color, to show the background around irregular shaped sprites.
bmp->TransparencyColor = bmp->Canvas->Pixels[0,0];
bmp->Transparent = true;
The following image is an example of color keyed image. Any color not in the image will do, therefore I suggest something bright like "hot pink".
Free 30-day trial! Develop for Windows, Mac, Android, iOS, devices and gadgets!
More social media choices:
C++Builder on Google+
@RADtools on Twitter
Server Response from: ETNASC03