Skip to reading
Text & Sierra-Style Adventures

20. Build the text-only screen

Edition 0.86.3.4

Build a complete text or graphical parser adventure with typed commands, inventory puzzles and press-to-walk controls.

Download PDFView illustrations

Create a GUI named Text Adventure Screen with ID text_screen. Make it visible at startup. Use a full-screen layout with the window frame disabled and a Cut opening/closing transition.

Source table from 20. Build the text-only screen, page 23
Element IDTypeX, YWidth × heightContent
paperPanel0, 01280 × 720Dark background.
text_titleLabel36, 18700 × 48THE LAST SIGNAL
text_scoreLabel890, 18350 × 48Score: $$ta_score of 10
story_transcriptText Box36, 861208 × 486Multiline on.
text_commandText Box84, 5961160 × 64Multiline off.
text_help_buttonButton720, 671220 × 34Help; call send with help.
text_switchButton970, 671274 × 34Show graphical game

Figure 12. The finished text screen in the GUI Designer. The large reader and the command field have separate jobs.

Add a small > label before the command field and a short help line at the bottom. Use a high-contrast text color and a comfortable font size; 24 for the transcript and 26 for the command field are suitable at this resolution.

Keep the IDs story_transcript and text_command. The controller locates those controls by ID. Giving them a nicer display name is fine; changing the ID requires changing the script too.

Page 23 of 68Permalink
Go to page