Invisible

From Wiki of ZZT
Revision as of 18:56, 13 February 2021 by The Green Herring (talk | contribs) (You are blocked by an invisible wall.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Invisible
Internal ID28
Character#char 32 (0x20)
Categoryterrain
Stats?no
Other traits
Effect on movementwall
Destructible?no
Uses ZZT-OOP color names?yes

The invisible element is one of the built-in wall materials in ZZT. It is a wall tile that, as indicated, initially appears invisible except for its background color. However, when the player touches it, the engine announces, "You are blocked by an invisible wall." and places a normal in its location.

The invisible has been frequently used to make invisible mazes and forcefields since the official worlds. However, most modern games use a ZZT-OOP program that performs an #if any check on normals of a particular color, and then uses #change on invisibles to execute a fade effect displaying normals, breakables and water before changing them back to invisibles. Besides being a more accurate depiction of forcefields, this allows the player to very briefly see the structure of the invisible maze, preventing frustration.

In the internal editor, invisibles are rendered with #char 176 (0xB0) for the benefit of the designer. External editors replicate this, though some applications make it optional.