Player
Player | |
---|---|
ZZT-OOP name | player |
Internal ID | 4 (0x04) |
Character | #char 2 ☻ (0x02) |
Default color | white on blue (0x9F) |
Category | item |
Stats | |
Default cycle | 1 |
Other traits | |
Effect on movement | |
Uses ZZT-OOP color names? | no |
The Player is the user's in-game avatar.
Capabilities
The player is the only in-game ZZT element that responds directly to user input, and also the only element that can collect items, unlock doors, and issue touch events to objects. It can change the current active board by touching passages and board edges.
Appearances
During a game session, ZZT assumes that only one player exists and that it occupies slot 0 in the stat list. Additional player entities (colloquially referred to as player clones) can be placed in the editor or created at run-time with ZZT-OOP.
The player is intended to be indestructible, even on game over, but can be erased from a board as a result of the conveyor stat glitch. The player's tick function handles input, so if the player is destroyed in this manner, ZZT itself will become unresponsive.
On title screens, a monitor exists in place of the player to handle keyboard input.
Elements | |
---|---|
Special | |
Items | |
Terrain | |
Creatures | |
Text |