Jasper Phillips wrote:
The only tricky way to do this is with colorkeys. If you have a two color image, you set the colorkey to the 'interior' color and blit that on top of the image to mask. Then on that image you set the colorkey to the remaining color.I have a surface to which I want to add hex shaped transparent holes, with the aim of creating a "frame" that I can blit onto a hex map to mask anything outside the hexes. Is there some api or trick for doing this?