Why am I losing transparency when calling BitBlt or CopyRect?
Problem I am trying to copy 32x32 tiles from a TBitmap into a TPaintbox which is my map editor, but I cannot seem to get the transparency working correctly. See the image below: Note: For the purpose of the demo and testing, I have placed a TImage underneath the TPaintbox which would help see if the transparency is working or not. As you can see, regular tiles draw correctly, but the tiles that should be transparent are drawn with a white background. I am now using proper classes to manage my maps and tiles, and below is two ways I have tried drawing: CopyRect: procedure TMap.DrawTile(Tileset: