Single key events

Celeste: Madeline in the air, spikes on platforms and a safe surface to the right.The character adjusts movement in the airA safe surface among spikes
CelesteMoving between spikes
  1. The character adjusts movement in the air
  2. A safe surface among spikes
© Maddy Makes Games / Extremely OK Games · Source ↗

Pressing, holding and releasing a key have different roles. A jump key, for example, starts movement and can affect its height.

Design tips

  • Handle release and focus loss so actions cannot remain stuck.

Examples