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 license of new C++Builder XE7! Develop for Windows, Mac, Android, iOS, devices and gadgets!
Click to download now!
More social media choices:
C++Builder on Google+
@RADtools on Twitter
Server Response from: ETNASC04