Skip to reading
Getting started with PCA3D

Journal and ending

Edition 0.86.4.3

0.86.4.3 edition with revised lessons, updated cross-references and new cinematic/camera-safety supplements. Earlier examples, screenshots and registry figures retain their stated edition context.

Download PDFView illustrations

20. Build the HUD, inventory and ending

Figure 28. The Primitive Inventory screen. A panel, title, close button, help text and inventory grid are separate elements.

Add the outer panel, PARTS TRAY title, X button, help label and inventoryGrid. Set the grid's columns, rows, slot dimensions and gap from the exact element recipe. A grid renders the carried item definitions; it does not need one hand-built image per possible item.

Wire X to hide inventory. Set Settings > System GUIs > Inventory Screen to inventory. The HUD's Inventory button can now toggle the intended screen.

Journal uses the title FIELD NOTES, the objective string and a journal list tied to the quest system. Choose journal as the system Journal screen. The ending panel uses SIGNAL RESTORED, a short completion message and a Keep exploring button that hides ending.

Use the GUI tables to match the remaining positions and content. Test each GUI in Preview for appearance, then in the game for events. A modal inventory should block room clicks behind it until closed.

Page 55 of 184Permalink
Go to page