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

Draw the sorter’s control 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 05 • GUI DESIGNER

Think of the little yard cabinet as a door into a close-up. The close-up is an ordinary GUI. One image gives it a metal face, two labels do the talking, and the player presses real buttons.

1 In your drawing program make a 320 × 180 image. Fill it dark blue-green. Draw a lighter inset rectangle with four corner screws, a title strip near the top and a darker strip just below for the readout. Leave the middle open for three buttons. Save as sorter_face.png and import as an Image asset with ID sorter_face.

2 In GUI Designer › Add New, name the GUI Night sorter, ID sort_board. Use the project’s 1280 × 720 design area. Set GUI Z to 20 so the board draws above the normal controls. Under Activation choose Called by Trigger Action / Visual Script. The board should open only when Bea uses the cabinet.

3 Choose Add Element › Image, ID sort_face. Assign sorter_face, use Stretch, position (0, 0), size 1280 × 720. Add this image first so later controls sit on top. Add two Label elements with text and sizes from the table. Keep all three anchored top-left.

GUI Designer before the buttons. The text is editable. Leave the lettering out of the painted PNG.

Source table from Draw the sorter’s control panel, page 11
Label IDTextX, YWidth × heightFont
sort_titleNIGHT DISPATCH / LOAD 0589, 711100 × 9542
sort_statusChoose the first bin.94, 1961080 × 8832

PCA 3D Adventure Studio / 11

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