Skip to reading
The Sock Exchange, Part 5: The Midnight Pickup

Lay out the three chutes

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 05 • GUI DESIGNER

Put the button names in a different order from the answer. The player has to listen to Gus. Nobody gets a prize for clicking from left to right.

The finished panel on the GUI Designer canvas. It helps to zoom out until all three buttons and the Back to yard button are in view.

1 Choose Add Element › Button three times. Drag the buttons into a row beneath the status label. Give each one a different color if you like, and put its name in the Text field. The names still identify the controls in black and white. Match these top-left coordinates for the pictured layout.

Source table from Lay out the three chutes, page 12
Button IDTextX, YWidth × height
key_socksSocks92, 345347 × 110
key_towelsTowels466, 345347 × 110
key_sheetsSheets840, 345347 × 110
sort_leaveBack to yard90, 550300 × 66

2 Add the fourth button, Back to yard, below the row. For its Events › Click choose hide-gui and enter sort_board for Click Target. Leave the three chute events empty until page 16. Save the GUI and project.

One name worth double-checking is sort_status. Select the readout in the element list and check its ID. The next two pages will change that label every time Bea presses a chute.

PCA 3D Adventure Studio / 12

Page 12 of 19Permalink
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