Non-square buttons

Started by deltamatrix, Fri 25/05/2007 18:09:21

Previous topic - Next topic

deltamatrix

I've been having trouble setting up GUI's using button sprites that don't conform to the standard rectangular shape of the GUI buttons.
In some cases, the GUI buttons can overlap due to their square shape because of buttons being aligned in a diagonal direction.

If it possible to set up a GUI so that the transparent segments of a button sprite are non-clickable?
BAD WOLF - TORCHWOOD - MR SAXON - THE BEES ARE DISAPPEARING - PANDORICA - RIVER SONG

GarageGothic

A forum search for "buttons transparent" would have brought up this workaround which I came up with a while ago. Make sure to read the part below the code about overlapping buttons.

SMF spam blocked by CleanTalk