Kitchen Slime

KitchenSlime is the logic for the hazard used in Area 6 - Honey, I Shrunk the Gruntz.

The KitchenSlime is limitted to travelling in a rectangular path.






To place a KitchenSlime, place it on the Clear Tile that is the upper left-hand , upper right-hand , lower left-hand or lower right-hand corner of its path (the Switchez, in the example), then set the tile coordinates of the diagonally opposite corner of its path in the Speed X: and Speed Y: fields.

In this example, if the KitchenSlime is placed on the Black One-Time switch, it should have its initial direction either EAST (clockwise) or SOUTH (counter-clockwise), and the Speed X: and Speed Y: fields should be the Tile coordinatez of one of the the Blue Toggle Switchez, or one of the Yellow Toggle Switchez.

Note: to find the tile coordinates of a particular Tile, go into Tile mode and click on a Tile; displayed in the bottom right of the screen will be the tile coordinates of the selected Tile.

Note: Do a CalcCowID before entering the diagonal tile coordinates ... makes it easier to determine the correct values.

Edit Objects Dialog Box
Name: Optional, usually totally unnecessary
Logic: KitchenSlime
Image Set:
LEVEL_KITCHENSLIME_ + EAST Slime crawlz toward the east
or NORTH Slime crawlz toward the north
or SOUTH Slime crawlz toward the south
or WEST Slime crawlz toward the west
Animation: Empty, used only by EyeCandy type Objectz
Location
X: Pixel location of the left edge of the logic box, + 8 (center point).
Determined by the Gruntz Level Editor at creation time.
Changed by the Gruntz Level Editor after 'nudge' or 'shove'.
May be modified by the Designer.
The object is alwayz centered in the tile, for any X:.
Y: Pixel location of the top edge of the logic box, + 8 (center point).
Values established in the same manner as "X:".
Z: 0 (default)
I: -1 (default)
Attributes
Score: 0 (default)
Points: 0 (default)
Smarts: 0 (default)
Powerup: 0 (default)
Damage: 0 (default)
Health: 0 (default)
Speed X: 0; put the X coordinate of the Tile that defines the diagonally opposite corner of the path.
Speed Y: 0; put the Y coordinate of the Tile that defines the diagonally opposite corner of the path.
X Max: 0 (default)
Direction: 0 (default ... clockwise)
1 ... counterclockwise
Y Min: 0 (default)
Y Max: 0 (default)
Speed: 0 (default ... 2.000 seconds per tile)
600 ... (example: 'normal' speed of an ordinary Grunt per tile)