/ / v0.0 / Player ← Parkoreen
← v0.0 Overview

Size & basics

The player is a 32×32 px square (1 grid cell). The player always appears at the spawn point when a game or test session begins.

Movement

Jump

The player has 1 jump by default (configurable via maxJumps in map config). Jump force is controlled by jumpForce (default −13.2; negative = upward). The player can jump again immediately after landing.

If the map enables Infinite Jumps, the player can jump at any time, including mid-air.

Gravity

Gravity applies every physics frame. Default value is 0.71 per frame. This can be changed per-map in Map Config.

Physics touchboxes

The player has two internal rectangles used for collision detection:

Death

If the player touches a spike (with the appropriate touchbox mode) they die and respawn at the spawn point. If the player falls below the map's die line Y (default Y = 1000), they also die and respawn.

In v0.0 there are no checkpoints, so the player always respawns at the spawn point.

Controls (default keyboard layout)

KeyAction
/ AMove left
/ DMove right
/ W / SpaceJump
/ SDuck / drop (v0.0: no effect in base game)
The player's name is displayed above them during multiplayer sessions. In solo play (editor tester), the name label is still rendered.

Respawn

On death or at game start, the player is placed at the spawn point object's position, centered horizontally, just above it. If no spawn point exists in the map the player spawns at world coordinates (0, 0).