GameUI: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
'''GameUI''' is the code which provides 'frontend': broadly the main menu and loading screens.
'''GameUI''' is the code which provides 'frontend': broadly speaking, the main menu and loading screens.


== Source 2009 ==
== Source 2009 ==
Line 5: Line 5:
[[File:Ep2_menu.jpg|thumb|[[Source 2009]] GameUI. Closed source.]]
[[File:Ep2_menu.jpg|thumb|[[Source 2009]] GameUI. Closed source.]]


In [[Source 2009]] (and earlier), GameUI is an closed engine library manipulable to a limited extent by editing .[[res]] script files. These define properties like width, height, element location, and so on. You can add new non-interactive elements, and with a bit of effort hide existing ones.
In [[Source 2009]] (and earlier), GameUI is a closed engine library manipulable to a limited extent by editing .[[res]] script files. These define properties like width, height, element location, and so on. You can add new non-interactive elements, and with a bit of effort hide existing ones.


== Left 4 Dead ==
== Left 4 Dead ==

Revision as of 14:24, 22 July 2010

GameUI is the code which provides 'frontend': broadly speaking, the main menu and loading screens.

Source 2009

Source 2009 GameUI. Closed source.

In Source 2009 (and earlier), GameUI is a closed engine library manipulable to a limited extent by editing .res script files. These define properties like width, height, element location, and so on. You can add new non-interactive elements, and with a bit of effort hide existing ones.

Left 4 Dead

Left 4 Dead branch GameUI. Alien Swarm's SDK provides the code.

The Alien Swarm SDK contains the complete source for the newer L4D-style GameUI, which has been moved into the client. It has been redesigned for ease of use on consoles (which lack a pointing device): everything is integrated into the same navigable menu system, and you can't be in more than area at once.

Note.pngNote:The Source 2009 GameUI is still available in the L4D branch, and the two can co-exist.

The root function is CGameUI::Initialize(). Unfortunately, the server browser code is not included, and it would seem that the old DLL provides that still.