How the player character moves, jumps, dies, and respawns — including checkpoint support.
The player is a 32×32 px square (1 grid cell). They spawn at the spawn point at game start and respawn there (or at the last-touched checkpoint) on death.
playerSpeed in map config (default 5).Default: 1 jump. Configurable via maxJumps. Jump height is controlled by jumpForce (default −13.2).
Default 0.71 per frame, configurable in map config. Higher values = faster fall; lower = floatier.
x:0, y:8, w:32, h:24 — for solid collision.x:4, y:6, w:24, h:24 — for spike damage detection.Death occurs when the player's hurt touchbox contacts a lethal spike, or when the player falls below the map's die line Y (default 1000). On death, the player respawns at:
When the player touches a checkpoint, it becomes their respawn point. The checkpoint changes color to indicate its state (see Checkpoint). In v0.1, checkpoints do not heal HP — they are purely respawn markers.
| Key | Action |
|---|---|
| ← / A | Move left |
| → / D | Move right |
| ↑ / W / Space | Jump |