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

Put the bag beside the verbs

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

Bea only needs three inventory slots. Give each one enough room for the item name and its count. This also gives you a visible way to check every pickup.

1 On Laundry controls, choose Add Element › Inventory Grid. Drag it to the right of the verbs. Use top-left anchor, X 680, Y 595, width 473, height 120. In the grid’s Type Settings, use 3 columns, 1 row, slots about 141 × 75. Set the inventory owner to Current Player.

2 Show item icons and names. Turn Show Header off, set scrolling to None, and enable Drag Items Together. Turn Use Selected Verb off. That last setting makes a click on a pocket item select it, ready for a click on something in the room. Apply.

The same controls in the running game after Take. One sock fills one slot. Both tokens share the next slot and show ×2.

3 Add two small buttons at the far right, labeled Save and Load. Set their Click behaviors to System Save and System Load. At 1280 × 720, try X 1190, Y 597 and 633, each 75 × 32. Apply and save the GUI.

4 In Settings › System GUIs, assign Laundry controls to Main HUD and apply. Start at the Lobby. In the Sorting Room, click Take, then the sock. Click Take and the tokens. Both props should disappear and both icons should appear in the bag.

1 The Use button in the middle row of the GUI Designer canvas. Select any button here to edit its Click event.

If clicking the sock only makes Bea walk Select the Take button in GUI Designer. Its Click target must be take. Then select the floor sock in Scene Designer and check that the Add Inventory action is under Take. The word painted on a button cannot select a verb by itself.

PCA 3D Adventure Studio / 8

Page 8 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