Skip to reading
The Sock Exchange, Part 6: Closing Time

Give both characters a Hints button

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView illustrations

GUI DESIGNER / NOTEBOOK

A player who wants a nudge should be able to ask for one and get straight back to the room. Players who want to solve everything on their own can leave the notebook closed.

The notebook. Leave a large reading area between the heading and the two buttons.

The HUD. Hints sits beside Bea and Gus. Leave their switching buttons where they are.

1. Open night_words, your Part 4 parser HUD. Add a Button named Hints, ID words_hints. Drag it beside Gus. In the pictured HUD it sits at 308, 24 and measures 156 × 48. Set Events › Click to show-gui, target clue_book. If you offer your nine-verb HUD, add the same button to laundry_hud with ID verbs_hints. Move it to a free spot if it covers a verb.

2. Create Night shift notebook, ID clue_book. Choose Called by Trigger Action / Visual Script, design size 1280 × 720, GUI Z 35. With Add Element, place the five elements below in order, using top-left anchors. Make the panel opaque.

Source table from Give both characters a Hints button, page 8
Type and IDText or settingX, Y • W × H
Panel clue_faceDark teal background0, 0 • 1280 × 720
Label clue_headNight shift notebook, 48 px80, 45 • 1100 × 75
Hint List clue_listEmpty Text: Ask for one clue to get started.80, 144 • 1120 × 365
Button clue_nextAsk for one clue80, 555 • 520 × 68
Button clue_backBack to work674, 555 • 526 × 68

3. Select Back to work. Set Events › Click to hide-gui, target clue_book. Save. Open Hints in play and close it again. Leave the Ask button for page 10.

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