Flip between dark and light platforms mid-jump to guide a little robot to the star.

About OnOff

OnOff is a platformer where the floor is never quite where you left it. Every level has two layers of blocks, one dark and one light, and only one of them is solid at any moment. The inactive one is just a pale ghost you can walk right through. Hit Space to swap them, and suddenly a gap has a bridge or a wall in your way is gone.

Your goal on each screen is to reach the star with your small robot. Falling off the bottom, touching active spikes or being inside a block when it turns solid sends you back to the start of the level, and you can retry as often as you need. The game has 25 levels, and the title menu also includes an editor for building your own. Daniel Marino and Brad Dunbar made it for js13k in 2018. Find more jumping in platformer games.

How to play OnOff

  1. Move with A and D or the arrow keys, and jump with W or Up.
  2. Press Space to switch which layer of platforms is solid.
  3. Check the faint outline of the other layer to plan your route.
  4. Avoid spikes on the active layer, and don't switch when a block would appear on top of you.
  5. Touch the star to finish the stage and move straight to the next.

OnOff controls

InputAction
A / D or Left / Right arrowsMove
W or Up arrowJump
SpaceSwitch platform layer
Up / Down arrows, then EnterPick a menu item
EscapeLeave a custom level
GamepadD-pad moves, bottom button jumps, right button switches layers

How to play OnOff on PC and mobile

On PC, laptop or Chromebook

  1. Press Play on this page – the game loads right here, with nothing to download.
  2. Click Fullscreen under the game for the biggest view. Press Esc to exit.
  3. Click once inside the game so it receives your keyboard input.
  4. Controls: A / D or Left / Right arrows move; W or Up arrow jump; Space switch platform layer; Up / Down arrows, then Enter pick a menu item; Escape leave a custom level.

On phone or tablet

  1. Open this page in Chrome or Safari and tap Play.
  2. Turn your device to landscape – the game is designed for a wide screen.
  3. Touch controls: Gamepad to d-pad moves, bottom button jumps, right button switches layers.
  4. Tap Fullscreen to hide the browser bars.

Tips and tricks

  • Switching in mid-air is fine as long as no block appears where your robot is.
  • Spikes on the inactive layer can't hurt you, so a flip can make a spiky floor safe.
  • When floors from both layers sit on top of each other, flip once to fall through the current one and flip again to land below.
  • Your jump is short, so take off right at the edge for wide gaps.

OnOff FAQ

Why did my robot break when I pressed Space?

A block from the newly solid layer appeared where you were standing. Only switch when nothing from the other layer overlaps your robot.

Can I play on a phone?

No. There are no touch controls, so play it with a keyboard or a game controller.

Can I make my own levels?

Yes. The title menu has a level editor with a help panel, and you can test your level right away.

Can I play OnOff for free?

Yes. OnOff is free to play in your browser on The Pizza Edition – no download, install or account needed, and there are no ads inside the game itself.

Does OnOff work on Chromebook and mobile?

OnOff runs in any modern browser on Chromebooks, Windows PCs and Macs. It is designed for keyboard and mouse, so it plays best on a laptop or Chromebook rather than a phone.

Who made OnOff?

OnOff (originally released as ONOFF) was made by Daniel Marino and Brad Dunbar and released as open source under the MIT license. The Pizza Edition hosts the game files on its own servers, so it loads straight from this site.

Credits and license

Original game
ONOFF
Made by
Daniel Marino and Brad Dunbar
Source code
github.com/starzonmyarmz/js13k-2018
Code license
MIT
Art and sound
MIT (SVG shapes drawn in code; music and effects played through the MIT TinyMusic library)

OnOff runs from this site with small changes, which are listed in “What we changed”. The original license and credits are kept with the game files.

Games like OnOff

More platformer

Explore more categories