Skip to content
@debuffjp

Debuff Foundation

Debuff Foundation

We make debuff, an open-source toolkit for small, polished 2D games that run in the browser. More room for play: less setup and plumbing, more time for mechanics, art and weird ideas.

debuff.jp · why debuff · play the examples · try it · Discord

npm create debuff@latest my-game

What debuff gives you

  • A small, fast runtime. Batched WebGL2 with a Canvas 2D fallback holds about 200,000 sprites at 60 fps on our benchmark machine, and the starter game ships at about 15 kB brotli.
  • Crisp pixel art out of the box. Integer scaling, pixel snapping and debuff sans, our own pixel font, as the default for text.
  • Tests that play the real game. Logic tests run the actual game in Node in milliseconds, scenarios check it in a browser (including flashes and contrast), and a fuzzer plays it with random hands until something breaks. Every finding replays exactly.
  • Dev tools that explain things. Errors say whose bug it is and link the exact source line. Rewind and scrub a live session. Frame drops say why. Feel values become live sliders.
  • Agents as helpers, people in charge. An MCP server and plugins for Claude Code and Codex let agents play the game you have open, read its state and errors, and run the tests. You see and can undo everything they do.
  • Web standards only. ES modules, a canvas, Web Audio and Gamepad. No proprietary editor or project format.

Status: 0.6, early development. APIs will change, and feedback from real games shapes them.

Tools for any web game

Two of our tools work outside debuff too, with Phaser, PixiJS, three.js and plain canvas games:

  • myaku: a frame profiler that finds the hitches players feel and says why in plain words.
  • keiko: fast, deterministic logic tests that run your real game in Node, no browser.

Repositories

Repo What's there
debuff Runtime packages, CLI, scaffolder, MCP server, keiko, myaku, templates
docs The debuff.jp site: guides, API reference, playable examples, llms.txt
overbuffed A swarm survival game starring buff, built in the open to find what debuff should do better. Play it
debuff-sans Our pixel font as TTF, BDF and a sprite sheet, free under the SIL Open Font License
brand The foundation mark, the debuff wordmark, buff the mascot, sprite sheet and social card

Get involved

Popular repositories Loading

  1. debuff debuff Public

    Open-source toolkit for 2D browser games. It handles the boring bits so you can get to the fun part sooner.

    TypeScript 1

  2. .github .github Public

    Debuff Foundation profile and community health defaults

  3. docs docs Public

    debuff documentation site: debuff.jp

    TypeScript

  4. brand brand Public

    debuff brand assets: wordmark, buff the mascot, sprite sheet, social card

    JavaScript

  5. overbuffed overbuffed Public

    A bullet-heaven roguelite starring buff. Open dogfooding project for debuff.

    TypeScript

  6. debuff-sans debuff-sans Public

    A pixel font for 2D web games, made for debuff. TTF, BDF and PNG sheet. SIL OFL 1.1.

    JavaScript

Repositories

Showing 6 of 6 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…