Ricochet

From Wiki of ZZT
Revision as of 18:46, 13 February 2021 by RT-55J (talk | contribs) (Could use pictures, perhaps. And maybe an explanation for non-standard bullets.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Ricochet
ZZT-OOP namericochet
Internal ID32 (0x20)
Character#char 42 * (0x2A)
Default coloryellow on black (0x0E)
Categoryterrain
Stats?no
Other traits
Effect on movementsolid
Destructible?no
Uses ZZT-OOP color names?no

Ricochets are solid walls that can either reflect or deflect bullets.

If a bullet hits a ricochet head-on then the bullet is reflected back where it came from.

If a bullet hits a wall and there is a ricochet directly perpendicular to its direction of travel on one side, then the bullet is deflected at a right angle away from the ricochet.

If a bullet hits a wall and there are ricochets directly perpendicular to its direction of travel on both sides, then the bullet simply disappears.