GUIs

From modwiki

Jump to: navigation, search
An example of a simple in-game GUI
Enlarge
An example of a simple in-game GUI

GUIs are short for Graphical User Interface. In the Doom 3 engine, it's the system used to create windows, buttons, menus, overlays and all other interfaces you can find when playing - both game interfaces (for example: the main game menu, its HUD, or the multiplayer scoreboard) and in-game interfaces (for example: a button to activate an elevator, or open a door).

In previous game engines, a developer would be restricted to simple level interfaces - for example, a button to activate some feature, to open a door, and so on. Also, for most engines, the graphical user interface (game menus, HUD overlays) would be controlled by complex code which needed compiling and reloading the game to be tested.

However, the GUI system in the Doom 3 engine unifies both the level and game interactive interface paradigms under one system, and also adds the ability to work on GUI scripts independently from the rest of the game code; GUI scripts can also be reloaded on real time, which makes for easy debugging and testing.

GUI themselves are created from a mix of GUI scripting based on the .GUI file format and a mix of different image materials (to create graphics) and fonts (to create text).

Personal tools
Main
id Tech 5