Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Thu 17/04/2003 00:44:50

Title: How can you make parts of a GUI transparent
Post by: on Thu 17/04/2003 00:44:50
 I would like to make a GUI that has rounded edges. Is it possible to set the background color to transparent and if so how.  Thanks.
Title: Re:How can you make parts of a GUI transparent
Post by: Fabiano on Thu 17/04/2003 02:57:57
the second question is the answer of the first ;)
to make transparent, put background color 0, to make rounded, draw a picture with rounded edges and put in the background: Background image => put the pic here, or use the command on script:

SetGUIBackgroundPic
SetGUIBackgroundPic (int gui, int slot)

Changes the background image of GUI to SLOT.
You can pass SLOT as 0 to remove the background image from the GUI

hope it helps
Title: Re:How can you make parts of a GUI transparent
Post by: on Thu 17/04/2003 14:49:03
  Yeah that helped alot. Thanks :)