A GUI, or graphical user interface, uses graphics to let a user interact with an interface. In Incari, there are several simple features which are available to create and edit in Scene2Ds. They are:
The ButtonGUIObject is a simple icon to attach Logic to. Its text, placement, and size can be altered in the Attribute Editor.
Button.
Button with Text.
Dropdown
The Dropdown is a GUI2D Object that allows the user to create a dropdown menu. The options in the menu, together with the colors and size, can be customized in the Attributes.
The following is a simple example of a Dropdown with three options:
Dropdown.
The OptionsAttribute defines the options in the Dropdown:
Options Attributes.
Finally, this Dropdown looks like this when the Project is run:
Dropdown example.
Slider
The Slider is a GUI2D Object that allows the user to create a customizable slider selector. The customization is done through the Attributes.
Slider.
The Slider Attributes offer the user options to customize the Slider:
Slider Attributes.
Finally, the Slider works like this when the Project is run:
Slider example.
Text
The TextObject allows the user to add text to their Project. It can be completely customized in the Text Attributes.
Text.
Text Area
The Text AreaObject allows the user to add text with a background to their Project. It can be completely customized in the Text and Text Area Attributes.
Text Area.
Text Area Attributes.
Toggle
The ToggleObject is a 2D GUI Object that has two states: checked or unchecked. Its initial state and colors can be customized in the Attributes.