Skip to reading
The Sock Exchange, Part 3: The Dryer Conspiracy

Build a classic verb panel

Edition 0.86.4.2

0.86.4.2 edition with appended native sprite-motion lessons. Earlier chapters, reference counts and screenshots retain their original edition context.

Download PDFView illustrations

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.

Source table from Build a classic verb panel, page 7
First buttonMiddle buttonLast button
Walk › walkLook › lookTalk › talk
Take › takeUse › useOpen › open
Close › closePush › pushPull › 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

Page 7 of 18Permalink
Go to page

Continue your 2D adventure

  1. Part 1The Sock Exchange, Part 1: Your First 2D Adventure
  2. Part 2The Sock Exchange, Part 2: The Missing Laundry
  3. Part 3The Sock Exchange, Part 3: The Dryer Conspiracy
  4. Part 4The Sock Exchange, Part 4: Trouble After Closing
  5. Part 5The Sock Exchange, Part 5: The Midnight Pickup
  6. Part 6The Sock Exchange, Part 6: Closing Time