[99% SOLVED] - Transparency on Tokens / Cards?

Started by Jynks, October 11, 2011, 10:44:27 AM

Previous topic - Next topic

Jynks

Is it possible to use say PNG or a colour key to have transparent areas on a card or token? so non uniform cards shapes can be placed on the table? (say an octagon for example)

<---EDIT

After some trial and error, saving as a GIF with transparency works fine.. you need to put filename.GIF into the image column of the sets.txt file, not just the name or it will default look for jpg i think.

Only problem now is that this still leaves black line for the bounding box of the square bitmap on screen... can this be removed?


Trevor

The bounding box is an area that can be clicked. Consider an irregular transparent card, where there are random areas with transparency. If you could only click on opaque regions, it could be a pain to click on a card. For that reason, simple rectangles are valid clickable areas, and there is therefor a rectangular bounding box. Also, the borders of this box are highlighted when the card is selected, and it would be very difficult to highlight irregular borders based on the card image.