Pinned · October 28, 2026
Coding agents and browser game engines
What a coding agent can do in debuff (MCP, live attach, replays, scenarios, fuzz) and what Phaser, PixiJS, KAPLAY, Excalibur and Godot offer agents.
Pinned · October 28, 2026
What a coding agent can do in debuff (MCP, live attach, replays, scenarios, fuzz) and what Phaser, PixiJS, KAPLAY, Excalibur and Godot offer agents.
Read the postPinned · October 17, 2026
Set up a debuff game with Claude Code, flag a moment for the agent to reproduce with game_replay, tune params, then verify with scenarios and fuzz.
Read the postKomadori steps a canvas page one frame at a time in Chrome and returns a clip, a contact sheet and a report. A 10 s 1080p clip of a million boids takes 11-14 s.
Henka breaks your code one small change at a time and lists the changes no test caught, in Vitest projects with one command and in web games through Keiko.
Earshot adds walls, rooms and mic input to sound in 2D web games. 0.2 adds voice chat, and rooms joined by invite code on a Worker you deploy yourself.
Decide reads a piece of text and picks one of your labels on the user's device, in about 8 ms, with a confidence you can act on. When it isn't sure, it asks an LLM and learns from the reply.
spryte 0.12 bends images over triangles with mesh(), batched with shapes and sprites, and adds opt-in mipmaps so zoomed-out images stop shimmering.
What a coding agent can do in debuff (MCP, live attach, replays, scenarios, fuzz) and what Phaser, PixiJS, KAPLAY, Excalibur and Godot offer agents.
Give Claude Code, Codex, Cursor, Gemini CLI, Copilot or Windsurf one link and it sets up a debuff game it can run, see and test: Node, the project, the MCP server and the checks.
WebMCP lets a web page give tools straight to the AI agent in your browser. What it makes possible for games, and how debuff will use it in dev builds, the docs and the playground.
Set up a debuff game with Claude Code, flag a moment for the agent to reproduce with game_replay, tune params, then verify with scenarios and fuzz.
Build a 2D browser game with Claude Code or another coding agent. It plays the game, reads its state and checks its changes; the creative calls stay yours.
spryte 0.4 draws inside a Phaser 4 game on one GPU context, in Phaser's frame and depth order. Measured in 2dbench, with the three fixes it took.
Where the time goes when a web page draws thousands of moving images, why the usual approach pays per object, and how spryte moves that work out of JavaScript.
spryte, the WebGL2 renderer inside debuff, as a small MIT library: sprites, bulk particles, shaders and a Canvas 2D fallback. 2-4x faster than PixiJS.
Draw particles, bullets and swarms with spryte's bulk API: a Float32Array of positions, optional scale, rotation and colour, what it costs, and when not to.
Draw a scene into a render target, then through your own fragment shader: glow, CRT, dissolve and palette effects in spryte, and what carries into targets.
Set up spryte without a framework: create a renderer, size the canvas for high-DPI, run a frame loop, load images, handle context loss and clean up.
Keiko runs your real web game in Node on a virtual clock, so timing, motion and rules test in milliseconds. Works with Phaser, PixiJS, three.js and more.
Write fast, deterministic tests for a Phaser 4 game with Keiko: run the real game in Node, hold keys, click, and check movement and timing, with no browser.
Game tests that survive tuning, with Keiko: time-to-condition with until, invariants with during, motion traced over time, and param sweeps.
Deterministic games are testable. How a fixed-step clock and seeded RNG give 2D web games scenario tests, exact replays and fuzz playtesting.
Myaku finds the frames players feel drop and says why: your script, garbage collection, GPU uploads, shader compiles or throttling. One import, any engine.
Why a three.js scene stutters when something first appears: shader compiles, texture uploads and GC, explained per frame by Myaku, a free frame profiler.
Find why a Phaser 3 or 4 game drops frames: a slow scene update, texture uploads, shader compiles, GC or the browser. One import with Myaku, a free profiler.
Find why a PixiJS 8 game drops frames: ticker updates or rendering, texture uploads, GC or the browser. Myaku hooks into Pixi with one import.
plonk makes game music in code: a song is a few hundred bytes of text, synthesized live with Web Audio by a 2 kB engine, and it reacts to the game.
debuff and Babylon.js compared for browser games: 2D versus 3D, built-in tools, physics, download size, testing and coding-agent support.
debuff and Excalibur.js compared for 2D browser games: built-in features, size, testing tools and coding-agent support, with where Excalibur is ahead.
debuff and KAPLAY (the successor to Kaboom.js) compared: API style, size, playground, testing and coding-agent support, and when each fits.
debuff and LittleJS compared: features, size, jam friendliness, procedural sound, level editing, testing and coding-agent support.
debuff and melonJS compared for 2D browser games: renderers, Tiled support, physics, size, testing and coding-agent support.
debuff and Phaser compared for 2D web games: features, maturity, editor, bundle size, testing and coding-agent support, with where Phaser is the better pick.
A comparison of debuff, PixiJS and Phaser for 2D browser games: what each is, bundle size, rendering speed, tooling and AI agent support.
debuff and PixiJS compared for 2D browser games: what each includes, measured sprite throughput, bundle size, testing and coding-agent support.
debuff and three.js compared for browser games: a 3D rendering library versus a 2D game framework, size, game features, testing and coding-agent support.
spryte and Phaser 4 in 2dbench on the same pixel-checked scenes: frame times, sprites at 60 fps, download size, and when Phaser is still the better pick.
debuff and Cocos Creator compared: a TypeScript framework versus a TypeScript engine with an editor, web and mobile builds, testing and coding-agent support.
debuff and Construct 3 compared for 2D browser games: event sheets versus TypeScript, pricing, HTML5 export, testing and coding-agent support.
debuff and Defold compared for 2D browser games: Lua and an editor versus TypeScript, HTML5 export, licensing, testing and coding-agent support.
debuff and GameMaker compared for 2D games on the web: GML and an IDE versus TypeScript, HTML5 and GX.games exports, pricing, testing and AI tooling.
debuff and GDevelop compared: code versus no-code events, built-in AI agent versus bring-your-own coding agent, publishing, testing and pricing.
debuff and Godot's web export compared for 2D browser games: editor, features, web export constraints, testing and coding-agent support, and when to use each.
How fantasy consoles PICO-8 and TIC-80 compare with debuff for small browser games: creative constraints, built-in editors, sharing, web export and testing.
debuff and Unity's Web platform compared for 2D browser games: editor, web build limits, WebGPU status, pricing, testing and AI agent support.
One command checks a debuff project's whole setup, reports every problem at once with its fix, and applies the safe fixes with --fix. For humans and coding agents.
debuff upgrade moves every @debuffjp package to the latest release together, installs, and refreshes the project's agent skills. Plus a once-a-day hint when a newer debuff is out.
Why a JavaScript game that plays the same way twice gets replays, reproducible bug reports, logic tests and fuzzing, what breaks determinism, and how to check it.
debuff's new scale: "pixel" keeps pixel art at a fixed size and grows the view with the window, so a 1440p monitor shows 853x480 of the world instead of 640x360 in bigger pixels.
tenten stores sprites as rows of text: readable in a terminal, diffable, drawable by a coding agent. Exports sheets for Phaser, Pixi and debuff, and .aseprite.
Four ways to put music in a browser game: Howler, ZzFXM, Tone.js or plonk. Download cost, reactive music, licensing, autoplay, looping and tab switching.
The debuff playground runs a game beside its code and type-checks it as you type with tsrs, the Rust port of TypeScript, as WebAssembly. Nothing to install.
Make a pixel-art platformer for any browser: Tiled or LDtk tilemaps, crisp pixels, and a jump that feels good with coyote time and jump buffering.
The web APIs behind browser games, from canvas and requestAnimationFrame to WebGL, Web Audio, WebAssembly and WebGPU, and what each made possible.
How Ludum Dare, Global Game Jam, js13kGames and GMTK grew up alongside browser games and itch.io, and the hit games that started as jam entries.
How Flash and portals like Newgrounds, Miniclip and Kongregate shaped browser games, how Flash ended, and what HTML5 games carry on.