User Interface

UI Logic

Style sheets

To keep stylesheets organized, BEM is being used as suggested by Unity documentation.

USS Writing style sheets

BEM stands for Block Element Modifier and is a simple system that helps you write structured, non-ambiguous, easy-to-maintain selectors. With BEM, you assign classes to elements and then use these classes as the selectors in style sheets.

BEM classes have up to three components:

  • Block name: a block is a meaningful, standalone entity or control. For example, menu, button, list-view

  • Element name: a part of a block that has no standalone meaning and is semantically tied to its block. Element names are appended to the block name using two underscores. For example, menuitem, buttonicon, or list-view__item

  • Modifier: a flag that changes the appearance or behavior of a block or element. Append a modifier to a block or element name with two dashes. For example, menu—​disabled, menuitem—​disabled, button—​small, or list-viewitem—​selected.

— Unity
https://docs.unity3d.com/2020.1/Documentation/Manual/UIE-USS-WritingStyleSheets.html

Palette

Currently, only a single palette is being used. This palette is used to help designers to be consistent but other colors can be used. The author of the palette is Slynyrd and is the following: Steam Lords Palette.

Palette
Figure 1. Steam Lords Palette

Fonts

The font being used is Joystix Monospace designed by Typodermic Fonts

Tools

Following is a list of tools useful to create UI elements.

  • Aseprite - Pixel art editor and animator

  • GIMP - Image Editor

  • LOSPEC - Website where is possible to find a lot of useful ideas and palettes.