Skip to reading
Replace the Built-in Screens

Build the two inventory windows

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView illustrations

Figure 12. Mara’s satchel shows her notebook and oil rather than Eli’s tools.

Source table from Build the two inventory windows, page 20
PartStarting setup
Window / backgroundFull design canvas; Panel at 140, 58; 1000 × 604.
TitleA readable character-specific name at 176, 78.
Inventory Widget180, 164; 920 × 370; four columns and two rows.
Slots196 × 125; 8-pixel gaps; icons and names enabled.
OwnerCurrent Player. This makes the widget follow the actual active inventory.
Back ButtonToggle Inventory, so it closes the active inventory surface.

Clone the layout for Eli, then change the colors, title and artwork. Keep the owner rule as Current Player for both dedicated personal screens.

Use a nonmodal bag when selecting an item must be followed by a click in the room. If you make it modal, provide an obvious close route and test item use after closing.

Page 20 of 88Permalink
Go to page