Does transparent images work with direct gui objects? Im having some problems with this. It looks like transparent pngs don’t seem to work on gui objects.
Im building my gui like this. The background image contains all the buttons drawn on the background. The only thing i pass to the DirectButton is the screen area that is sensitive to the mouse and the button border image. NOTE: Transparency saves me A LOT of time and work than if i had to create separate images for normal, rollback, clicked and disabled.
I have this background image:
institute.no.sapo.pt/Background800.png
When mouse rolls over one of the buttons or the button is disabled the only thing that the direct button would have to do was to draw an apropreate border on top of it:
institute.no.sapo.pt/YellowBorder.png
In a complex gui like this (it will be much more complex in the future) i would have to painfully save each button as four separate images: