In AGS 2.72, I have a GUI with a transparent background (i.e. color 0), in the middle of which is a button with a sprite on it. Part of the sprite is also transparent, and all of this runs in 16-bit color mode.
If I fade in the GUI by gradually changing its transparency from 0% to 100%, then a gray box will appear around the sprite, as if its transparency doesn't work. On the other hand, if I simply fade out the entire screen, then it works normally.
Does this sound familiar to anyone? Is it a bug or am I doing something wrong? Is there a workaround?
It has to do with a setting to "gray out controls when disabled" or something like that. You can find it in the general settings; I don't remember if you can also set it programmatically.
If that is the problem you can set the option in the editor, or you can do it via the script with the SetGameOption function for OPT_WHENGUIDISABLED.
Yep, that was it, thanks :)