Skip to content

Inventory

The component Inventory displays the player's objects in a grid. Each object corresponds to a variable of the project. The value of this variable indicates the amount of the player's possession.

Selection framework

Select the grid in the preview to display its frame.

grid selection frame d, inventory with rotation and basket icons

Points d, anchorage

Drag the points around the frame to adjust the width or height of the grid.

Rotation icon

Rotate the grid.

Trash icon

Remove the component from the interface.

Adjustments to the inventory

The selected grid's properties appear in the Inventory the control panel on the right.

grid settings and table of variables of the inventory

Object size

Adjusts the size of the grid squares.

Background

Choose the background color of the cases. The background is semi-transparent and remains visible in empty cases.

Inventory

This table defines the variables that can appear as objects in the grid. If the value of a variable is greater than zero, its icon appears in a box. If it is greater than one, the amount s, displays next to the icon.

For example, add the variable Potion at zero, no potion is displayed. On one, the potion icon appears alone. On three, the number 3 appears next to the icon.

Edit Object List

Button +

Click on + at the bottom of the table to add a variable to the list of possible objects.

Variable icon

Click on the icon of a variable in the table to select another variable of the project.

Trash icon

Click on the basket next to a variable to remove it from the table.

Labelled and order d, display

Label

Enter the name to display with the grid. Leave this field empty if you want to display the grid alone.

Police

Choose the font of the wording.

Color

Choose the color of the wording.

Alignment

Align the wording to the left, center or right.

Position

Rule l, order d, display of the grid when elements overlap. Substitute this value to display the grid in front of elements with a lower position.