cools maths gamesSurprise me

OnOff

Swap between two sets of platforms with one key to guide a little robot to the star on each of 25 levels.

OnOff title screen
  • Desktop recommended
Report a problem

OnOff is a puzzle platformer built around a single switch. Its world has two layers of blocks, a dark set and a light set, and only one of them is solid at any moment. You flip between them with one key while guiding a small robot to the star on each screen. It was a 2018 entry to the js13k game jam by Brad Dunbar and Daniel Marino.

How OnOff Works

Every level hides a star. Run and jump to it, and a new stage loads at once. After the 25th stage you reach a congrats screen.

The switch is the whole puzzle. Only the current color counts as ground; the other color shows as a ghostly outline you pass right through. Hit Space and they swap. So a gap too wide to clear may hide a ledge in the second color, and a barrier ahead can disappear after one press.

The robot shatters if it drops out of the screen, hits live spikes, or overlaps a block at the moment it turns solid. Then the level restarts.

Your First Few Minutes

  1. Pick Start Game from the title menu and look at both layers on the first screen.
  2. Walk and jump toward the star to feel how high the jump goes.
  3. Try a flip while standing in open space to see which blocks appear.
  4. Jump, then switch layers in mid-air to land on a ledge from the other set.
  5. Before every switch, check that no block will appear where the robot stands.

Controls for OnOff

Keyboard, mouse and touch controls for OnOff
To do thisKeyboardMouse
Move left or rightA / D or Left / Right arrowsnot used
JumpW or Up arrownot used
Switch platform layerSpacenot used
Pick a menu itemUp / Down arrows, then Enternot used
Leave a custom levelEscapenot used
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

What It Trains

OnOff rewards reflexes, since many flips happen while you are airborne. It also trains spatial thinking: you read two overlapping maps at once and picture which shapes turn solid after each switch.

There is logic too. Later levels ask you to plan a sequence of flips, such as dropping through a floor and catching the one below.

Strategy Notes

  • Switch at the peak. Flipping while airborne is fine as long as your spot stays empty, so leave the ground first.
  • Plan both layers. Trace a route across both sets of blocks before you take a step.
  • Fall on purpose. Flip to make a floor disappear, then flip back to land on a lower one.
  • Use harmless spikes. Ghost-colored spikes do no harm, so one press can turn a deadly row into a walkway.
  • Take off from the edge. The hop never changes height or length, so leave from the very lip of a drop.

Good to Know

Its own soundtrack and effects begin once you press a key or click. It uses crisp SVG graphics and needs a keyboard or gamepad.

OnOff questions and answers

How many lives do I have?

Unlimited. When the robot breaks, a short burst plays and the current level starts over. A skull counter in the corner tallies every fall, and a star counter shows levels cleared, so you can see how a run went.

Can I make my own levels?

Yes. An editor sits on the title menu along with its own help notes. Draw a layout, then try it instantly, which is a fun way to invent your own layer tricks.

Can I play on a phone?

Not really. Touch controls are missing, so plan on a keyboard or a controller. On a gamepad, steer with the D-pad, hop with the lower face button and flip layers with the one on the right.

How long does it take to beat?

That depends on how quickly you solve the layer puzzles. There are 25 short levels, each loading as soon as you reach the star, so a session can be short or run until the congrats screen at the end.

Games that use reflexes like OnOff

Different rules, same kind of thinking.

Try something from another shelf