ToFree Games

Catalog · Exhibit 04

ONOFF

Open the original page

How to play

The title screen has three choices. Up and down move the selection, Enter confirms: start, look at the controls, or open the level editor. In a level, A and D or the left and right arrows walk, W or up jumps, and Space flips every platform and spike into the other state. What was solid can vanish. What was empty can become the floor, or a spike. Touch a spike or a pit and the attempt ends. The goal is the exit of that room. There are 25 handmade levels. A gamepad can move, jump, and flip, which the authors describe as best-effort.

Curator’s note

ONOFF is here for the idea, not for the size. Daniel Marino and Brad Dunbar built a whole platformer around a single switch for js13k 2018 and left the source readable. The mechanic is the exhibit.

Credit and license

  • Daniel Marino and Brad Dunbar
  • https://github.com/starzonmyarmz/js13k-2018
  • MIT · Bundled license text · License reference
  • Authors: Daniel Marino and Brad Dunbar. Copyright 2018. The LICENSE file is MIT.
  • package.json in the same repository says ISC. The LICENSE file is the grant this site follows.
  • Sound is written with TinyMusic by Kevin Cennis, included as src/tinymusic.js. The authors also describe a custom typeface drawn for the game; it lives in the repository and is not reused in this site’s own interface.