OnOff is a two-color puzzle platformer about a small robot in a world built on two layers. Some platforms belong to the dark layer and some to the light one, and only one layer is solid at a time. One key flips between them, often in the middle of a jump. Daniel Marino and Brad Dunbar made OnOff for js13k 2018, with crisp SVG art and an upbeat soundtrack. It is short, clever and easy to pick up.

The rules of two layers

Every screen has a star somewhere. Reach it to clear the level, and the next one loads at once. There are 25 levels.

Blocks on the active layer are solid. The other layer shows as a faint outline you can pass through. Press Space and they swap. A gap too wide to jump might have a platform on the other layer, and a wall in your way might disappear after a flip.

Your robot breaks if it falls off the bottom, touches spikes on the active layer, or sits inside a block that turns solid. A small burst plays and the level restarts. There is no limit on tries, and a counter tracks every fall.

OnOff Controls

Controls for OnOff
ActionKeyboardMouse
Move left or rightA / D or Left / Right arrows—
JumpW or Up arrow—
Switch platform layerSpace—
Pick a menu itemUp / Down arrows, then Enter—
Leave a custom levelEscape—
Place and edit pieces in the editorP adds a platform, S + U/D/L/R adds spikes, G tests the levelDrag to move or resize, double-click to change layer, Shift + click to delete

A logic puzzle you jump through

OnOff is a game about holding two maps in your head at once. You have to picture the level in both states and plan a route that uses both, flipping at the right moments. That is a lot like a logic puzzle with two cases: if the light layer is on, these paths exist; if the dark layer is on, those do. Solving a level means finding a sequence that works for every step.

Timing matters too, because switching mid-air is safe only when nothing will appear where you are.

Hints for tricky screens

  1. Flip at the peak of a jump. You have the most room to react, and you can land on whatever appears.
  2. Trace both layers first. Plan a route through the solid shapes and the faint ones before moving.
  3. Drop through floors. Flip so the floor you stand on vanishes, then flip again to land below.
  4. Remember that spikes switch too. Inactive spikes are harmless.
  5. Jump from the edge. Your jump height is fixed, so take off as close to the gap as you can.

Things Worth Knowing First

Keyboard and gamepad both work, but there are no touch controls. The level editor on the title menu has a help panel, so you can sketch a stage and play it right away. For another platformer with smart terrain, try Little Platformer. For a pure switching puzzle, see Light Switch Grid.

Tested and updated: