Movement

From Wiki of ZZT
Revision as of 07:16, 24 December 2025 by RT-55J (talk | contribs) (Created page with "'''Movement''' of objects can be accomplished through a variety of ZZT-OOP commands: * #go <direction> - Move one step. Execution waits until the way is clear. ** <code>/<direction></code> - Abbreviated version of #go * #try <direction> - Move one step. Execution continues if the movement doesn't happen. ** <code>?<direction></code> - Abbreviated version of #try * #walk <direction> - Move continuously while executing other code. {{ZZT-OOP nav...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Movement of objects can be accomplished through a variety of ZZT-OOP commands:

  • #go <direction> - Move one step. Execution waits until the way is clear.
    • /<direction> - Abbreviated version of #go
  • #try <direction> - Move one step. Execution continues if the movement doesn't happen.
    • ?<direction> - Abbreviated version of #try
  • #walk <direction> - Move continuously while executing other code.