/ / v0.1 / Player ← Parkoreen
← v0.1 Overview

Size & basics

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.

Movement

Jump

Default: 1 jump. Configurable via maxJumps. Jump height is controlled by jumpForce (default −13.2).

Gravity

Default 0.71 per frame, configurable in map config. Higher values = faster fall; lower = floatier.

Physics touchboxes

Death & respawn

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:

  1. The last activated checkpoint (new in v0.1), or
  2. The spawn point if no checkpoint has been touched.

Checkpoint interaction

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.

Controls

KeyAction
/ AMove left
/ DMove right
/ W / SpaceJump