Skip to reading
GUI: Working with Grids

Show what a character is carrying

Edition 0.86.4.1 HF1

New illustrated guide for 0.86.4.1 Hotfix 1, covering desktop/phone grid layouts and built-in inventory/save widgets.

Download PDFView illustrations

09 / INVENTORY GRID

Use an Inventory Grid when the cells should fill with the player’s possessions. One widget handles the visible page of items.

Three carried items occupy the first row. The second row has space because the widget has six visible slots.

01. Add the inventory widget

Choose Add Element Inventory Grid. Select it, open Type Settings, and set Visible Columns to 3, Visible Rows to 2 and Visible Slots to 6.

02. Size the cells and choose the owner

Try Slot Width 130 and Slot Height 65. Give the widget enough width for three cells, gaps and padding, plus vertical room for its title and paging controls. Use the active player for a shared HUD or select a specific character for a separate bag.

03. Check the data in play

Use your project’s starting inventory or give the player an existing item through an action. Open the inventory in the Runner. With navigation enabled, focus the widget, press Accept to enter it, use the arrows, then Back to return to the menu.

AN EMPTY BAG

A definition in the Inventory Designer describes an item. The character must own it before it appears in play. Check the selected owner and any item-type filter if the slot stays empty.

Working with grids / 10

Page 10 of 12Permalink
Go to page