Boulder: Difference between revisions

From Wiki of ZZT
Jump to navigation Jump to search
No edit summary
(Fix up Elements infobox, add category)
Line 1: Line 1:
{{Element
{{Element
|name=Boulder
|zzt-oop name=boulder
|zzt-oop name=boulder
|id=24 (18h)
|id=24 (18h)
|behavior=a square block that can be pushed in any direction
|color=any
|char=254 (FEh)
|char=254 (FEh)
|stats=no
|stats=no
|movement effect=pushable
|effect on movement=pushable
|put color=color of existing tile
|destructible=no
|uses zzt-oop color=yes
}}
}}


Line 22: Line 20:
This erasing behavior can be eliminated by giving the boulder stats, though the number of boulders that can be treated this way is limited by the board's [[Stat limit|stat limit]].
This erasing behavior can be eliminated by giving the boulder stats, though the number of boulders that can be treated this way is limited by the board's [[Stat limit|stat limit]].


 
[[Category:Elements]]
 
<br />

Revision as of 05:33, 31 May 2020

Boulder
ZZT-OOP nameboulder
Internal ID24 (18h)
Character254 (FEh)
Stats?no
Other traits
Effect on movementpushable
Destructible?no
Uses ZZT-OOP color names?yes

Boulders are a pushable terrain element.

Boulders can be pushed in any direction and are an important element in slider puzzles. However, they cannot be pulled by the player, meaning that it is easy for boulders to become stuck in a corner or against a wall. Boulders cannot be destroyed by the player, so a stuck boulder in a game can often lead to a softlock.

Boulders keep their background color when they move, although this is not noticeable unless STK colors are in use. This behavior disappears if the boulder is given stats.

Erasure of fake walls

Boulders leave empties behind them when they are moved. This can be an issue for games that use fake walls as floors, as pushing a boulder across a colorful floor will erase a black trail across the floor. This erasing behavior happens because boulders lack stats by default, and thus lack a way to track their under tile. In fact, all statless pushables exhibit this erasing behavior, though it is more noticeable with boulders because boulders are more easily manipulated into areas of a board that have fake walls.

This erasing behavior can be eliminated by giving the boulder stats, though the number of boulders that can be treated this way is limited by the board's stat limit.