Cardinal directions: Difference between revisions

From Wiki of ZZT
Jump to navigation Jump to search
No edit summary
("thowstar" -> "throwstar")
 
Line 3: Line 3:
The abbreviated forms '''n''', '''s''', '''e''', and '''w''' are more commonly used for the sake of brevity.
The abbreviated forms '''n''', '''s''', '''e''', and '''w''' are more commonly used for the sake of brevity.


The directions can be used with the <code>/</code> <code>?</code> [[movement]] operators, [[direction modifiers]], the [[blocked]] flag, [[go|#go]], [[put|#put]], [[shoot|#shoot]], [[thowstar|#throwstar]], [[try|#try]], and [[walk|#walk]].
The directions can be used with the <code>/</code> <code>?</code> [[movement]] operators, [[direction modifiers]], the [[blocked]] flag, [[go|#go]], [[put|#put]], [[shoot|#shoot]], [[throwstar|#throwstar]], [[try|#try]], and [[walk|#walk]].


{{ZZT-OOP navbox}}
{{ZZT-OOP navbox}}

Latest revision as of 23:27, 23 December 2025

The four cardinal directions in ZZT-OOP are north, south, east, and west, which correspond to one step towards the top, bottom, right, and left sides of the board respectively.

The abbreviated forms n, s, e, and w are more commonly used for the sake of brevity.

The directions can be used with the / ? movement operators, direction modifiers, the blocked flag, #go, #put, #shoot, #throwstar, #try, and #walk.