Goop

From MZXWiki
Jump to navigation Jump to search
Goop # 34 Id34.png
Robotic name Goop
Default color c18 (dark grey on dark blue)
Default param 0
ID char 176 (#34)
Attributes Floor
Effect when
touched
Player is blocked, sends label (#)GOOPTOUCHED

Goop is a MegaZeux built-in element. Goop is a special floor that the Player, most Robots, and several Enemies are not allowed to walk on. Goop is one of the two floors that Shark can move on, the other being Lava.

Usage

When touched by the Player, Goop will play SFX 48 (Goop), display the message "There is goop in your way!", and send every Robot the label (#)GOOPTOUCHED.

Goop can not be overwritten with Floor or Fire by an Explosion, but unlike most other Elements floor IDs, it does not immediately extinguish Fire placed on top of it (likely an oversight).

Goop is useful for creating pits that can only be crossed by projectiles and Robots using the GOOP_WALK counter, particularly if its ID char is changed to 255, which allows it to have any display character based on its parameter.

Version differences

Goop was introduced in MegaZeux 2.00, and is not present in prior versions. ID 34 in prior versions is an Unused ID.

The GOOP_WALK counter for allowing Robots to move on Goop was added in MegaZeux 2.90.

MegaZeux 2.80 until 2.81

The movement of various things on Goop was briefly broken.

MegaZeux 2.81 until 2.84

Shark movement on Goop was broken by the fix for the prior issue.

ZZT connection

In ZZT, the equivalent element to Goop is zzt:Water.

In Super ZZT, the equivalent element to Goop is zzt:Lava.