Skip to content

Blog ​

Releases

Coding agents

Spryte

  • spryte inside Phaser: 5x faster particles

    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.

  • Why moving sprites are slow in the browser

    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: debuff's 2D renderer, now standalone

    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.

  • Particles and bullets with draw.sprites

    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.

  • Post-processing with spryte

    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.

  • Using spryte on its own, on any canvas

    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

Myaku

  • Myaku: why does your web game stutter?

    Myaku finds the frames players feel drop and says why: your script, garbage collection, GPU uploads, shader compiles or throttling. One import, any engine.

  • three.js frame drops: shader-compile stutter

    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.

  • Why does my Phaser game stutter?

    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.

  • Why does my PixiJS game stutter?

    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

Compared: web libraries

Compared: engines and editors

  • debuff vs Cocos Creator for web games

    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 vs Construct 3: code or editor?

    debuff and Construct 3 compared for 2D browser games: event sheets versus TypeScript, pricing, HTML5 export, testing and coding-agent support.

  • debuff vs Defold for 2D web games

    debuff and Defold compared for 2D browser games: Lua and an editor versus TypeScript, HTML5 export, licensing, testing and coding-agent support.

  • debuff vs GameMaker for 2D browser games

    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 vs GDevelop: open-source browser games

    debuff and GDevelop compared: code versus no-code events, built-in AI agent versus bring-your-own coding agent, publishing, testing and pricing.

  • debuff vs Godot for browser games

    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.

  • debuff vs PICO-8 and TIC-80

    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 vs Unity for browser games

    debuff and Unity's Web platform compared for 2D browser games: editor, web build limits, WebGPU status, pricing, testing and AI agent support.

Guides

  • debuff doctor: why won't my game start?

    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.

  • Upgrade every debuff package in one command

    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.

  • Deterministic browser games: same inputs, same game

    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.

  • Show more of the game on big screens

    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.

  • Pixel art you can cat

    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.

  • How to add music to a web game

    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.

  • tsrs in the browser: a 2D game playground

    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.

  • How to make a pixel-art platformer in the browser

    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.

History

  • From canvas to WebGPU: browser games' history

    The web APIs behind browser games, from canvas and requestAnimationFrame to WebGL, Web Audio, WebAssembly and WebGPU, and what each made possible.

  • Game jams: from Ludum Dare to js13kGames

    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.

  • Flash games and the portal era

    How Flash and portals like Newgrounds, Miniclip and Kongregate shaped browser games, how Flash ended, and what HTML5 games carry on.