The core hazard object — a rotatable spike tile that damages the player on contact.
A spike is a triangular hazard placed on the grid. Like blocks, spikes snap to the 32×32 px grid and can be drag-painted. When the player's hurt touchbox intersects the spike's damage zone (based on the active touchbox mode), the player loses HP and eventually dies.
A spike has a tip (pointy part) and a flat base. The orientation is controlled by rotation:
| Rotation | Tip faces | Typical use |
|---|---|---|
0° | Up | Floor spike — player steps on it from above |
90° | Right | Left wall spike |
180° | Down | Ceiling spike — player bumps head |
270° | Left | Right wall spike |
The touchbox mode controls which part of the spike is lethal. There is a world-wide default set in Map Config, and each spike can have its own individual override.
flag from a gameplay perspective.
ground mode to create spiked-looking platforms the player can safely land on for a visual-only danger effect.
When Drop Hurt Only is enabled (globally in Map Config, or per-spike), the spike only damages the player if they are moving toward the spike tip. For example, a floor spike (tip up) will only hurt a player who is falling downward into it — walking along the side or jumping up through it from below is safe.
This is useful for creating forgiving jump challenges where the player can retry without dying to wall contact.
| Setting | Default | Description |
|---|---|---|
| Color | World default spike color | Fill color of this spike. |
| Opacity | 100% | Transparency. 100 = opaque; 0 = invisible but still lethal. |
| Rotation | 0° | Orientation: 0° = tip up, 90° = tip right, 180° = tip down, 270° = tip left. |
| Flip Horizontal | off | Mirror the spike artwork horizontally. |
| Collision | on | Toggle physical collision (both ground and hurt). Disabling fully ghosts the spike. |
| Spike Touchbox | Use World Default | Per-spike override. Leave blank to use the world's default; or choose a specific mode from the list above. |
| Drop Hurt Only | Use World Default | Per-spike override for drop-hurt-only behavior. |
| Damage Amount | 1 | How much HP this spike removes per hit. Relevant when using an HP plugin. |
| Layer | 0 | Render depth layer (0–4). |