Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 3.56 KB

misc.-ui-elements.md

File metadata and controls

35 lines (18 loc) · 3.56 KB

Misc. UI Elements

Other interfaces may also exist for more specific use cases, like using station consoles, changing settings on a pressure valve, or interacting with a player’s PDA. These exist in the form of windows that can be dragged around the screen for convenience, and often share similar design elements with each other.

Most of those might be achieved by implementing proper windows. Windows are UI elements opened when interacting with certain environment items, like accessing the terminal or a piece of tech that is not detailed enough on the level of its model/texture. Most windows should be interactable, movable and closable.

For a set of design guidelines one should take a look at 2D section of the art guide.

Composite Elements

Element Swapping

Some UI elements can have variants to be switched for one another in case of different circumstances. In that case the variant switch needs to be seamless, meaning that the images for those elements need to be of the same size and with the same base position.

Thermometer variant files

Thermometer variants’ concept.

Note the bar, it is missing from the variant files themselves, but can be added within unity and be programmably extended or shrunk from the bottom of the thermometer.

Element Layering

UI elements can also consist of several parts to be layered on top of each other and programmed to be moved, colored or otherwise changed separately.

As an example, the atmospheric pressure meter consists of 3 parts: the base with a dial, the arrow to rotate and indicate the overall pressure on the base’s dial and an exclamation mark, to be colored and/or flashing in case of dangerous atmospheric conditions. The text for the exact atm amounts is added within Unity, using accepted project fonts, so it can also be changed programmably.

Pictured: the ATM sensor UI element in 3 parts and the preview of them put together.

Same principle applies to the target dummy, surgery dummy and other complex UI elements.

Pictured: several examples of complex composite UI elements.

Pictured: a collection of layers for said elements. Note that the according naming of each part should be indicative and consistent within each element.

Example ID texture.