Por: John Ray Thomas
Resumo: 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 C++Builder XE4 free for 30 days
Click to download now!
More social media choices:
C++Builder on Google+
@RADtools on Twitter
Server Response from: ETNASC03