33. Turn the same game into a graphical adventure
Create a GUI with ID graph_hud. It provides the status strip and command line while the room and player remain visible. Its command field must have ID graph_command.
| Element | X, Y | Width × height | Content / setting |
|---|---|---|---|
| Top Panel | 0, 0 | 1280 × 50 | Light background. |
| Title Label | 24, 4 | 600 × 42 | THE LAST SIGNAL |
| Score Label | 862, 4 | 390 × 42 | Score: $$ta_score of 10; right aligned. |
| Bottom Panel | 0, 604 | 1280 × 116 | Dark background. |
| graph_command | 66, 616 | 1188 × 51 | Single-line Text Box; native Enter options off. |
| Help Label | 24, 677 | 820 × 32 | Arrows: walk / stop; Space: type. |
| Switch Button | 1000, 676 | 254 × 34 | Show text-only game. |
Set graph_hud to start hidden. The controller shows it when ta_text_mode is false. Set the project’s Main HUD system GUI to None so the template’s old verb buttons do not appear under your new command bar.
On both presentation-switch buttons, use an action list with Call Script Function → Switch Adventure Presentation. No parameter is needed. The function changes presentation without resetting the puzzle.
The text screen covers the room; it does not delete it. The controller disables player movement in text-only mode and enables it in graphical mode.
