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
- Move with A and D or the arrow keys, and jump with W or Up.
- Press Space to switch which layer of platforms is solid.
- Check the faint outline of the other layer to plan your route.
- Avoid spikes on the active layer, and don't switch when a block would appear on top of you.
- Touch the star to finish the stage and move straight to the next.
OnOff controls
| Input | Action |
|---|---|
| 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 |
| Gamepad | D-pad moves, bottom button jumps, right button switches layers |
How to play OnOff on PC and mobile
On PC, laptop or Chromebook
- Press Play on this page – the game loads right here, with nothing to download.
- Click Fullscreen under the game for the biggest view. Press Esc to exit.
- Click once inside the game so it receives your keyboard input.
- 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
- Open this page in Chrome or Safari and tap Play.
- Turn your device to landscape – the game is designed for a wide screen.
- Touch controls: Gamepad to d-pad moves, bottom button jumps, right button switches layers.
- 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?
Can I play on a phone?
Can I make my own levels?
Can I play OnOff for free?
Does OnOff work on Chromebook and mobile?
Who made OnOff?
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)
LICENSELICENSE-TinyMusicWhat we changed
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.