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".
Try new C++Builder XE5 free for 30 days. Develop for Windows, Mac and iOS!
Click to download now!
More social media choices:
C++Builder on Google+
@RADtools on Twitter
Server Response from: ETNASC03