Build a classic verb panel
TUTORIAL 03 • GUI DESIGNER
Put the verbs under the floor, where the player can read them without covering a clue. Give each button a word on its face and an action behind it.
1 Under Verbs, check for walk, look, talk, take and use from Part 2. Add open, close, push and pull if missing. Use lowercase IDs and title-case names. In the project’s Gameplay Defaults › Interaction Mode, choose Verb Single Click. Apply.
2 Open GUI Designer › Add New. Name the GUI Laundry controls, ID laundry_hud. Click Add Element › Button, enter Walk for its text, then drag it to the lower part of the canvas. In its Events tab set Click to Set Verb, target Walk. Apply.
GUI Designer, with the toolbar and lower edge of the canvas brought together. The three empty boxes to their right will hold Bea’s inventory.
3 Select Walk and choose Duplicate. Move the copy next to it. Change both its text and its Click target to Look. Repeat for the seven remaining buttons. Give each a distinct ID, such as cmd_open. The display order below puts the most useful actions near each other.
| First button | Middle button | Last button |
|---|---|---|
| Walk › walk | Look › look | Talk › talk |
| Take › take | Use › use | Open › open |
| Close › close | Push › push | Pull › pull |
For the same layout In the Part 2 project’s 1280 × 720 GUI, use top-left anchors. The three column X positions are 395, 486, 577. The row Y positions are 597, 633, 669. Each button is 87 × 32. You can also drag and size them by eye.
PCA 3D Adventure Studio / 7
