PDA

View Full Version : GUI Editor



BoneCrafter
03-14-2012, 02:44 PM
*Note that the GUI Editor is separate from the World Editor.

The hierarchy of what is on top of what has to do with a GUI Elements location in the GUI Editor Tree View. All GUI Elements above a particular GUI Element will be shown behind the GUI Elements below them.

Faders are GUI Elements that control whether the other GUI Elements within them are shown or hidden.

On the top of the GUI Editor are three buttons. The New Control button adds a new GUI Element to the GUI Editor Tree View. The Middle (Default to PlayGui) button is what .gui file you are looking at. The far right button (Default to 1024x768) sets the resolution of the GUI Editor Window.

The important values of a GUI Element are listed below:

horizSizing & vertSizing is how the GUI Element will grow horizontally and vertically as the game resolution changes.

Position is the GUI Element's distance (x,y) from the upper right hand corner of the screen.

Extent is the size dimensions (x,y) of the GUI Element. For images makes sure this is the same as the dimensions of the image.