Message text
Jump to navigation
Jump to search
All lines of ZZT-OOP which do not have any matching prefix are considered to be message text.
Throughout the execution of code, these lines are collected, and after the object's cycle is complete, they are displayed:
- If only one line was collected, it is displayed on the bottom of the board as a message.
- If more than one line was collected, it is displayed in a pop-up text window.
- In this case, lines prefixed with
$are displayed centered and in white, while lines without such a prefix are displayed left-aligned and in yellow.
- In this case, lines prefixed with
Message text has an implicit length limit of 50 characters per line. However, text windows can only display up to 42 characters per line without creating visual glitches; of those, one character eats into the arrow padding, so for proper centering, 41 characters should be assumed.
| ZZT-OOP | |
|---|---|
| Prefixes |
|
| Messages | |
| Directions | |
| Flags | |
| Commands | |