skulitom/pixelbolt
Pixel art and sprite animation for agents: sprites, sprite sheets, tiles, icons, effects and short animations from editable JSON recipes, exported as PNG, GIF, APNG or video frames. Local, no account, no API key.
Changelog
Releases before 0.9.0 are described on GitHub Releases.
Unreleased
- Agent Plugins 1.0.0 clients, such as Codex and GitHub Copilot CLI, can load the repository's new
plugin.jsonandmcp.json; that server keeps its files in the plugin's data folder, andpixel_renderreplies with their absolute paths. The skill now lives inskills/pixelbolt-pixel-art/, the folder name the Agent Skills spec requires for its name.
Rotating sprite stacks
-
A stack shades its own faces: declare
ramps(strings of palette keys, dark to light) and each face draws a key lighter toward thelightand a key darker away from it. Boxes keep three clean tones; barrels, towers and pitched roofs shade as surfaces. A stack withoutrampsis drawn as before. -
"projection": "iso", "cell": 1draws a stack in the pixels of an isometric tile map: sixteen slice cells are a 32×16 tile, a cube is theboxoperation's block, and at headings 0, 90, 180 and 270 every cell corner is on a whole pixel, so pieces on neighbouring cells join with no gap or overlap. -
Six shaded starters at the map's pixel size:
iso-crate,iso-barrel,iso-pine,iso-cottage,iso-towerandiso-wall, a length of battlement one tile long. -
A scene placement stands on a map cell with
"on": "<map>", "cell": [column, row]in place of pixels. An iso map'sheightsraise its cells into terraces (rise,solid,surface), and whatever stands on a raised cell rises with it and keeps its place in the draw order. What stands on a cell of an iso map is drawn with that cell, and a placement wider than a cell in pieces, one for each cell under it: the ground never covers a building, and a cliff beside it covers only the part behind.examples/iso-hamlet.scene.jsonis a terraced hamlet placed entirely by cell. -
Tapered paths bend at named joints and carry attachments in the fingertip frame. Wing membranes follow two posed ribs and keep their veins painted on the surface. Use CLI
inspect --pose-sheetor MCPpixel_inspect.poseSheetto compare named poses across fixed camera headings. Rimefiend’s crystal index claw -
Inspect a socket through a full revolution with the camera locked. Use
inspect --rotate spindle,0,0,90,180,270or the MCPpixel_inspecttool for a contact sheet. In Studio, choose Lock camera and scrub the spindle on Seamrunner. -
Stack surface reliefs lift curved ridges from the painted voxel hull and shade them from a palette ramp. Surface relief authoring guide
-
Named stack contours link reusable rows of 3D points into painted, optionally mirrored surfaces. Rimefiend’s profile study shows the lips and eyelids through a half-turn.
-
Stack facets and named, animated attachments keep machined edges, the reel and the tether aligned through a turn. Glass voxels and facets export with real partial alpha. Lodekeeper animation and atlas
-
A drag in the stack editor is one undoable stroke. The selected heading updates first and other headings bake between gestures. Named decals support mirrored placements, and a face eraser reveals earlier paint. Pin a wheel in Studio or run
pixelbolt inspect examples/copper-rally.stack.json --pin south,12,10,90to compare five neighbouring angles. -
Sprite stacks render solid slices at 4× resolution by default and keep exact palette colours. Side paintings follow the visible surface around a turn. Studio can paint a face, set the brush depth and scrub headings. Isometric stacks share a ground anchor and sort with other scene actors. Copper Rally turntable and pit lane · Authoring guide
Air pockets that keep their air
- The last of a glugging bottle runs out instead of leaping back up to the bottle's roof. A pocket's air was lost in two ways. One that split off a piece just as that piece opened to the outside shared its air by the pieces' sizes, so all outdoors took nearly all of it; one that closed round open air and a small pocket kept only the small pocket's air. Either left the bottle at the hardest pull the gas law gives. Air now goes with the cells that hold it: a split shares it by the cells each piece keeps, and open air that a pocket closes round comes in with it.
- A film of liquid up to four cells thick between two pockets, or a pocket and the open air, lets air through until their pressures differ by no more than the film's own weight. Pocket air is soft, so a stretched pocket beside a fresh one threw the film between them up the bottle. A film at rest never holds more than that, so resting pockets (an upturned cup, air under a shelf) keep their air as before.
- A pocket draws air up through liquid that hangs under it, as bubbles. Air used to get into an upturned bottle only as one slow finger up its neck that stayed joined to the outside, so the bottle hollowed out under a cap of water hanging from its roof, and each time the finger let the stretched pocket's pull go, the soft air threw the cap back up: the level climbed by a third of the bottle in the middle of the pour. Now, where liquid is held under a pocket with air beneath it, air passes up to the pocket at the rate an opening that wide trades air for liquid, and
air.bubblesshows it climbing from the opening. The water stays at the bottom with the air over it, and the level only falls. Nothing passes through liquid in free fall, or past evening the two pressures, so pockets at rest keep their air as before. - The glugging bottle preset draws its pour all the way down. Where the water falls as a trickle a particle wide, thinner than the density draws, the glass filled with nothing falling into it; a
strandlayer in the water's colour draws it. Its glass is four pixels wider, since the bottle held more than the glass and ran it over, and its bubbles rise at 2.5, so they climb through the bottle instead of crowding in its neck. Every other fluid preset renders as before.
Poke the pixels: a live fluid toy
- The playground gains Poke the pixels (
playground/fluids/): a campfire, honey, slime, a waterfall, a potion, a magic swirl and steam run live in the browser with the released engine'screateLiveFluid. Drag to push the fluid with the pointer's speed; hold to pour a liquid or add heat and smoke to a gas; arrow keys and Space do the same from the keyboard. Save GIF saves the last four seconds at about 320 pixels on the long side, blended onto the stage colour. Copy link makes a link (#v, p and i, all in the fragment) that replays what was done on the same frames, so the person who opens it sees the same pixels; a two-minute busy session fits in about 7,000 characters, and a longer one is cut at a poke to fit. Touching the effect during a replay takes over, and a new link carries both. Edit the recipe opens the preset in the playground. The page has a 1200 × 630 link card, drawn byscripts/fluid-toy-preview.mjs, and the deploy script lists it in the sitemap and links it from the home page. - The playground and the toy load 0.19.0 by default, and the playground lists 0.9.2's slash hit, fire explosion, lightning strike, healing circle and cel-shaded water effects. Links that name an earlier version still open on it.
Examples
- Animate a sprite you already have (guide): the
sprite-walkexample turns one 32 × 32 side-view PNG into a walk and an idle facing right and left, by a recipe whose rest pose is the PNG pixel for pixel. Its drawn parts hang on invisible carrier bones, since the motion templates move only a mass body and bone limbs. The guide gives every command, fromimportto the sheet, atlas and Godot.tres, and the two review workarounds a left walk and a renamed frame need today. The presets listing no longer calls a drawing hung along a hand bone from its start a prop "in hand": only one attached at the bone's end is held.
Fixes
- A tile set's own preview map (
preview.rows) is refused at compile when a row is wider than 256 tiles, the most a preview or a scene's tilemap holds. With tiles under 16 pixels such a row used to pass compile's checks and then fail the preview's render (whichpixel_compilealways draws) with an error namingproject.frames[0].ops[0].rows, a path the source never wrote. The schema gives the limit. - A falling-sand source on the
sandboxbase that names one of the starter materials (saywood) replaces it whole, as before; when the replacement breaks one of the starter table's own reactions, the error now names your material and that reaction ("powder.materials.wood: this replaces the starter table's wood whole, and the table's reaction of fire and wood (its ignite) then fails: wood does not burn ...") with the three ways out. It used to namepowder.reactions[1], an index into a list the source never wrote.
0.19.0 (2026-11-20)
-
Recipes can draw filled or outlined polygons from editable vertices. A frame can move several layers together with named
groupsoffsets. In inspection,alpha-blendidentifies off-palette colours made by translucent paint or layer opacity, withpalettereserved for directly drawn colours. The Midnight Ramen recipe and animation use all three features. -
A part drawn once in the project's
parts(up to 2,048polygon,lineorpixeloperations around apivot) can be placed on any number of layers, mirrored about its pivot withflipXorflipY, and scaled per axis by a number or by a named track inscaleTracks, keyed in milliseconds with easing, with a layerdelayso one part can follow another. The Eclipse Moth beats four wings from two drawings with one nine-key track. -
The pixel art skill's description leads with effects. With a 79-skill game-dev catalog installed beside it, Sonnet reached the skill on 11 of 16 effect prompts (explosions 0 of 4) and Haiku on 1 of 24, and the jobs that missed it wrote their own drawing script. The description now names fire, explosions, splashes, smoke, water, magic spells and sparks first, says they are simulated, and says to use it before writing a drawing script by hand.
-
pixelbolt/terrain'slayeredTestMapRecipe(recipe, layers)works without its options again. 0.17.0 gave it arowsoption and dropped the default for the options object, so a library call with two arguments threwCannot destructure property 'background' of 'undefined'; the CLI and MCP server always passed one and were not affected. -
Exports deflate four to five times faster. Every PNG and animated PNG was compressed at zlib's level 9, and deflate took most of a big export:
render --outof a recipe at the full 4,194,304-pixel frame total that barely compresses (16 frames of 1024 × 256 noise) took 11 s. They are now compressed at level 6, zlib's default, and the same render takes 2.4 s. Over the shipped examples deflate is 4.3 times faster and the PNGs 8% larger (15% for the noise); the pixels are the same, checked with Pillow and ffmpeg, but the files' bytes differ from earlier releases.scripts/bench.mjshas a budget case for that render (export/bundle-full-total). -
A
[*]patch that ends at a named item passes over the lists without it.{"insert": "frames[*].layers[target]"}(and asetof the same path) stopped the whole patch withframes[1].layers has no item named "target"when one frame had layers but none of that name; such frames are passed over now, as aremovealready did and the guide says. An insert through[*]that ended in a key (frames[*].layers.top) named a garbled path (frames[0].layerstop[-]); it gets the plain path's message. -
inspect --besidefills a stack's gutters in one pass. The gutter colour was set pixel by pixel, 16,777,216 calls for a full stack (about 140 ms); it is now written once and doubled, as the other sheet fills do (about 7 ms). The stack's bytes are the same. -
gif.scalepast 16 is refused at once. 0.18.0 checked every GIF's pixel budget before the 1 to 16 range and counted down one scale at a time, sopixel_renderwithgif: { scale: 1e20 }ran to its 50 s limit (and the calls queued behind it waited), and a scale such as 99 was told "gif.scale 90 is the largest that fits", which the next call refused. Such scales get "expected a whole number from 1 to 16" again, and the CLI's--gif-scaletakes 1 to 16, as--scaledoes. -
A forced re-export removes the lit SpriteFrames it no longer writes. With a normal pass the SpriteFrames draws through
<name>.canvas.tres, so it was not known as the earlier export's: re-exporting the recipe as stills with--forceleft the old<name>.tres, still listing the old animations. It goes now, and is listed inremoved; one Godot has saved over stays. The CanvasTexture and the normal maps stay when a later export drops the normal pass, since a file an editor saved may still draw through them.
0.18.0 (2026-11-18)
Found by the review before this release
Four reviewers read what changed since 0.17.0, each told to prove a finding by running it: the effect compilers and the light, the core and the exports, the command line with the MCP server and the importer, and every text against the tool. No exported file had a wrong pixel, nothing wrote outside the workspace, and the server never stopped. What they found is fixed here, each with a test that fails on the code before.
inspect --besiderefused stacks that fit. A 100 × 4096 still beside four sheets of 16 cells, which 0.17.0 drew, was told tocompare at most 4 other recipes, the four that were asked. A sheet whose one cell is taller than the height the stack's sheets share cannot be cut to it; it now keeps the least it can take and the others share what that leaves. Only stacks that were refused change; with--every, some hold at a smaller every for the same reason.- Stills on a trimmed sheet had no export budget. Every frame is also written whole to
frames/at the sheet's scale, a trimmed atlas stays small, and stills (and frames no animation plays) are in no animation's count: 40 stills of 128 × 128 at scale 16 made 167,772,160 pixels of frame PNGs, held in memory at once. Past 67,108,864 the export is refused with the largest scale that fits. - A fluid's light lies on the pixels a rigid body is drawn on.
shine'scolorsanddarkwere laid on a body's solid cells, not its drawing, which is turned as a sprite is and, withsubpixels, finer than the cells: a turned crate had the light's dark on empty pixels beside it and part of itself unlit. The light now reads the frame's own drawing of the bodies. A live runner also cuts its light into bands from the numbers a compiled frame keeps, where light that stood exactly on a threshold fell in the next band. - An effect's parts compiled alone keep the whole effect's warnings.
compile --animation buff-back,buff-frontcompiles only the parts, and lost what the whole effect is told: an edge it is cut off at, a one-shot's last frame, a loop that jumps or is thinned unevenly, and withlight: truethe parts'lightpoint. 0.17.0 gave all of them, since it compiled everything first. The whole is reviewed again and nothing more is delivered. - A refusal no longer compiles the source dozens of times. An effects refusal confirms the route it names by compiling the source again, and a count turned down on a layer's
frameswas not counted as a try: one refusal compiled a 256-frame source about 90 times, 39 s where MCP stops a call at 50. A refusal now compiles it again six times at most. - The one-shot warning names the right frame for a child emitter. For one that spawns where its parent's particles land or while they live it said one frame later, and it named children that cannot reach the last frame.
saveAsknows a lit export's Godot CanvasTexture.pixel_renderjudged<name>.canvas.tresas a SpriteFrames, sooverwritecould replace a SpriteFrames file with a CanvasTexture and would not replace its own earlier copy, and a saved copy named textures that were not beside it. It is a kind of its own: it replaces only a CanvasTexture and names the saved sheet and normal map relative to itself, and a lit export's saved SpriteFrames draws through a CanvasTexture saved with it. Saved without one it draws the plain sheet, as before, and itssavedentry now says what to save to keep it lit.render --normalwithsheet.trimwas refused for an atlas that is never written. The normal pass was packed by itself before being drawn on the colour sheet's cells, and a normal pass has a flat background, so every frame is full:an atlas of 6144×6144where both sheets are 384 × 384.- A scene placement of a long asset was refused for a
stepthe scene never wrote. The default step, the frame's size at the placement's scale, was held to the ±4096 of a written coordinate, which a 1024-wide asset passes at scale 5. - Replies that named a fix the next call refused.
pixel_rendernamed the GIF scale one animation's GIF fits at (4) where every animation's GIFs together fit at 3. A grid import's note said20 keeps them allfor 20 cells of 1024 × 256, where the frame total holds 16.--frames is given twiceadvised--frames 4,6tocompile,gifandimport, where it is a count.inspect --max-cellscounted 45 cells of 1024 × 256 where the same sheet without it shows 60. A GIF whose side passes 65,535 pixels saidinvalid dimensions; it names the scale that fits. inspect --underwhere it was dropped.--underand--guidesare drawn in the--besiderecipes' cells too (two recipes with the same pixels looked different);--stackand--underare refused with--motion, where they were ignored unread; and--outnever writes over the file either was read from, even with--force.- Help.
pixelbolt help terrain fillis the terrain'sfill(it answered that the autotile schema has nofill, a propertyhelp terrainhad just printed). Over MCP, a schema part that is a topic under another word is sent on by the topic and part it stands for (topic "autotile",name "terrain"), which every client can send, since the tool's own list of topics does not name the aliases; and anamethat is no text is refused by its path. - Smaller:
compile --presetof a tile set refuses--frames,--sizeand--animationas the same source by its file does (themeadowpreset was thinned to 4 of its 188 tiles);render --lookon a recipe namedlookno longer draws its contact sheet over the sprite sheet,look.png;pixelbolt constructoris an unknown command, notnames.find is not a function; a bodies canvas drawn finer and a compiled powder grid are refused for the 256 pixels their simulations hold, not because "an animation is at most 256 a side"; the guide's presets paragraph names the powder and autotile sources; and the plugin evals' mock reply listsframes/<frame name>.pngand nofolders.
Light that spreads from what shines
- Light that spreads from what shines (
shine). A fluid effect's fire now lights what is round it.shinefloods light from the hot gas through the picture on every frame, so it moves with the flame and has no shape of its own: solid obstacles drink it (lit on the near side, dark inside, shadowing what is behind them), decorations take it by how far they are, and it eases from frame to frame and closes with a loop. Its colours go on drawn obstacles (colors, anddarkwhere no light reaches, so a thing drawn fully lit is seen by what the light leaves dark), on the gas's own smoke (smoke) and on the empty pixels for a wall behind the effect (wall). A see-through disc drawn round a flame keeps one shape and reads as an aura; this is the light the game Tetherbore uses for its tunnels, in the newsrc/light.js. The live runner draws it too. - Light for particle effects (
shine). Apixelforge-fxeffect now has the light fluid effects got:shinefloods light from the pixels the effect draws in its brightest colours (keys, each with its power; a layer, a particle, a trail, a sprite's own pixel or a tint to that colour all count) through the picture on every frame, so it moves with them and has no shape of its own. Its colours go on the sprites the effect draws (colors, anddarkwhere no light reaches), on whatever else it draws that does not shine (smoke) and on the empty pixels for a wall behind it (wall). A sprite listed insolidis lit on the side the light comes from, dark further in, and shadows what is behind it. The light eases from frame to frame, a loop's runs on through its seam, and an effect with a back and a front keeps each side's light with it (a stand-in's stays in the whole effect: the game lights its own character). An effect withoutshinecompiles exactly as before. The newstone-portalpreset (72 × 88, 24 frames, a loop) shows it: a portal whose glow lights the inner faces of its stone arch and leaves the outer sides dark.help workflow "Light in an effect"has the guide.
Effects drawn as finished assets
- Five effects drawn as finished assets.
wall-torch,chimney-smokeandcampfire-stones(64 × 96, 32 frames),fireball-explosion(96 × 96, 30 frames: a flash that swells into a ball of flame, throws sparks and burns out from its edge inward) andcannon-smoke(128 × 64, 44 frames: a muzzle flash, then a thick cloud of round puffs that billows out of the barrel, lifts and thins away). Each draws the thing its gas comes from in full, with see-through smoke, and the four with fire are lit byshine. An agent that finds a preset close to the request delivers it as it ships, and the small opaquetorch(16 × 32) read as plain beside larger, layered effects;torch,smoke-puff,explosion,fire-explosionandcampfirestay as they are, for small sprites and the Aseprite extension. The Fluid lab lists the five, and the workflow guide says how they are built. - Three finished one-shot effects:
frost-nova,teleport-inandcoin-sparkle. A frost nova on open ground (144 × 96, 24 frames): a flash, a ring of frost that leaves a see-through sheet, small ice behind the front and a crown of tall ice where it stops, all melting away. A teleport-in (96 × 128, 23 frames): circles drawing in, a column of light that thickens, flashes on anarrivecue and bursts away. A coin sparkle (64 × 64, 14 frames): a star, a ring and twinkles. Each ends on an empty frame, whatever its seed, and is listed in the Effects lab. They are the three particle effects Pixelbolt's results lost on in the comparison with pixelfx; no judge has compared the new ones. - Three finished looping effects:
electric-arc,ice-crystalandforest-waterfall. An arc that crackles back and forth between two metal prongs and lights them as it strikes (96 × 72, 24 frames); a cluster of ice crystals with a slow pulse of cold light from its heart and sparkles twinkling across it (96 × 80, 32 frames); and a waterfall over a mossy rock ledge with streaks, foam, spray, a pool and a little mist (96 × 112, 24 frames). Each is a seamless loop at any seed and is listed in the Effects lab. The arc and the crystal useshine, so their light is seen on the prop and has no shape of its own. Like the frost nova, the teleport-in and the coin sparkle, they are effects Pixelbolt's results lost on in the comparison with pixelfx; no judge has compared the new ones.
One-shots that end
- The spell and water one-shots end on an empty frame. Thirteen shipped effects could still draw on their last frame, so they cut off where a game ended them. The healing circle stood whole in its darkest colour (566 pixels), the fire explosion's smoke was cut off mid-shrink (255), the lightning strike's scorch stayed (95), the five water effects ended with drops in the air (33 to 124), and the meteor and the hero's teleport kept a few pixels; the slash hit and the lightning and poison areas of the spell library ended empty only at the seed they shipped with. Each now runs until its last particle is gone and ends empty at any seed. Most got the frames their longest life needs: the fire explosion 16 → 19, the healing circle 18 → 21, the hero's teleport 14 → 18, the geyser and the dome 16 → 18, and the whip, the ring, the curl, the meteor and the lightning strike one more. The healing circle's ring now dissolves through its dither and the scorch breaks up. Their earlier frames are unchanged or differ by a few pixels. Two things are left as they were:
swing-trail, whose smear is tied frame for frame to the swing it follows, and the particle examples (effects.fx.json: sparks, dust, leaves, shards), whose compiled recipe is part of the frozen baseline and still ends with 3 to 17 pixels. A test holds every other Effects lab one-shot to an empty last frame at its own seed and at another, at both ends of the Strength control. - The compile warns when a one-shot effect is cut off. A
pixelforge-fxone-shot whose last frame still draws anything is cut off where a game ends it, and that was only a number in the metadata (residue). It is now a warning that names what can reach the last frame, by how the effect is written: an emitter by its last spawn and longest life (a particle born in frame t with a life of L is drawn through frame t + L − 1), a child by its parent, an emitter whose particles have no life, a layer whoseframesrun to the end. A sprite the effect draws (a prop, a stand-in) is not counted, in the warning or inresidue.residue: trueon an effect says its last frame is meant to stay (debris at rest, a mark on the ground) and stops the warning;swing-trailhas it, and so do the four particle examples ineffects.fx.json, whose pixels are frozen. An effect of yours that ends with pixels on screen will now warn when compiled.
Frames up to 1024 pixels a side
- Animation frames up to 1024 pixels a side and 262,144 pixels. A full-screen 320 × 180, 480 × 270 or 640 × 360 overlay (rain, snow, fog, a vignette) is one recipe or one fx source, not pieces side by side with a seam: an animation frame, a scene asset and an imported frame may be up to 1024 pixels a side and 262,144 pixels (512 × 512 and 1024 × 256 fit too), and a PNG imported whole, with no
--frameor--atlas(MCPframe,atlas), may be a still up to 4096 pixels a side and 4,194,304 in all, as a recipe's still may, a tall, narrow one too (100 × 4000: its grid is cut into tiles of at most 1024 rows). All of a recipe's frames still hold at most 4,194,304 pixels, and the error says how many of that size fit (72 of 320 × 180, 18 of 640 × 360). Grids, symbols, framepixels,paint, patchmoveandcopyreach across the bigger frame; a sheet keeps 8 columns up to 512-wide frames and fewer beyond, so it stays within 4096 pixels wide, and the Canvas player lowers its scale to keep its canvas within 8,192 pixels a side (preview.html fits narrow windows); for a 1920 × 1080 request on an animation,checkoffers the canvas nearest the current one at a wholesheet.scale, or 640 × 360 atsheet.scale3 for the most detail. Pose, bodies, crystal, normals and compiled powder sources keep 256 a side, and fluid and wave sources 128. The normals compiler's refusal of a recipe over 256 now says that a bigger scene asset takes a normal pass drawn as a recipe of its own size. - Big frames get short replies, and a scale too big names one that fits. A scale too big for a render's sheet or atlas, a GIF, an export's GIFs together or a scene GIF is refused with the largest scale that fits, where it gave a bare limit (a sheet past a PNG's 16,777,216 pixels said only
atlas exceeds 16,777,216 pixels; reduce scale or columns).compile --frames(MCPpixel_compileframes) now works for an fx source authored at a screen size, whether or not its frames fit the total: its frame total and its 20,000 operations count only the frames kept, so a 640 × 360 frost nova of 24 frames compiles with--frames 18, and the refusal names theframesthat fits.inspect --diagnosticspast 8 frames keeps three rows, frames with findings first, then frames whose only finding is off-palette colours, then the most corners and strays, and lists their findings, still names every empty frame, and adds up the rest infindingTotals: by code, naming the frames when a code is in 8 or fewer, and off-palette colours by colour, up to 8 named with how many frames each is in and the rest counted, then the frames that have them when they are 8 or fewer ("#ff00ff in 2 frames; in f33, f43"); the CLI's--fulllists everything. A 48-frame 320 × 180 rain with trails and splashes replies in about 2.5 KB. With--beside, the CLI shortens the inspected recipe's diagnostics the same way, where it printed every frame's, and leaves outduplicatefindings (a frame the same as an earlier one) as a single inspect does. A one-shot animation's diagnostics row has no loopboundary, since it never plays its last frame into its first.--native(MCPnative) on a sheet already at scale 1 repliesnative: "same as sheet", with nonativeSheet,nativeImageor.native.png.inspect --besideshrinks sheets, tallest first, by lowering their scale or thinning their cells, only when the stack at the automatic scale would pass 8,000 pixels tall; a sheet whose one row is still too tall for its share is refused atbeside, saying to compare fewer recipes or show a smaller region. With--every, a stack that cannot hold the cells is refused once, naming the sheet refused at the every asked and what it holds there, and one every the whole stack holds, climbing from the every asked: 64 × 64 × 48 beside 256 × 256 × 64, in frames of 100 ms, at--every 10getsa256x256x64.json: 6400 ms at one cell per 10 ms is 640 cells, and a sheet holds at most 256; stacked with the others, choose every 31. The every named holds, but a smaller one can hold too: whether an every holds does not rise steadily with it. A motion review may take a grid other than 4 columns and draw its arcs at a lower magnification to fit a trajectory it used to leave out, for frames of any size; nothing it showed before is dropped. Its reply hassampling(total,shown,omitted,method) only when cells were left out, and no longeromitted: 0. - Full-screen effects and mistyped calls say what to change. With
--animation(MCPanimation), an fx source's frame total counts only the effects that animation plays, so one direction of a spell set authored at a screen size compiles.gifwith--sizeand--animation(a recipe or--preset) still compiles every animation and places the window by all their drawing, and keeps only the one it plays when all the frames would pass the frame total on the new canvas (gif --preset fire-spells --size 320x180 --animation impact) or the preset is refused whole.--framesthins a loop at an even step only when it divides the loop's frames; otherwise the fx compile warns that the loop stutters and names counts that keep an even step (48, 32 or 24 for a 96-frame loop), never 3 or fewer for a loop of 24 frames or more, where it says to give the loop a multiple of the count.compile --helpand MCPpixel_compile'sframessay so. A scene whose assets pass their 4,194,304 pixels names how many frames of the largest asset fit beside every other asset and pass (31 of 480 × 270 over a backdrop of that size, 15 when the overlay also has a normal pass), to make in its source rather than thin unevenly, and says what all of an asset's passes need (snow needs 8,294,400 with its normal pass). A scene GIF still plays at 25 fps unless--fps(MCPfps) is given, and when 25 holds some placement's frames (those its sequence cues play too) for uneven numbers of GIF frames, a note names a rate from 8 to 25 fps that holds each for a whole number (fps 20for 100 ms frames, which 25 shows for 120 and 80 ms by turns); with no such rate it says nothing. A patch that would take a frame's corrections past 262,144 is refused with operations that do the same (the frame's, its top layer's, or a new top layer's when the top one is offset, translucent, recoloured or sorted), and says which corrections still draw over them: the recipe's own (removable) and what each earlier change of the call adds, counted by who owns each entry, so a removed entry comes off its owner. Agridchange's refusal of missing or malformed rows names the canvas's own bound, its height up to 1024 (expected 1–16 equal-width rowson a 16-tall canvas, where it said 1–256). More than 1,024 particles alive at once is refused with the peak and each emitter's share of it. An fx refusal names a route checked against the limit it reports where it can: a release share, the drawing-operations route and the counts past 256 frames are confirmed by compiling the source with them, while an effect's own frames and the loop frames named for the frame total do not yet allow for emitters that start past them (following one can end in astartrefusal). A sprite'srelease.shareis the largest that fits frame by frame, with its children (the emitters whosefromleads to it) counted as part of it, and is named once the effect simulated with that share holds; where even a share of 0 does not fit, the reply names the frame in which the other emitters alone keep more than 1,024 alive and their counts there. Aframescount is confirmed by simulating again and divides every loop it thins, and is named only when it keeps at least half of what fits and does not thin a loop of 24 frames or more to 3 or fewer; otherwise the reply names the frames to give the loop first (or compile with frames 72 … once the loop has 144 framesfor a 146-frame 320 × 180 rain,or give the loop 72 framesfor a 73-frame one), also where no count divides every loop because one loop's frames are prime (frames 42 fits … once e0's loop has 84 frames and e1's 84for loops of 59 and 60 frames). Past 256 frames it says how many must go and, once the source compiles at those counts, what fits together, keeping each effect past its emitters' starts (so 96 must go, and the others alone make 304 (e1 256, e2 48), leaving e0 none: e0 16, e1 184 and e2 40 of their own frames fit together; then frames 8 fitsfor three 480 × 270 loops whose bursts start at frames 0, 174 and 36); where they don't compile, it names the effects, their frames and how many must go, with no counts, and past the 80,000 operations a compile may simulate it names what each effect before took (77,632 taken by the effects before it: e1 77,632, at most four named) and that effect's frames as a route. A mistyped CLI option names the nearest one (--framegets--frames), andinspect,renderorvalidategiven an fx, fluid or other source says to compile it first (a scene:sceneorgif).helpgiven a command's name (help inspect) says its options are inpixelbolt inspect --help.
A scene in Godot plays its animations
- A scene's
scene.tscnplays its animated placements. A placement that stands still and plays an animation of more than one frame (a 320 × 180 rain overlay, a torch) was baked into its plane as its first frame, whilescene.tmxanimated it. It is now in no plane:scene.tscngives it aParallax2Dof its own where it comes in drawing order, with anAnimatedSprite2Dper copy that plays the animation from the start on its asset'ssprite_frames.tres(the hazed copy's for a hazed placement), andalignment.jsonlists it undersprites. Stills stay baked. A placement that moves, followssequencecues or changes anchor between frames is still baked as it is at the start, and the export now warns about it. Copyassets/besidescene.tscnandplanes/.scripts/verify-godot.mjschecks the sprite's place, every frame's pixels as the camera pans and its playback at the recipe's times in Godot 4.7.2.
One call where there were several
- A one-row strip without guessing a patch.
render --columns <n>(MCPpixel_rendercolumns) lays the sheet out n frames across, 1 to the frame count, as the recipe'ssheet.columnsfor that export (kept in the bundle's copy of the recipe and the revision MCP returns), so a single strip of 12 frames is--columns 12; acheckwhose sheet only needs other columns says to render again with that option. A patchsetone field into a missing top-levelsheet,palette,symbolsoranimationsstarts that object, so{"set": "sheet.columns", "value": 12}works on a recipe without a sheet (one level deep, never a list).expectwithrowsorcolumnsat the top level says they go inexpect.sheet, both together when both were given:{"sheet": {"columns": 64, "rows": 1}}. inspectlays frames over one another (P-167).--stack body,body+plate+fin(MCPstack: [["body"], ["body", "plate", "fin"]]) draws each group in one cell, the first at the bottom, as a game stacks separate frames; the cells take every other option as frames do. CLI--under ground.json:tiledraws that frame of another recipe under every cell, repeated: a sprite on the ground it will lie on. Agents had been writing their own image scripts to see either.drawFrameturns a frame (P-168). The Canvas runtime'sdrawFrametakesrotate(radians, about the anchor), withflipXmirroring about the same point, and its notes say where to draw what turns so each art pixel stays a clean square: on a canvas at the screen's own resolution, withscale3 or more.pixelbolt help terrain(P-169).terrainis read as the autotile topic's terrain part, andtilesandtilesetas the autotile topic, in the CLI and by the MCP server'spixel_help(itstopiclist namesautotilealone, so a client that checks arguments against the list sends that, withname: "terrain"for the part);src/terrain.jsandsrc/autotile.jspoint there. Agents drawing ground tiles from another project had read the compiler's source to find the names of its fills.import --atlastakes Aseprite-style atlases (P-159). An atlas whoseframesis an array with afilenameeach (Aseprite's "Array" export, and what effect tools that copy it write) or a hash keyed by names such astorch 0.asepritewas refused, because a recipe's frame names allow no spaces or dots. Such names now become portable, unique recipe names in order (torch 0andtorch 0.asepritearetorch-0andtorch-0-2; a name that was already valid keeps its spelling); per-frame durations are kept;meta.frameTagsbecome animations (forward, reverse, pingpong and pingpong_reverse), so an atlas with tags that imported before now brings its animations, and one whose tags name frames it doesn't have is refused by the tag's path; and ameta.pixelfxblock'sloop: falseandpivotbecome one-shot animations and the recipe'sanchor. A grid import (--frame) says how many empty cells it left out, and--frames N(MCPframes) keeps the first N cells, empty ones included, for a one-shot effect's blank end frames. A sheet with more than 256 colours no longer lists its plain transparent pixels one by one, so its recipe is a fraction of the size; hidden colour under alpha zero is still kept.- A falling-sand clip goes straight to video frames, past 256 frames (P-110).
pixelbolt sequence sand.powder.json --out frames --fps 30 --size vertical(and MCPpixel_compilewithsequence) now steps the grid as its frames are shown instead of compiling a recipe first, so a clip may have up to 18,000frames(a recipe holds 256) on a grid up to 1024 pixels a side (a recipe's canvas is 256), within the same 20,000 steps and 200 million cell steps. The command line writes each frame as it is made. Every frame is the one the compiled recipe shows: a clip that fitted before gives byte-identical PNGs, withloops,step,secondsandbackgroundas before.sequence.jsonnow says"source": "powder"with the clip's name, andended: the step the grid reached, each material's cells and whether it had settled. A clip of more than 256 frames given tocompileorrenderis told to usesequence.powderFrames(source, clip)frompixelbolt/powderis the same stepping for a program. - A render's reply names its frames folder, and
foldersis gone.render,scene,pixel_renderandpixel_scenelist the frames as onefilesentry,frames/<frame name>.png(and, past 16 animations,animations/<animation name>.png), where agents had found the frames only by listing the folder. Thefoldersfield, which counted the files in each folder, is removed: the counts are inframesandanimations. A client that readfolders.framesreadsframesinstead.
The MCP server
- The MCP server speaks the 2026-07-28 handshake (P-136). A client on the 2026-07-28 spec opens with
server/discoverand then sends stateless requests carrying its protocol version and capabilities in_meta, with noinitialize; the server answered "Initialize the server first", so a client pinned to 2026-07-28 (the MCP TypeScript SDK v2's{ pin: '2026-07-28' }) saw no tools.server/discovernow answers with the supported versions (2024-11-05 to 2026-07-28), the capabilities and the instructions, andtools/list,tools/calland the viewer's resources are served per request, the viewer only to a request whose capabilities ask for it; malformed_metagets -32602 naming the fields, and an unknown version -32022 with the supported ones. Clients on the 2025 handshake get the same replies as before. pixel_render'ssaveAsnever writes over a normal pass's files (P-171). Withnormal, the files the normal pass was read from (a normals source's recipe file or shared palette, and the files behind a revision it names) were not among the inputssaveAsprotects, sooverwrite: truecould replace the normal pass's own recipe. They are protected now, as the colour recipe's own files are and as the CLI'srender --normalalready did.
Reported faults, fixed
- A trimmed sheet's normal map lines up with its colour sheet (P-172). With
sheet.trim,render --normal(MCPpixel_rendernormal) packed the normal pass by its own pixels, so two frames with the same normals but different colours (a recolour, a hit flash) shared one cell in the normal sheet and the frames after them moved: the SpriteFrames and the atlas read the colour sheet's cells, so those frames took another frame's normals, and only the two sheets' sizes were compared. The normal sheet is now drawn on the colour sheet's own cells. Frames whose colour pictures are the same share one cell, so the export stops if their normals differ there, and names the two frames. - A frame palette that changes nothing says so (P-166). A frame that continues another with
fromand sets apalettebut draws nothing of its own is the same picture again:fromcarries exact colours, and a frame palette recolours only the frame's own drawing. A game's lit fuses and glinting relics were written that way and never showed.validate,inspect,renderand their MCP tools now warn, naming the frame and how to recolour (stamp the symbol again, orcopyfrom the frame withremap). - An autotile variant that names a longer palette key renders its test map again (P-170). A variant palette such as
{ "a": "blue" }, whereblueis a palette key, compiled its tiles but stoppedautotile --preview(and MCP's autotile compile) withunknown palette character "b"in 0.17.0: the test map's copy of the template wrote the whole key name in every cell. It now draws that colour from a spare key, as it does for a hex colour.
Read in more languages
- The README in Portuguese and Russian.
README.pt-BR.md(Português) andREADME.ru.md(Русский) summarize the English README like the other translations, and also name the crystal and falling-sand compilers, theirpixel_helptopics and the Powder lab. Every README's language line links all seven, llms.txt lists them, and the npm package ships them.
0.17.0 (2026-11-14)
Bodies that turn keep their pixels in video
Reported from a published video: a monkey swinging on a rope was "extremely distorted". A body's picture was turned on the world's own pixel grid and the frame then enlarged, so at any angle off a quarter turn some of its pixels were dropped and others drawn twice, each a block ten video pixels wide: of the monkey's 70 pixels, up to 18 lost and 20 doubled in a frame.
- A match's video frames draw its bodies at the video's pixels.
pixelbolt sequence match.bodies.json --size vertical(and MCP'ssequence) now draws bodies and ropes at the size the frame is enlarged to: every pixel of a picture stays a whole square that turns and moves with the body, at its exact place and angle. No pixel is lost at any angle, a body under 6 pixels shows its turn, andsubpixelsis not needed for video. The territory, obstacles, cloth and heads-up display are the world's pixels as before.sequence.json'splacement.drawnsays how many times finer the bodies are drawn. A sequence made from the compiled recipe is the sprite sheet's frames enlarged, as before. bodiesFrames(source, effect, { scale })does the same for a program that enlarges the frames itself: the image isscaletimes larger each way. Sprite sheets, GIFs and ascaleof 1 are unchanged.- A ball's picture can roll. A circle's
symbolstays upright (a face keeps looking out);rolls: trueturns it with the ball, for a cheese wheel or a boulder that read as sliding. At whole pixels its round outline stays exactly as drawn and what is inside goes round. - Where each named body is, every frame, on a long match.
bodiesFrames(...).figures()and a sequence'ssequence.jsoncarrypaths([x, y, angle]a frame, as a compiled effect's metadata does, with no 256-frame limit), the frame everything came torest, and the warning for bodies that start overlapping. The command's reply says where eachended. - A motion smear and a trail drawn at a video's pixels are sampled along their sweep as the source's own pixels are, each sample filled finer: sampled every half a video pixel, a sword's smear took half a second a frame.
Found by the review before this release
- An MCP call takes a shorter match as a sequence. Bodies drawn at the video's pixels cost about twice what enlarging the sprite sheet's did, so a match the old limit let in was simulated for 50 seconds and then stopped. One call now draws a third as many pixels of a match (241 frames of a 72 by 128 board at 1080 by 1920); a longer one is refused at once, naming the command line, which has no limit. A frame is also drawn faster than it first was: each of the world's rows is enlarged once and copied down.
- A trail at a video's size is laid as rows. As a list of cells, a trail's disc drawn 256 times larger held hundreds of megabytes for as long as the server ran, and took seconds a frame.
- A translucent body is the colour it is in the sheet. Drawn larger, it was laid over the territory cell under it, where the sheet shows the ground through it.
bodiesFramesrefuses a frame taller than a still as it refuses one wider;createBodiesSequencewith options that are no object says so; the autotile test map's recoloured copies stay inside the palette's 256 colours.
Bodies that hung in the air
- A tower past its balance keeps tipping. A column standing a few pixels past its last support turns so slowly at first that its crates stayed under the sleep speed for 12 frames, fell asleep mid-tip and held the tower half a degree over, hanging there for good. A body that is still gaining speed, frame after frame, no longer falls asleep.
- A body asleep on ice falls when the ice melts. Only a hard obstacle that came or went woke a sleeper; soft ground (ice, a fluid's sand at rest) that goes from under one now wakes it too. Ground that arrives beside it still lets it sleep.
- A weld or hinge to the world holds the body where it starts. With no anchor on the world's end, the joint was fixed to the canvas corner (0, 0), so a cage of bars welded to the world tore apart on the first frame. A hinge or weld now takes the point under the body's own anchor; a distance, rope or spring to the world must name its point, and says so.
- The bits of a weightless body can fall. A shell built of
weightlesspieces holds its shape until it is hit, but the bits that broke off floated beside it.breaks: { ..., "fall": true }gives them weight. - The bodies guide says what was met by building: a box is at most 64 pixels a side, a polygon's
atis its centroid,spinDragis 0.02 unless set, an event's frame already shows its effect, and a startingspindoes nothing to a box that stands on the floor.
What breaks a body goes through it
Reported from a video that could not be made: a heavy ball dropped down a shaft of five crate floors stopped on the first, in each of 124 setups.
- A body breaks before its knock is solved. It broke after, so a crate held on two ledges had already taken the whole of the ball's speed. What breaks a body now meets its pieces, and goes on through them as its weight allows.
- Fresh pieces grip nothing. The pieces of a body fit each other exactly, so with friction the ones left on the ledges locked as an arch and held the ball up for good (a solve run to convergence gave the same). A piece has no friction for its first 12 frames and takes it back over the next 8.
- A knock passes through what can't break. A ball that landed on a loose plank lying on the next crate passed no knock on, since the plank and the crate met at no speed. A body that can't break, pressed from one side, now knocks what it touches on the other with that weight behind it; a crate dropped on rubble breaks as it would on the floor under it.
- The ball of the shaft now breaks all five floors.
crate-smashis thrown a little lower: the ball goes through the pane without losing its line, ploughs through the bottom row and the pyramid comes down on it.
Falling sand: no left or right, and pools that level under what floats
- A source drawn mirrored runs the mirrored way as often. One lake between two dams gave way at its left dam first in 61 of 64 runs, whichever dam stood there. A resting liquid with nowhere lower to go moved only its row's way (left on even rows, right on odd), its look for somewhere lower stopped at the next cell of its own kind, and rows were read left to right and right to left by turns. A liquid now drifts toward its nearer bank, looks past its own kind, and each row is read one way or the other by a draw. On the reported lake the wooden wall lets the water through first 32 of 32 times both ways round; a block of water on a table runs off its two ends alike (158.6 cells left and 158.1 right over 512 seeds, where it was 110.8 and 212.0).
- A pool levels under what floats on it. Steady rain into a gorge piled the river in a V, 18 rows higher against the walls than in the middle: ash from a burning bridge floated on the river, and a resting liquid moved sideways only into empty cells, so water that ran down the walls and sank through the ash could go no further. What floats on a resting liquid (a lighter powder or liquid: ash, oil) is now as air to it. Under a row of ash the river rests level, where it rested 18 to 20 rows apart.
- Every falling-sand preset is redrawn, since every frame moves with the order rows are read in; each tells the story it told.
Fluid fixes: rafts, pistons and arcs
- A light body comes back up, and a raft carries its load. A raft 0.4 as dense as water, pushed under by a crate, stayed on the tank floor after the crate rolled off, or hung mid-water under it. The level a body floats at was read as ending under any other solid in the column beside it, so the water above counted as a load on it. A crate standing on a wider raft read no level at all. And a body in a liquid met other bodies with its own mass alone, so a light raft held a load up with under half its lift. Stacked bodies now float where their weights and the water they displace say; a load too tall for its raft still tips it.
crate-splashandhot-stoneland a frame or a pixel differently. - Liquid an obstacle closes on is squeezed out, not removed. A piston that came back against its chamber's end wall, a crusher that reached the floor, a gate shown in a channel and an obstacle that jumped onto a pool all deleted the liquid there. It now moves to the nearest open cell out of the gap, sideways or up, never through another solid. A pocket sealed on every side leaks past the obstacle that shuts it, in one frame: give a moving part a way out for what it squeezes, or stop it a pixel short, if that should not show. Smoke in such cells is still lost.
- Plasma: a link whose midpoint falls in its own end's cell is left as it is. It was parted and rejoined, which held the next link back a step from splitting. The four plasma presets' arcs take slightly different paths;
jacobs-ladderhas a new seed, since under its old one the arc now climbed lopsided.
Reported faults, fixed
- An effect's light track could hold one frame's glow in every frame. Twice in CI, under Node 24, two compiles of one effect differed: in one, every frame's
glowwas the last frame's, with its place and colour right. Nothing in the code writes that; the engine's compiled code had shared one number between the objects of a loop. The track's entries are now built by the JSON parser, which cannot share them. - A symbol particle never draws below its
floor. Its middle pixel was kept on the floor, so a symbol three pixels tall hung a row under it, and a spinning casing came to rest a row lower upright than lying on its side. None of it goes below the floor now, in flight or at rest. - A pinhole where two bands meet is filled.
cleanup.strays(and a recipe'scleanupwithstrays) filled an empty pixel only where all eight neighbours had one colour, so a hole on the edge between two bands of one body stayed open: a liquid's depth bands flickered with transparent specks, and an outline drew a dark dot round a hole inside smoke. An empty pixel closed in by drawn ones now takes the colour most of them have, and so do the two cells of a hole that touch at a corner. Fourteen shipped effects change by a pixel or two in a few frames. - A liquid emitter's pulse is said as it is. A liquid is never fuller than full, so at
rate1 a pulse only dips; the schema and the guide said strength "rises and falls". (Letting the high half speed the jet was tried: it changed the waterfall, potion and honey presets, so the behaviour stays.) - A path emitter's timing is said as it is. The spawn centre moves at one speed along the path's whole length; it is on the first point at
startand on the last atend, the frame after its last spawn. The schema and the guide said "timed as a layer's keys are", which read as a point a frame. - The autotile test map shows palette variants in their colours. Every variant was drawn in the base palette, so a set with a blue variant showed a test map with no blue. A variant that only recolours is now drawn in its own palette (the frames of an animation stay one template).
- A figure with no valid canvas width is refused in words (it threw a RangeError where its bones have outlines), and so is a body instance or part named
constructor,toStringorundefinedwhere its name is looked up (a TypeError). - The palette report names a key once. A key holding a space that shares another's colour was listed under
sameand underunusedtoo. [-]after[*]in a patch path gives the message it gives without[*]; it was read as an item named "undefined".- A scene sequence's hint to author the scene at the size that fills the frame is offered up to a scene's own limits (1024 a side); it stopped at 256.
powder.schema.jsondescribes a material'saboveandbelow; the generator took the texts and dropped them.pixelbolt import --embeddedrefuses--frameand--padding, which it took and ignored.pixelbolt validateon a source says it is a source and how to check it, where it called its first field unknown.pixelbolt sequenceof a match takes--loops 1, as its help lists.- The playground: typing while a download is prepared no longer says "Waiting for edits…" over a download that goes on;
?engine=works only on a loopback page (a published page shares its origin with its host's other sites); the page's own script policy is'self'(it loads nothing from jsDelivr itself, its worker does). - A territory
splitthat leaves teams unequal shares is warned about. 19 rows between two teams start one of them on 10, on a board that looks even; the compile's warnings and a match'sfigures().warningsnow say so, with the cells each team starts on. - The figure memory check in CI no longer holds a frame count that a deliberate change moves. The bodies guide says what catches people out: canvas and box limits, what
hitscounts, sleeping bodies that hang, loops with no gravity, and that a tiny change can flip a match.
Found where an agent looks
Six more routes run cold (animated water tiles, an isometric storeroom, a wolf from the fox rig, a vase that shatters, a parallax background, and a contributor finding five places in the code from the repository's map). All delivered; the water run rewrote the Godot TileSet by hand to animate it.
- Tile sets are presets.
presets --find tile(MCPpixel_helpwithfind) listsground,meadowandshorewith what each is, andcompile --preset shorecompiles one. They were files the search never showed. - A shipped scene answers to its name where a source is read:
presets iso-glade --out <new.scene.json>saves the isometric glade, and says how to fetch the assets it names. - Animated tiles are said. An autotile source whose
variantsdiffer only in palette or duration, with noanimation, gets a warning that names the line to add. The water run had exactly that and exported three tiles scattered at random. - An animated tile set's compile reply gives a
tilemaplegend that names the animation ({"animation": "lava-{mask}"}), where its list of frames drew stills in a scene; and its forty-six animations, alike but for the mask in their names, are one counted line ("lava-{n}"), as any four or more such are. - A scene export keeps the modules of its replay page in
player/, so the folder's top level is the scene and what an engine takes (scene.tscn,scene.tmx,planes/,assets/). Three runs called a dozen.jsfiles among them noise. - An outline that surrounds nothing warns. A frame's ops and each of its layers are buffers apart, so an outline among the ops of a frame drawn in layers drew nothing and said nothing.
- Diagnostics leave out
duplicatefindings unless--full: a pose a cycle passes twice is no finding to act on, and two runs called the list noise. - The craft notes gain animated tiles and a parallax background (placements'
parallaxandhaze, a keyedcamera, and whatscene --outwrites for Godot). - For contributors:
docs/modules.mdis a sentence a line, so a search returns the sentence that matched (an entry was one line of up to 3 KB, which a search tool dropped), andAGENTS.mdsays what to run after changing a file its table did not name. - The check's
oneRownote is gone again: one run wanted it and two called it noise.
One call where there were several
Six more routes run cold by a first-time agent (a camp scene from three presets, a UI kit, a grass-and-sand tile set for Tiled, a barrel with a normal map for Godot, an imported PNG cut to five colours, a campfire). All six delivered; these are what they went round.
- A scene as a GIF.
pixelbolt gif <scene.json> --out <new.gif> [--scale 4] [--fps 25]and MCPpixel_scenewithgifwrite the whole scene as one looping GIF, through its duration once. The run that needed it wrote numbered frames and reached for ffmpeg, and the server's instructions now say a scene is how several animated things share a picture. Its notes name the placements whose loops the scene's duration cuts, with the duration that holds whole loops of them all, and the one-shot animations that restart where the GIF repeats. render --scale 4(MCPpixel_renderwithscale) enlarges every exported pixel: the recipe'ssheet.scalefor that export. "A PNG at 4x" took a patch and a second render, and two runs tried--scalefirst.- A sprite with its normal map.
render <recipe> --normal <normal recipe or pixelforge-normals source> --out <dir>(MCPnormal) writes<name>.normal.png,<name>.normal_y_up.pngand a Godot<name>.canvas.tresbeside the sheet, and<name>.tresdraws through it, so aPointLight2Dshades the sprite with nothing to set up. Before, colour and normal came out together only from a scene export. - A cylinder's normals. A
pixelforge-normalssource takes"axis": "vertical"(a barrel, a pillar, a trunk) or"horizontal"(a log): each row is a slice of one cylinder, leaning across the axis and never along it. A barrel came out as a dome and was patched by hand. - A two-terrain tile set drawn as your own map. A
layersset takespreview.rows, a layer's key in each cell, as a single-terrain set does; it was refused. Its compile reply carries thetilemapa scene needs, which had to be written by hand. - A corner tile map exactly the size of its scene no longer reports the half cell its tiles reach past the map as "drawn pixels clipped at scene bounds".
- The craft notes gain Lit sprites (the route above, and which option says what a form is) and a note on UI pieces (9-slice margins, states as frames); the skill routes to both. A preset search that finds nothing says what presets are, where "try another word" drew four searches for a panel, a button, a heart and "ui".
Cloth that waves, in a loop
- A
pixelforge-bodieseffect with"loop": trueis cloth in a wind that repeats everyframesframes. It is blown, undrawn, until a cycle ends where it began, so the last frame leads into the first, and its animation loops. The metadata'sloopsays how many frames that took and how far the seam is from closed; a cloth that never settles gets a warning that says what to change. A loop holds cloth pinned to points or to fixed bodies that stay still: a body that falls, a joint, a rope or a pin on keys plays once, and the error names which the effect has. Every effect was one-shot before, so a flag could not be a game's looping sprite. - A cloth's
rippledraws it swayed by a wave that travels from its held end to its free end,ripplepixels high there, withwavesof them along the cloth. A simulated sheet that the wind pulls taut stays nearly flat, which is why the flag preset was a rectangle that barely moved; the ripple is what reads as cloth in a wind. It turns a whole number of times in a loop. - A cloth can carry a design:
filltakes a ramp for each character,{"b": ["d", "b", "l"], "g": ["G", "g", "y"]}, and themaskrows draw the cloth with those characters, so a stripe or a cross moves and shades with the folds. A second cloth laid over the first drifted from it. - The
flagpreset waves in a 24-frame loop, pinned along its hoist. New presetbanner: a tattered cloth with a gold stripe, hung from a rod, swaying in a loop on a transparent background; itsmaskcuts the ragged hem and draws the stripe. - New preset
lantern: a lantern on a chain from a beam, pushed by a gust, swings and settles. A chain ("look": "chain") given anoutlinekey is drawn link by link in its two keys by turns; with one key it was a faint dotted line. - The rigid-body presets say what they show ("A lantern on a chain swings and settles: what hangs from a beam, such as a sign or a pendulum") before what they are made of; the listing gave only the count of their shapes, so a search by subject found nothing.
- What hangs and swings is easier to find: the server's instructions, the quick start and the craft notes say a lantern on a chain or a sign is a body on a rope or a hinge, and a preset search for a word of that kind (
chain,pendulum,hinge,cloth) that no preset's name or description holds names the rigid-body presets.
Smaller steps
- A patch path takes
[*]in aninserttoo:{"insert": "frames[*].ops[0]", "value": {…}}draws a prop behind every frame of a compiled effect in one change. It was refused, and twelve frames took twelve changes. pixelbolt presets <name> --out <new.json>saves a preset's source alone, ready to edit and compile. Printed, the source sits inside the reply, and every cold run that changed a preset wrote a script to lift it out.- A change written with a field a patch does not have (
{"op": "set", "path": …}) is answered with the shape of a change. - The craft notes say how to draw a figure in four directions seen from above, and that one frame as a picture is already in a render's
frames/folder. boolean, which four modules each had a copy of, is one function inauthoring.js.
Look and refine before delivering
- The server's instructions, the quick start, the skill and the craft notes' Effects checklist ask the agent to look before it delivers: write down what the request names (the subject and where it is, how it moves, its size and colours), compare the frames with it, fix the worst difference and look again, at least twice for an effect or an animation. A preset is a first draft, delivered as it ships when it shows what was asked or the user named it; the skill said to deliver a preset as shipped first. In a benchmark of twelve effect requests, Sonnet delivered a first draft or a nearby preset in about nine turns and a blind judge preferred a rival whose guide has the agent look and fix three times; on four of those requests, a blind judge preferred what Sonnet made with the new text in three.
- Library users get the check too.
readExpect,checkDeliveryandbriefCheckcome from the package entry (import { checkDelivery } from 'pixelbolt'), so a tool that bundles Pixelbolt checks a render against what was asked, asrender --expectandpixel_render'sexpectdo. The entry had no check, and the exports map refusespixelbolt/src/check.js.
The playground opens every source
- Wave, crystal, falling-sand and rigid-body sources open in the playground by link, by Open file and from a PNG that carries one, compiled in the page with the linked engine, and the editor keeps the source. Each compiler loads only when a source needs it, so links to older engines still open; a source on an engine older than its format (wave 0.9.2, bodies 0.12.0, crystal 0.13.0, falling sand 0.14.0) says which version it needs.
pixelbolt sharelinks the source itself, no longer the grids it compiles to, so long presets fit a link: hut-fire's went from 148,528 characters (over the 16,384 limit) to 644. Its reply dropscompiledFrom.- Links and PNGs of these four kinds open only where this change is: Pixelbolt 0.16.0's
import --embeddedand a playground deployed before it refuse them, as they refused these sources before.
0.16.0 (2026-11-12)
The check knows the sprite sheet
expect.sheetchecks the sprite sheet the user named: itswidthandheightin pixels, or itscolumnsandrows({"rows": 1}for a one-row strip). A grid wraps at 8 columns unless the recipe setssheet.columns, so a sheet of 10 or 12 frames came out in two rows while every other check passed (5 of 8 such requests in one benchmark). The fix names thesheet.columnsthat makes the asked sheet with the fewest empty cells, carrying the frame-size fix's scale when both miss, and turnssheet.trimoff for a trimmed atlas. When the default grid wraps into more rows and nothing asked about the sheet,delivered.sheetsays so.
MCP replies name this release
- A bodies match too long for one call, and a
pixel_compilewithsequencestopped at the time or memory limit, now name the command line of the server that refused it,npx -y pixelbolt@<its version> sequence …, not an unpinnednpx -y pixelbolt, which fetched whatever npm's latest was.createBodiesSequencetakes the command as an option; library callers keep the plain one. pixel_help's description names thepowderschema topic, which it served but never listed.
Tiled plays every looping animation of a sprite
- A Tiled tileset of a sheet with no terrain (a sprite's
tileset.tsxin a scene export) left out, without a word, any looping animation with a frame an earlier animation also used, though the second only had to start on a frame of its own:walk[a, b, c] thenidle[c, d] animatedwalkalone, andiso-tiles'water-late, the water four frames out of step, played nowhere. Every looping animation now plays from its first frame, in whichever order they are listed, and that frame keeps its tile weight as a probability; where two start on one frame, or one doesn't loop, a tile set's own.tsxsays which it left still, as a sheet with terrain does.
0.15.0 (2026-11-10)
Found by the review before this release
- A patch summary's colour changes left out the frames that changed sixteen pixels or fewer: recolouring the knight's plume reported 15 of its 45 pixels.
- A scene image at a scale that passes what one PNG holds says which scale fits; it said "Invalid PNG dimensions". The scale runs from 1 to 16, as the option's own error said, not 8 as the help did.
inspect --besidenames the recipe that lacks the frame or animation asked for, and--palettesays its counts are over every frame whatever the view shows.- MCP
pixel_importwith apathnames the recipe after the file, as the command line does. compileof a tile set with--sizesays whatautotilesays; a PNG given where a recipe is expected is told so.- The command-line help names
inspect's--layersand--reference. The skill no longer sayssequencetakes a preset, and the craft notes no longer run--motionand--view partstogether.
Joints, ropes and cloth for rigid bodies
Contributed by alesisce in #124.
- A
pixelforge-bodieseffect takesjoints(distance, rope, spring, hinge and weld, between two bodies or a body and the world, with anchors, angle limits and abreakimpulse),ropes(a chain of small hidden links between two anchors, drawn as a rope or a chain, that sags and can break) andcloths(a grid pinned to points, keys over time or bodies, with wind, gusts, collisions and tearing, drawn in palette shades). Existing sources compile to the same pixels: the seven earlier bodies goldens did not move. - Five presets:
rope-bridge,wrecking-ball,ragdoll,flagandcape. - Found by a review before the release and fixed: a cloth pin with two or more
keyscrashed the compiler; a rope of many links hung stretched (73.7 pixels for 50 at 64 links, now 52), which a solver pass for each link of its longest chain cures; alimiton a weld,stiffnesson a rope joint, a joint or rope with both ends on one body, a pin given two ways of being placed and a second pin on one particle were accepted and ignored, and are now refused by name. - Changed on the way in: a rope's links are given the weight to hold what hangs from it unless the source sets
density. With the default a ball two thousand times a link's weight stretched the rope and fell to the floor, so the wrecking ball stopped beside its pyramid; it now swings through it, as on a rigid joint. The presets were retuned and looked at (the bridge hangs clear of the ground, the ragdoll's still tail is cut, the flag is loose enough to ripple, the cape hangs from the shoulders), and the new modules read numbers with the shared helpers.
Which keys colour what, labelled comparisons, a level from rows
inspect <recipe> --palette(MCPpixel_inspectpalette: true) lists each palette key with its colour, its pixels and the layers or pose parts it colours, a ramp's keys together dark to light: for the fox,R r o yon the chest, hips and head,v won the tail tip and bib. Two agents asked for a colour variant rendered the sheet and guessed which keys were the fur.- The rows of
inspect --besidecarry their names in the image, above each sheet. - An MCP call with an option the tool lacks is told which one and what the tool's options are (
pixel_compile has no option "palette"; its options are source, preset, size, ...); it said "Invalid tool arguments" and no more. - The preset search's note says how a colour is changed (a patch of the palette, with
palette: trueon an inspection to see which keys colour what): an agent recolouring the hero over MCP found no guide and guessed the route. - The craft notes have a checklist for rigid bodies, and it says what the engine does not do well. Two fresh agents asked for a bowling strike each took eight blind retries and delivered pins that slid along in a bunch. A search of 1,296 setups (ball size, weight, speed and bounce, grip, gravity, spacing, a wall behind or none) found none that ends with six pins lying in the picture, and a pin on its own falls as it should, so this is how a row behaves in a side view, not a fault to fix: thin standing pieces are shoved upright, lean and stand up again, and fall only against a wall. Stacks of blocks, as in
crate-topple, fall as they should. The checklist says to plan a knock-down as a stack. help workflow "Rigid bodies" "Shapes"reaches a part through its section; it was refused.- A schema topic of help (
schema,poses,scenes,autotile,fx,fluid,wave,crystal,powder,bodies,normals) is an outline of 1 to 3 KB, not the whole schema of 12 to 142 KB: each property with its type and what it holds, and the size and contents of the large ones.nameis a path of property names and returns that part as JSON (help bodies effects.bodies, every field a body takes, 12 KB), andallthe whole. An agent asked for a bowling strike ranhelp bodiesand got 45 KB it called useless. - The quick start a shell reader gets is 1.4 KB shorter: the four starting points written as MCP calls, which the skill's table already gives, go to the MCP reader alone.
- Eighteen calls a fresh agent makes for help and routine work (the guides and schemas, a compile, a palette patch, an inspection, a render, a tile set) returned 853 KB in all before this series of changes and return 46 KB now; the largest single reply went from 233 KB to 11 KB. A test holds the five routine replies to a few kilobytes each.
import <sheet.png> --frame 24x24(MCPpixel_importframe) cuts a sprite sheet into its frames by the size of one, for a sheet whose atlas is lost; the border round each frame is found. An agent handed only a PNG got one wide frame and guessed at--atlas.- A source format's help outline names the presets written in it (
help wave: interference, portal). An agent building a portal looked there for an example and found none. presets --find sandnames the falling-sand presets beside the three liquids called sand: a search word that stands for a kind of preset lists that kind.- A falling-sand source that gives a starter material only new colours is told that it replaced the table's material, with the fields to repeat; the craft note says the table's background is opaque and how to make a sprite's transparent.
- The craft notes have a section for colour variants (which keys colour what, a palette patch, one layer alone, the versions in one image), and the skill a row that points to it. Five cold runs were recolouring jobs, and each read the whole character-building checklist for one bullet of it.
- A test holds that no top-level function, constant or import in
src/,bin/,studio/orscripts/is named only where it is defined. A scan found none today. - A patch path takes
[*], every item of a list, in asetorremove:{"set": "frames[*].layers[plume].palette", "value": {"s": "#6a2c91"}}recolours the knight's plume in all 18 frames and leaves the shield's emblem, drawn with the same key. An agent asked for that copied the pose source and gave the shield keys of its own. The reply counts the places matched. - The workflow shows where slope characters go in a map as a picture of the rows, with the rule in a sentence, in place of an escaped one-line example.
- A tile template draws a level of your own:
"preview": {"rows": [...]}(#terrain,.nothing, the set's slope characters) is drawn by--previewin place of the test map, up to 4096 pixels a side, so a level strip needs no scene file. A fresh agent asked for one wrote a script to build the scene JSON.
Help that answers with a page, not a book; five more cold runs
Five more kinds of work went to fresh agents: a platformer tile set with slopes, a jump and a run added to the knight, a title banner in the pixel font, three team colours of the hero, and a torch over MCP. All five delivered; these are what they tripped on.
help guideandhelp workflow(MCPpixel_helpwithtopic) no longer print the whole document, 66 KB and 234 KB: they print its opening and the list of its sections, about 1 KB. One agent calledhelp guideand got all of it."all"as the section still returns everything.- A section over 12 KB that has parts prints its opening and the list of them, and a part is read by its heading as a section is:
help workflow "Fluid effects"is 3 KB where it was 61 KB, andhelp workflow whitewater2 KB. The fluid, particle, scene, rigid-body, autotile, falling-sand and motion-template sections of the workflow and the guide's Operations gained those part headings (their paragraphs' bold labels), with no sentence changed; no heading's reply is now over 10 KB, and the mean is 3.5 KB."Fluid effects all"is a whole section. - A word that starts no heading prints the paragraphs that mention it, cut to the table rows, list items and sentences that do:
help guide textis thetextoperation's row and paragraph,help workflow apexthe jump template's row. Three agents had searched the files for exactly that, and over MCP there was nothing to search. - The guide's "Calling the tool" section, 24 KB with paragraphs of 5, 5 and 9 KB, is now ten sections (Calling the tool, Presets, Sources, scenes and imports, Exports, The check, GIFs, Video frames, Saved names, The inline viewer, Limits), and the rig paragraphs left its opening for a section of their own. Six sentences that no longer described the tool were rewritten:
renderwrites GIFs, an enlarged GIF is noted, a reply carries motion boxes only for the animations a note cites. - A motion that leaves the canvas says how far past which edge, what would make room and which of its settings to lower: "reach 4 px past the top of the 32x32 canvas ... for room, raise
heightby 4 and move the rest pose'soriginandrig.grounddown 4; or lower the motion'sapex(the figure rises twice that) orstretch". It said "draw up to 31 pixels outside" (a count of pixels, read as a distance) and "change the motion's settings". - A compiled tile set's
tilemapin the reply is a tilemap to paste and give rows:{"tile": [16, 16], "legend": {"#": {...}}}. For a set withslopesit is the whole legend (a character per slope, the rules for the feet under them) with a sample map; before, it was the plain entry, which drew slopes with broken joins, and the agent compiled again for the metadata. - A symbol with a miscounted row names the row and both widths in every source format and in a patch (
fluid.symbols.dipper[2]: all rows must be 24 characters wide, as row 0 is: row 2 has 25), through the one check recipes use; fluid, fx, bodies and patch each said only "expected equal-width text rows". - A tile set's compile reply no longer suggests saving metadata when it carries the
tilemap: an agent read the hint as something it might have missed. - A compile or GIF at a
sizelarger than the drawing's canvas says where the empty margins are ("margins": {"left": 8, "right": 8}for the 16×32 torch at 32×32); an agent delivered the half-empty frame without knowing. - [compass] A bodies match written as video frames with
secondssays which of its frames fall between video frames; the note was hidden whenever a length was given. inspect <recipe> --beside <b.json>,<c.json>(MCPpixel_inspectbeside, a list of revisions) draws the same view of up to eight more recipes under the first, in one image, and the reply'sstacksays where each starts. An agent asked for three team colours side by side wrote an image script to join the sheets.- A patch that changes more than eight frames replies with one summary of them, not a list: a palette change to the 45-frame fox answered with 29 KB, the same eight colour changes written out for every frame, and now with 1.4 KB (how many frames, the pixels and box over all, the colour changes summed, the three frames that changed most).
inspect --referencereplies the same way. - CI: every push to main since at least 9fcbd95 ended "cancelled", never passed. On the Intel Mac build (the suite on the translated runtime) one assertion in the preset listing test failed, the test's MCP server stayed open, the run hung and the job was cut at its 20 minutes with no failure shown. The assertion compared two listings that a slow machine measures in different calls (each call measures for 20 seconds), which is no fault; it now allows for that. Every MCP test session that was closed only on success is closed by a teardown, so a failed assertion ends as a failure.
- A scene's view may be up to 1024 pixels a side and 262,144 in all (it was 256×256), so a level of 24 tiles of 16 pixels, or one sixty tiles long, is one picture; the agent asked for a test level had to cut its map to 16 tiles. Assets stay at 256 a side, and a view past the limit is refused with what to do (a tilemap may be larger than the scene). At the largest scale, 8, the largest view is an image of 16,777,216 pixels, what the largest still is.
Imported images, one spell of many, video frames: more cold runs
Three more kinds of work went to fresh agents on the current build, with the rig and MCP tasks again (4 commands and 4 calls, no failures in either).
compile --animation impact(MCPpixel_compileanimation) keeps only the animations named, with the frames they play. An agent asked for one spell's impact out of a preset of thirteen animations wrote a script to delete the other twelve from the source.- A SpriteFrames whose frame times Godot holds as fractions is no longer a warning in every reply: the timing is within a ten-millionth, and the fact is in the export's README.txt. Three agents had read it as something to fix.
presets --find water splashworks without quotes.importnames the recipe after its file (coin.pngbecomescoin), notimported, unless--namesays otherwise.patch --helplists the changes a patch takes. The change format was only in the quick start.- The skill has a row for video frames (
sequence), says thatframesinexpectcounts what each animation plays, and that a preset's colour is changed with a patch of its palette.
Scenes, tile sets and the MCP route, run cold
Four kinds of work that had not been tried by a fresh agent (a character from a rig, a terrain tile set, a lit scene, and everything through the MCP server) were, on the build from before this work and on the current one. The rig took 5 commands where it had taken about 12; tiles, scenes and MCP took as many as before, and these come from what both said.
- A compiled tile set says how a map names its tiles: the reply's
tilemapholds the cell size and the legend entry to paste into a tilemap ({"frames": ["meadow-{mask}-a", ...], "weights": [4, 4, 4, 1], "autotile": "blob"}). An agent laying a grass floor listed the set's 188 frames with a script to find that a tile ismeadow-255-a. - The craft notes carry a scene to start from (a tile floor, a fire, a lit character, a light), which a test draws as written, and say what makes a night:
scope: "all"lights assets without a normal pass,lit: falseleaves a fire its colours. Both agents had hunted through the scene schema, and neither got the ground to darken. The notes also carry a two-layer tile set to start from, for one material over another: every agent asked for snow over rock had delivered snow alone, with the rock as a background colour. A test compiles it as written, to its 16 tiles and a Godot TileSet with a terrain for each. - The skill has a row each for tiles and for scenes, with the command that shows the result (
autotile ... --preview <map.png>,scene <scene.json> --image <view.png>); the scene command was nowhere in it. <command> --helpprints that command's usage and the notes about it (under 3 KB), not the whole 11 KB help, which the quick start sent an agent to for every command's options.pixelbolt helpstill prints all of it.compileandautotilesay what they made, as MCPpixel_compiledoes: the size, the frame count and each animation by name. An agent placing a compiled campfire in a scene had run a script to learn its animation was calledcampfire.- A GIF enlarged by the scale the call gave is no longer a failed check when
expectnames only the frame size: the reply notes that the GIFs are that many times the frames and how to have the size checked (gifScale) or undone. Two agents asked for a 4x GIF had been told their correct export failed. - A still tile set's reply no longer describes a
defaultanimation of all its tiles. - A render names its sheet and its atlas (
"sheet": "goblin.png", "atlas": "goblin.atlas.json") ahead of the list of files. - The quick start an MCP client reads no longer repeats the tool list it has already loaded: its tools section is the order to work in and what the list leaves out, about 1 KB shorter.
What six cold runs still tripped on
Three tasks were given to fresh agents on the checkout from before this work and on the current one. The campfire and the potion took fewer commands with no failed one (5 against 8 and two helper scripts; 8 against 12 with one failure); fixing a broken recipe did not get shorter, and both runs named why. These follow from what they reported.
- One validate names everything wrong it can find: a field a frame doesn't have is reported with the broken operations, and so is an animation that lists a missing frame. Before, the frame field stopped the check, and the missing frame only showed on the next run.
- An unknown operation that has another name says what that operation takes:
unknown operation "circle"; did you mean "ellipse"? It takes x, y, w, h (the box it fills, not a centre and radius), color and optionally filled.An agent told only the name spent three commands finding the fields. - A recipe put on a smaller canvas with
--sizeno longer warns about clipping in every later validate, render and GIF: what the cut leaves outside is taken out of its grids, stamps and pixels, and the cut is reported once, where it is made. (A turned or scaled part that hangs over the edge still says so.) - A patch's report writes a colour the palette no longer names as its hex (
"from": "#d9a566"), where it wrote"0"and explained it in alegend. - The quick start says that
fromcopies a frame as it was finally drawn, itspixelscorrections too. render --lookwriteslook.pnginto the export folder: the frames enlarged as a contact sheet. Agents were judging the art from the sprite sheet, which is at game size (a 256 x 32 strip).render --gifwrites a GIF of each animation intogifs/(--gif-scale 4enlarges them), as MCPpixel_render'sgifdoes, and the check covers them: two of three agents on the older build had typedrender --gifand been turned away. The skill's loop is now validate, inspect, patch, and one render that shows and exports everything.- A patch that recolours a palette key reports each frame in a line (
"transitions": [{"from": "#d9a566", "to": "#8a5a2c (c)", "pixels": 8}]) where it listed every pixel, and the quick start shows the change:{"set": "palette.c", "value": "#8a5a2c"}. hold,delay,time,msandlengthon a frame are answered withdid you mean "duration"?, and the ellipse hint says how a centre and radius become its box.- Every reply describes animations one way:
"animations": {"walk": {"frames": 8, "duration": 640, "loop": true, "fps": 12.5}}, from validate, inspect, compile and render, in the shell and over MCP. Before,animationswas a list of names in one reply, frame indexes in another and a folder's file count in a third, with the rates apart inanimationFps, which read as a stray number.framesis always the count; MCP validate's lines of frame timing aretiming, and a render's file counts arefolders. - A resize is said once, in words, when it cuts anything. The
resizednumbers (old size, where the window starts, the share cut) go with the metadata, not into every reply. - A render's or a scene's
fileslists what to deliver. The preview page's scripts and README.txt are in the folder but not in the list (a lit scene listed 13 of them);--list-files(MCPlistFiles) still lists every file.
A quick start for each reader, and less to carry
pixelbolt help quickstartgives a shell its commands (validate,inspect,patch,render,gif,compile,scene,import, with their options) where it gave the MCP tools and one line saying the commands were the same. MCPpixel_helpstill gives the tools. Patch changes and source formats are one section both read.- The npm package and
pixelbolt skill installleave outexamples/quality/, the quality lab's files that no guide starts from: 16 fewer files and 300 KB less in each. - The plugin evals' mock server answers with the real server's tool listing again (three tools had changed since it was captured), its reply shapes match, and a test keeps the listing current (
node scripts/eval-mock.mjs). - Fix: a studio that takes any free port (
previewwhen 4747 is in use) no longer takes one a browser refuses to open. Windows with WSL or Hyper-V hands out free ports from 1024 up, in order, so about one start in three thousand landed on 6665 to 6669 or another refused port and the page would not load. - The Emberfall demo is removed from the repository:
demo/(5.8 MB, a quarter of the tracked files by size), its six scripts, its three npm scripts and the test of its game logic. It was retired on 23 October as no longer showing what Pixelbolt makes and kept as a workload, but its generator no longer ran and its stress script failed on the current engine. The test covered the game's own movement and spells, not the toolkit. It is in the history before this commit; the reports it produced stay underdocs/. - Inside: the studio's four pages share one module for their toast, downloads and play button (
studio/page.js); the MCP server's three passes over saved atlases,.tresand.tsxfiles are one, as are its three file checks and the two places a scene's video frames were written; four more scripts nothing ran are removed. The studio walk passes 56 of 56 checks. - Inside: the validators that eighteen modules each defined (
fail,isObject, and the source formats'number,integer,pairandrange) and the table of compilers kept in three places are each defined once. No output changes.
Isometric art to start from
examples/iso-tiles.jsonis an isometric tile set on a 32×16 diamond: grass in four variants, stepping stones, a pond with moving glints, a wall block and a step, a crate, pines and saplings, bushes, boulders and contact shadows, all 32×64 frames with the cell in the last 16 rows.examples/iso-glade.scene.jsonlays them out as a small island: the ground, shadows that darken it one ramp step, what stands on it sorted by depth, and a coin hovering over a paver. The set is listed as a preset (presets --find iso), and both ship with the skill.- The craft notes have an
Isometricsection (help craft "Isometric"): the frame convention, proportions before detail, the three layers, where something in a cell stands and how to anchor it, and which legend options work in iso. - A preset's listing names the frames no animation plays (
stills), so a tile set reads as more than its two water loops.
Fix: the Aseprite extension draws smoke at an open edge as Pixelbolt does
- The extension's Lua port lit smoke past an open canvas edge the old way, so after the bright-line fix it no longer matched Pixelbolt pixel for pixel: four of its 21 parity cases failed (the steam vent at its defaults, and the explosion, smoke puff and steam vent with changed settings). The port now reads the edge itself there, as
src/fluid.jsdoes, and all 21 cases match again.
Replies that say each thing once
- A reply's
cells(andpixel_validate'sframes) is a line per run of frames that last the same, with a run of numbered names as its ends:"campfire-0 … campfire-23: 70 ms each"where there were 24{frame, duration}objects. Compiling the campfire preset over MCP replies with 650 characters, not 1,500; a 240-frame match saves about 9 KB a call.pixel_validategives each animation's frame count, not the index of every frame it plays. - Several errors are each said once:
errorsis a list of messages that start with their paths, anderrorcounts them. Before, the combined message said them all anderrorssaid them again with the path twice. - The CLI prints every reply one way: an object or list that fits a line is on one line, longer lists of names wrap, and a path inside the working directory is written from it with forward slashes (
"recipe": "out/hero.json").validateandrenderno longer print one long line, andpatch,gifandcompileno longer print a line per number. - A frames mismatch in a render's
checkgives the per-animation hint once, with the first animation, not on every one. - A render's
checkcarries the silhouette boxes (motion) only of the animations one of its notes is about. Beside a clean animation they were rows of numbers with nothing to say. compilesuggests--metadataonly for a rig or a tile set, whose metadata a motion review or a game engine reads. An effect's compile reply is one line.- The skill says that
gif --sheetwrites a contact sheet to look at, and that a game's sprite sheet and atlas come fromrender.
A smaller package
- The npm package ships the eight documents the tools and contributors read, not the whole
docs/folder: 52 fewer files and about 400 KB less to download (reports, bug reports, tutorial images and publishing notes stay in the repository).
Fewer frames in one option
compile --frames 8andgif --frames 8(MCPpixel_compileframes) keep that many evenly spaced frames of each animation that has more, and each kept frame lasts as long as the frames it stands for, so the animation plays as long as before. A loop steps evenly round its seam; a one-shot keeps its first and last frame. The reply'skeptsays what each animation went from and to. Before, the way to an 8-frame smoke puff was a hand-built patch that removed eleven frames by name, with the arithmetic explained in the quick start, the preset listing and the server instructions.
Removed: the Tesla coil preset
examples/tesla-coil.fluid.json(presettesla-coil) is gone, with its GIF and its Fluid lab entry: a thin arc on a small coil that the plasma globe and lightning show better.compile --preset tesla-coilnow reports no such preset. Thirty-seven fluid presets remain, three of them electric.- The steam vent no longer cleans corners (
cleanup.corners), which the Aseprite extension's Lua port does not implement: with it, the extension could not be packaged from the shipped presets.
Presets: drawn props and no dead tails
- The floating bodies in
water-wheel,crate-splashandsand-slideare drawn as things: a paddle wheel of boards on spokes with a hub (it was a grey cross), a rubber duck, crates of planks with a brace, a rounded stone and a ball with a highlight. Each is asymbolon the body; the shapes that collide are the same, so the water moves as it did. - Five one-shots ended in a long still:
crate-toppleruns 140 frames (was 190),crate-smash152 (180),plank-tip80 (110),sand-slide56 (110) andquarry-blast32 (60). Each still ends at rest, with the crates'restframe in the metadata as before.
Fix: no bright line where smoke leaves the picture
- A gas look's
lightandshadowlayers read the smoke past an open canvas edge as empty, so smoke that reached the top or left edge got a bright line along it (a dark one along the bottom or right). They now read the edge itself there, so smoke that leaves the picture is lit only on its own rim. Against a closed edge (walls) it is lit as before. Of the shipped presets only the steam vent changes: one pixel on two frames, where a puff leaves the top.
Fixes: rigid bodies thrown high, pictures on polygons, the rest frame
- A body thrown past an open edge that gravity pulls it back from comes back. Before, anything more than 16 pixels over an open top was gone for good, in mid-flight: a ball thrown up at 4 pixels a frame, which rises 53, never landed. A weightless body, and one past an edge gravity does not pull it back from, still leaves.
- A
symbolon a lopsided polygon is drawn on the outline that collides. A polygon's centre is its centroid, and its picture was centred there instead of on the point itspointsare written around, so a 24-pixel triangle's picture hung 4 pixels below its outline and sank into the floor it stood on. Sources that padded their picture to make up for it should take the padding out. - The metadata's
restis the frame everything rests from to the end. It kept the first frame everything was asleep, so a crate that slept on a shelf at frame 11 and fell when the shelf vanished at frame 50 was still reported at rest from 11.
Clearer errors where first-time agents stalled
- Attaching a part to a point that isn't there named neither: "attachment must name a point on a part in this pose". The error now says which is missing and what exists. For a missing point: the part's own points and how to add one under
parts.<name>.points([column, row]in a grid's rows,"end"or[along, across]on a bone,[x, y]from a mass's centre). For a missing instance: the pose's instance names, and, when the name is a part definition, the instances that place it. - A refused overwrite says that nothing was written and the file there is an earlier run's. An agent that missed the refusal opened the old sheet and took it for the new one; the craft notes now say to number drafts and read
okbefore opening an image.
A second character to start from, and how to make a new one
examples/knight.poses.json(presetknight, briefexamples/knight.brief.md) is a stocky knight in plate on the hero's rig roles: idle, walk, attack and hurt at 32 × 32. Its shield hangs from an arm left out ofrig.arms, so no template swings it and the shield stays where it is held; the far arm swings and strikes with the sword, and a plume follows asrig.tail. A first-time agent asked for a knight had recoloured the slim hero and got a thin column.- The craft notes' Characters section says how to make another character: redesign in three blocks instead of recolouring, which way angles turn (0 right, 90 down, added to the parent's), that parts draw in list order far side first, how to carry something still, and how to keep thick limbs from merging.
Fix: searching the presets for a character finds the rigs
presets --find character(MCPpixel_helpfind) listed 27 liquids, because each of their lines says "not a character", and none of the rigs. It now lists the rigs: a poses preset's line starts "A character rig" or "A four-legged animal rig", and a liquid's disclaimer no longer counts as a match.- A search that matches nothing (
--find wizard) names the rigs to redraw for a character or creature and points to the craft notes' Characters section.
A prop of moving parts: the hermit chest
- New example and preset
examples/hermit-chest.poses.json: a hermit crab that wears a treasure chest, 21 frames at 40 × 32 in six animations (idle, peek, rise, walk-right, walk-left, hide). It is apixelforge-posessource with no bones or rig: each pose lists the drawn parts it shows, so legs and claws appear, eyes and claws swap drawings and the lid lifts. The craft notes and the pixel art skill point to it for props and creatures built from parts.
A shorter inspect --diagnostics reply
pixelbolt inspectprints a row of its reply to a line (a cell, a frame's counts, an animation) instead of a line per field, and past 8 frames the diagnostics giveframeTotals, the three frames with the most corners and strays, andomitted, instead of a row for every frame. The 35-frame hero's reply goes from 9,752 to 3,451 bytes with the same findings.--diagnostics --fulllists every frame. MCPpixel_inspectsums long sheets the same way;analyzeProjectis unchanged, andbriefDiagnosticsis exported for the short form. Grid rows still print one under another.
Pose sheets without the spare rest frame
- A rigged
pixelforge-posessource no longer compiles its rest pose (rig.rest) into a frame unless an animation plays it. Before, a rig with a four-frame idle exported a five-cell sheet, the fifth being the rest pose that no animation showed, and agents spent a detour removing it. The remaining frames, their pixels and the metadata are unchanged; frame indexes after the rest pose move down by one. To keep the rest pose as a frame, name it in an animation:"animations": {"stand": {"frames": ["stand"]}}. Sources without a rig keep every pose they write.
Steam and fog without the specks
- The steam vent, boiling pot, ice cube, hot stone, dry ice and lightning pond presets draw their vapour in flat bands (a dim rim round a light body) instead of dithering it: thin vapour dithered into a field of loose specks. The steam vent also gets a shaded underside, a lit top and stray cleanup. Their pixels change; nothing in the engine does.
- Dry ice has no side walls, so fog that reaches the edge of the picture flows out of it instead of climbing the wall.
- The craft notes say to draw steam, fog and smoke in flat bands.
Emitters that follow a moving obstacle
- A fluid emitter takes
follow: the index of an obstacle, or the symbol one obstacle stamps. The emitter keeps its place beside that obstacle as the obstacle'skeysmove it, so a rocket's flame lifts off with the rocket, where before the flame stayed on the pad. A rate emitter is laid along the way between frames, so a fast obstacle leaves one trail, not a puff a frame; sparks, carriers and liquid emitters follow as well. Sources withoutfollowcompile to the same pixels as before.
Breaking fix: atlas anchors that Phaser and PixiJS place
- An anchored frame's atlas entry wrote its anchor in pixels under
anchor, which TexturePacker-style loaders read as a 0-1 origin (Phaser 3's JSONHash parser takesanchorbeforepivot, and PixiJS's spritesheet usesanchor), so a Phaser or PixiJS game put an anchored sprite far off screen.anchoris now the same 0-1 point aspivot, and the pixel point isanchorPx. Code that readanchoras pixels readsanchorPxinstead. The runtime'sdrawFramereadsanchorPx, and still places atlases written before this change.
Gemini CLI extension
gemini-extension.jsonmakes the repository a Gemini CLI extension:gemini extensions install https://github.com/skulitom/Pixelboltadds the MCP server, which runs the release's ownbin/pixelbolt.jswith your Node.js (20 or later) in the folder Gemini CLI was opened in, so exports go to itsoutput/folder, and the pixel art skill. The release's tag check now reads its version with the others.
Fixes from a review of hidden state
- A fluid of sand with a fixed body that turns on the spot (
fixed: truewith aspinand no velocity) stopped the compile withCannot read properties of undefined (reading 'left')on the first frame the body left a cell. Sand is not given a body's turning, so nothing had moved as the sand saw it, and the wake the left cells join had not been made. It is now made when the first cell is left. - The studio asked before replacing an edited recipe with a sample only when the sample was chosen. What was typed while the sample loaded was replaced without a question; it is now asked about too.
replayStrokeson a powder runner that had already run some frames applied no stroke at all after the first one behind it. It now passes over the strokes of frames the runner has run and carries on, so a replay can be run in parts.- A powder grain that last moved exactly 65,535 frames before the floor under it was taken away hung in the air for one frame: the 16-bit frame stamp it kept read as the current frame's. The stamps are wiped when the frame count wraps.
- A rigid body resting against two faces (a ball in a corner) could be pushed along one of them on the substep after the obstacles were traced again: its kept push was found by the face's number, and the retrace had given that number to a face looking another way. A kept push is now used only on a face that looks the way the one it came from did. No shipped preset changes.
bodiesFrames(...).image(-1)returnednullbefore any frame had been drawn; it is refused like any other frame outside the match.- A second
initializesent to the MCP server decided again whether the MCP Apps viewer was offered, after the tool list had been given. The firstinitializenow settles the session, and a repeat gets the same answer. - For contributors:
node scripts/goldens.mjsstopped with aTypeErrorwhen git could name the base commit but not write it out; it now reports the changed cases with a note that there are no before images. The studio walk checks the sample question.
More fixes from the review of hidden state
- Powers and sleeping bodies. A power that moves or reshapes a sleeping body now wakes it and what rests on it. Before, a body warped while asleep hung where it landed and the stack it had held up stayed standing on nothing; a ball grown while asleep stayed sunk in the floor and its neighbour, and one that slept while grown hung 2 pixels over the floor after shrinking; a split's copies sat on their taker. A magnet wakes the sleeping bodies it pulls as it starts, and again as it stops.
tirelesskeeps a power. A tireless body's kept energy was set once, when it was made, so its next bounce undid aspeedpower and a warped ball went on bouncing to the height it was first dropped from. It now keeps what the power gives it.- Tumbling pieces left hanging (
pixelforge-powder,pieces: "tumble"). Two pieces turning against each other could each be drawn a pixel into the other; neither could then be drawn where its body was, each waited for the other's cells to move, and their bodies fell on and came to rest while the cells stayed in the air. A piece left more than 8 pixels behind its body, or behind a body that has stopped, is now made again from its cells as they lie and goes on from there. No shipped preset changes. - A floating crate on a draining pool. A light body asleep afloat (less of it under water than a row of its cells) stayed asleep as the liquid drained slowly, and ended a pixel and a half over the dry floor. A sleeping body now wakes when the level it floats at moves a pixel, or when the liquid that held it is gone.
compile --sizewith layers (MCPsize). A layer operation that hung over the old canvas showed in the new margins, a layer with its ownxorywas cut in the wrong place and could vanish, areplacefilled the margins, and clearing an overhang also cleared the background there. Each layer's operations now take the layer's own offset and clear what the old canvas cut, and the result is the window of the original pixel for pixel. A layer sorted by ground that draws past the canvas where the new one has a margin is refused, since it cannot clear.- Effect child particles counted once (
pixelforge-fx). A child emitter (from, withwhen: death,floororlife) reported morespawnedparticles than it drew: a loop also counted the children of the frame after its last, and an effect that plays once counted children that are never born. A loop that bears 3800 particles is no longer refused as "more than 4096 particles", and never-born children no longer count toward the 1024 alive at once. No compiled pixels change. - Playground. A download or link clicked while edits were waiting to render was stopped by that render without a word; it now finishes first, from the text as it was when clicked. Cancelling a download or link no longer marks a valid render invalid. The reason a recipe is invalid stays on the page until it renders or the text changes (downloading the recipe hid it and left the page dimmed). Choosing an example or opening a file removes an old share link from the address, and a link that does not decode is never the one the address returns to.
- A
saveAscopy that cannot be written (pixel_render). The reply was a system message naming a temporary file, and said nothing of the export folder and revision already made. It now names the entry by its key and path with the reason in a few words, says that nosaveAsfile was written or changed, and carries thedirectoryandrevision. - Tiled and Godot take the same tiles. An animation that plays once, or whose frames another animation already uses, left its later frames in the
.tsxas Wang tiles, so Tiled's Terrain Brush picked between stills of one animation that the Godot TileSet left out. Both now follow one rule (tileAnimations); a sheet with no terrain (a sprite's tileset in a scene) plays its looping animations as before. A Wang-set warning names its terrain whenever the tileset has more than one, whichever comes first.
The smaller fixes from the review of hidden state
Command line:
-hgiven as an option's value (import art.png --name -h,inspect coin.json --animation -h,gif-frames frames --prefix -h,presets --find -h) printed the whole help, exited 0 and did nothing. It is now that option's value.<command> --helpor-hanywhere else among the arguments still shows the help.compile <poses> --expand --preview p.pngexited 0 and wrote no preview. It is refused:--expandprints the poses and draws no image.- Naming stdin (
-) for two inputs failed with a bare "Unexpected end of JSON input" for several pairs (overlay - --selections -,inspect - --guides -,scene - --image s.png --guides -). Every pair is refused before anything is read, naming both inputs. - An option given twice silently kept the last value:
gif coin.json --out a.gif --out b.gifwrote onlyb.gif. It is refused by name, and for--frames,--layersand--draft-viewsthe error writes the list as one value. A flag given twice is still taken. - A command that writes several files could leave the first behind when a later one failed (
gif coin.json --out first.gif --sheet blocker/sheet.png, withblockera file), so the corrected call was refused with "Output already exists". Every output's path is checked before any is written, and if a write still fails the files and folders that call made are removed. Under--forcea replaced file cannot be put back, so the error says which now hold the new bytes. - A
pixelforge-bodiessource that links a shared palette ("palette": {"$ref": "…"}) compiled to a recipe with the colours written in. It keeps the link, as poses, autotile, fx, fluid, wave and crystal sources do. gif-frames: frames numbered across a thousand million (millisecond timestamps) were split into two sequences where the tenth digit began. Numbers of up to 15 digits are one sequence.
Validation and warnings:
- An operation a layer with
sort: "ground"cannot take (an area operation,textwithoutground, agroundthat is not a row) is listed with the other broken operations instead of alone: it used to hide every other error in its layer and in the layers and frames after it. - Diagnostics no longer report a
palettefinding on a frame for colours it continues (from) or copies (copywithfrom) from a frame that recoloured them with a frame or layer palette; rendered frames list them asinherited. A colour nothing declares is still found, and no pixel changes. - Errors and warnings about a part of a pose address it one way. A pose you wrote gives the part's index in your source (
poses.poses[1].parts[3].angle); a pose a motion template made gives the motion, the pose and the part's name (poses.motions.walk (walk-contact-a).parts (nearUpper)). An error in a generated pose used to give an index into a list you never wrote, and an error in a rest pose that was not the first pose pointed at the first one. - A tapered bone could draw one pixel a ramp step too dark where its outline steps: cleanup had turned that outline pixel into fill, but the inner-line pass still took it for outline and repainted it. The masks of bones and masses now follow every pixel cleanup changes. Shipped examples are unchanged; a figure with tapered horns or tail segments may differ by a pixel or two a frame.
- A crystal compile's last-frame warnings come from each crystal's own timeline (
start,grow, then its glint) instead of from comparing the last two pictures. Growth cut off by the last frame always warns (grow: 40in 13 frames used to pass), with how many crystals, which entry is slowest and the frame count that finishes it. A crystal that is full grown no longer warns that it is "still growing" because its glint is playing: an effect that ends before a glint has played out says that. Metadata gainsgrownbesidesettled. No pixel changes.
Bodies:
- A blade whose strike has a
cutwas drawn over the bodies it touched for the whole run, also before its cut began and after it was over. It is drawn over them only in the frames it cuts.
Studio:
- Export assets stays off and labelled "Packing assets…" until its ZIP arrives, whatever recompiles meanwhile. A second click mid-export used to send a second export and leave the button reading "Packing assets…" for good.
- The recipe editor is read-only, and says it is loading, until the studio has started and put its recipe there: what was typed in that moment was kept by no draft and replaced by the start-up recipe. A start-up that fails still opens the editor and plays, and says once that drafts are not being kept.
- Powder lab: a replay link that is ready only after another scene has opened is no longer written into that scene's link field. It is still copied, and a toast says which scene it was for.
For contributors: scripts/qa-studio.mjs stops when its browser quits or crashes (it used to wait until the CI job's time limit), reads the quarry blast's frame count from the preset instead of a written number, and gains four checks for the studio fixes above. The live powder runner's limit of 4,096 waiting inputs is documented.
0.14.0 (2026-11-08)
Fixes from a review before release
- Falling sand, motion:
- A falling cell that lands without moving keeps its part of the grid awake. Before, a sand grain could stop for good partway down through water, and a drop landing slowly on a pool froze on the surface instead of drifting along it.
- A resting liquid wakes when something changes up to 40 pixels along its row, as far as it looks for a way down, so digging a hole beside a still puddle makes it flow.
- Pools of thick liquids (oil, lava) come to rest and stop costing time.
- A tumbling piece thrown more than 16 pixels above the top comes back down; before, it vanished with every cell in it.
- Cutting one piece into many (erasing a comb's bar) keeps to the 128 pieces that tumble; the rest drop as blocks, as new pieces past the cap already did.
- Falling sand, limits and messages:
- The compile's work limit counts scripted inputs (a patterned paint or a burst over the whole grid every frame could run for hours from the command line) and
pieces: "tumble", weighed by how much of the grid is solids that fall. A source past it is refused at once, naming the input or setting to shrink. - A scripted input played after the last step any clip samples is warned about; it used to compile into a clip identical to one without it.
live.recordedUntilis the frame of the first input a recording left out once it holds 65,536, so a replay is known to be exact up to there.- The colour error says how many of the 89 colours the base uses and how many the source adds. The size error no longer suggests
pixelbolt sequence, which fails the same way. Arowsfill'satmust be two whole numbers and its legend keys one character each. Painting"empty"points toerase.sandboxSource()gives a source that compiles. - The schema allows names up to 60 characters, as the compiler does, and no longer says
"empty"is a material where it isn't one. - The preset listing says what each powder preset shows ("Rain on fire: wind, then rain on a campfire"), from the Powder lab's titles.
- The compile's work limit counts scripted inputs (a patterned paint or a burst over the whole grid every frame could run for hours from the command line) and
- Powder lab:
- A damaged or unknown replay link opens the scene it names (or the sandbox), says what is wrong and keeps its address; it used to open the sandbox silently and erase the link.
- A full recording is said to be full, and its link stops where the recording did, without claiming the pixels match.
- A stroke's scripted input is shown on frame 0, with the frame it must come before to show in the scene's clip, so pasting it into the downloaded source changes the bake.
- A link may ask for at most two hours of frames, the status estimates the time left, and Stop replay keeps the frame reached.
- A GIF or recipe started just before switching scenes is named after the scene it shows, and the scene buttons wait while it is made.
- A large Display scale no longer hides the left of the grid where it can't be scrolled to (the Fluid and Effects labs share the fix).
test/studio-modules.test.jschecks that every module a studio page reaches is served, so a missing allowlist entry fails in Node, not only in the browser walk.
- Scene export:
- A plane's share of the camera rounds half a pixel down, as Godot's pixel snapping does, so with the camera on whole pixels every plane of
scene.tscnis where Pixelbolt draws it. Before, a plane whose share was exactly half a pixel landed a pixel apart.docs/game-integration.mdsays where Godot and Pixelbolt agree to the pixel. - Re-exporting a scene with
--forceremoves the planes and hazed copies the earlier export wrote and this one doesn't. - MCP
pixel_scenewithexport: truereplies with the export's warnings too. - Haze amounts are kept to six decimals, so 0.3 and 0.1 + 0.2 share one hazed copy.
- The game-integration guide says
tileset.tresholds only unhazed sheets.
- A plane's share of the camera rounds half a pixel down, as Godot's pixel snapping does, so with the camera on whole pixels every plane of
Fixes since 0.13.0
- A bodies match written as video frames (
pixelbolt sequence,pixel_compilewithsequence) draws every frame, shown or not, so its bodies are wherecompileBodiesdraws them when the video samples below the match's rate, and an effect name of 60 characters works past frame 999. - A Tiled map keeps tiles drawn above or to the left of the map: a rule offset a row up at the scene's origin stopped the scene export with a TypeError, and one a column left lost the tile. A tile set named with 56 to 64 characters draws its test map, so
pixel_compileno longer fails on it.
Falling sand
- A new source format,
pixelforge-powder(src/powder.js,powder.schema.json,pixel_helptopicpowder,pixelbolt/powder): a falling-sand material grid where every pixel holds one material from a table: powders, liquids, gases, fire, fixed solids and solids that fall. It runs live in a game (createLivePowder: step it every frame, paint, erase, wall, heat, push and burst with the pointer, and render) and compiles withpixel_compileandpixelbolt compileinto one-shot clips of palette grids sampled from one run. The same source and inputs draw the same pixels everywhere, and recorded strokes pack into a few bytes and replay exactly. base: "sandbox"starts from a starter table of sand, water, stone, wood, fire, smoke, steam, oil, lava, ice, ash, moss and wall with their reactions; a source adds or replaces materials and reactions.- Motion that reads: falls speed up, fast landings splash and liquids surge and pour in arcs; pools level and come to rest; solids marked
fallsdrop as rigid pieces when what holds them up burns away and float on denser liquids; smoke and flames are drawn as clouds by density; fast drops trail streaks, so rain reads as rain. - Heat in whole degrees, conducted exactly, with latent heat, phase changes, burning, lives and a table of reactions between neighbours; a gas with
expandbillows when it is made. - Moving air (
air.flow) on a coarse grid: heat lifts it, it curls, a wind blows through, smoke rises in plumes and spills round overhangs, ash drifts, and a blast opens a crater and throws its spray. - Tumbling pieces (
pieces: "tumble"): a loose piece falls as a rigid body (throughsrc/bodies.js) that turns, tips off ledges and stubs, floats, pushes aside what it lands in and comes to rest, every cell keeping its material, burning, life and heat; a hut on stilts topples into its pool when the stilts on one side burn. A material withclings(moss) holds on to the stone it grows on. The straight drop stays the default. - Settled regions sleep, so a big quiet scene costs almost nothing; a busy 320 × 180 sandbox steps and draws in a few milliseconds (a speed budget case in
scripts/bench.mjs). - Presets
hut-fire,lava-falls,quarry-blast,rain-on-fireandstilt-hut(scripts/powder-presets.mjs,examples/*.powder.json), with their GIFs inshowcase/powder/(node showcase/powder/build.mjs --check) and golden hashes intest/goldens/powder.json. - The studio has a Powder lab (
/powder.html, linked from the studio and the Fluid lab): a falling-sand sandbox running the live grid in the browser. Pick any material of the starter table, or erase, wall, heat, cool, wind (push) or blast (burst), and drag on the grid; set the brush size and spray; pause, step a frame at a time and restart; open the presets, which play their own scripted inputs. Each stroke is shown as thelive.<input>(…)call that makes it and as a source's scripted input. Copy replay link packs every stroke (packStrokes, deflated and base64url'd) with a digest of the pixels, so the link reopens the scene on the same frame with the same pixels, and says so (or that they differ, from another version); a long session is cut at a stroke to fit 16,384 characters. Download GIF, Recipe JSON and Powder source compile a preset's own clip in the browser beside the matchingpixelbolt compile,pixelbolt gifand MCPpixel_compilecalls. The studio walk paints with the mouse, uses every brush, opens a replay link in another tab and checks Node replays it to the same pixels, and checks every preset compiles in the browser to the same recipe as Node.
Parallax and haze survive export to game engines
A scene's parallax planes and haze used to exist only in Pixelbolt's own renders: scene.tmx dropped parallax and drew hazed placements without their haze, and the Godot export had no parallax.
- Tiled: each layer of
scene.tmxholds draws on one plane and carries the plane'sparallaxas Tiled'sparallaxxandparallaxy, which a game reads as Pixelbolt does (a layer is drawn at its position less its factor times the camera's top-left). The map keeps Tiled's default parallax origin: Tiled 1.11 changed which way its editor counts one, so no other origin previews the same in every version. With a camera, the map is large enough to hold every tile object. - Haze baked in: each asset gets a hazed copy of its sheet for each amount of haze its placements stand in (
assets/<n>/haze-<amount>/color.png), with each colour faded as a whole, as the scene fades it. Each copy has its own Tiled tileset (same tiles and terrains, named<id> haze <amount>), whichscene.tmxdraws hazed placements from, and its own Godotsprite_frames.tres.alignment.jsonlists the copies under each asset'shaze. - Planes as images: a scene export writes each plane, a run of draws on one plane, as an image with its haze baked in (
planes/<k>.png).alignment.jsonlists each plane with itsparallaxand scene position, so any engine can scroll it (in Phaser, a scroll factor). - Godot:
scene.tscn, a Godot 4.3+ scene with a top-leftCamera2Dat the camera's start, the background colour and oneParallax2Dper plane, its scroll scale the plane's parallax, over aSprite2Dof the plane's image. node scripts/verify-tiled.mjsandnode scripts/verify-godot.mjscheck a three-plane scene: a sky at 0, hills at 0.5 standing 0.6 into the haze, and the ground at 1. Tiled must read each layer's parallax and draw the hills from their hazed tileset. Its layers, rendered bytmxrasterizerand scrolled by those factors, must draw what Pixelbolt draws with the camera at its start, halfway and its end. Godot must put every plane there too, and with--renderit draws the same pixels in a window.
0.13.0 (2026-11-07)
Fixes from a review before release
- Breaking bodies:
- A symbol body that breaks no longer crashes a match drawn frame by frame (
pixelbolt sequence,pixel_compilewithsequence), which broke the crate-smash preset. - An effect's
mostnow leaves room by default for every body withbreaksto break into all its pieces, up to 4,096. Before, it stayed at 256, so late breaks were cut short or skipped without a word. A compile now warns when a break is cut short. - A fixed body that an event breaks is priced in the work estimate as the free pieces it becomes, so such a scene is refused up front instead of running past MCP's time limit.
- A
breakevent aimed at a hoop is refused, asbreakson a hoop already was. - The fluid schema no longer offers
breaks, which fluids refuse.
- A symbol body that breaks no longer crashes a match drawn frame by frame (
- Figures:
- A figure facing left (a walk or run with a negative
speed) bends its knees and leans the way it faces; before, its knees bent backward. - A four-legged walk or run that leaves the ground more than once after the same feet (a quick gait, or 28 frames or more) no longer names two poses alike and fails to compile.
- A
rig.tailinstance can't also be a leg or arm bone, the chest or the neck; before, its swing silently overwrote the leg or arm. - The poses schema refuses what the compiler refuses:
forewithouthind,legswithfore, andchestorneckwithoutfore.
- A figure facing left (a walk or run with a negative
- Draft views:
- A named point on a column a shear draft drops moves to the kept column beside it, so a blade's tip stays on the blade.
- Names the built-in font can't draw are labelled with
?, in the motion review's arcs key and in a draft sheet, instead of failing the call.
- Crystals:
- A crystal that has stopped growing reuses its outline instead of tracing it again each frame, so a large field of crystals draws in seconds instead of minutes, with the same pixels. The work estimate now counts each frame's drawing as well as its painting.
- A
lighttoo short to normalise is refused. - The snowflake schema allows only
count: 1, which is all the compiler takes.
- Package:
pixelbolt/crystalis a package export, aspixelbolt/waveandpixelbolt/bodiesare.pixelbolt shareshares crystal and bodies sources as the ordinary grids they compile to, as it does waves.
Tails that follow through
- Motion templates move
rig.tailwith the body instead of one fixed sway. Each tail instance hangs from its attach point on a damped spring that holds its rest angle against gravity, and the attach point's own motion swings it: the starts and stops of the body, gravity as the body leans or turns, and the air the figure moves through. A link on another tail link hangs from that link's moving end, so it lags the one before it. - In a walk or run the tail trails behind the body, further at a higher
speed, and flutters with the bob. In a jump it is pulled down as the body rises, lifts as it falls, drops on landing and settles. An attack flings it back and it whips through past rest; a hurt flicks it with the recoil. An idle sways it gently from the root, and the links beyond follow. The hero's scarf and the fox's three-link tail do all of this; a chain bends as one curved piece rather than cracking like a whip, and a link swings at most about 50° from rest on the figure before its spring stiffens. - Loops are run round until they repeat, so the first frame follows the last; one-shots start from the rest pose. Each drawing shows the tail halfway through the time it is shown, so a held strike shows its swing. The units are the figure's own, so a rig drawn twice as large moves the same and a long cape swings slower than a short scarf. A tail never swings into the figure: where it would lie on the body more than at rest, it eases back toward its rest angles, judged by the pose's own pixels.
- An idle's sway starts with the loop unless the tail's step across the loop's seam would then be its largest; then the sway is timed so the seam passes the motion review's loop check while the tail still moves at every step.
- Every template takes
follow(0–2, default 1): how far the tail swings. 0 holds it as drawn; 2 swings it twice as far. It needsrig.tail. - Every motion of the hero, the sword hero, the fox and the figure fixtures still passes the motion review. A figure's size is the longer side of its rest drawing, the tail left out, so a long low animal is as large as a tall one. Expanding the hero rig takes about 4 ms longer.
Four-legged creatures
- The motion templates animate four-legged side-view animals. A rig names its front legs in
rig.foreand its back legs inrig.hind(each the near chain, then the far one) instead oflegs, with an optionalrig.chest, a bone on the body mass that the fore legs hang from, andrig.neck, a bone the head hangs from. A fore leg's solved joint folds forward as its foot lifts (the wrist) and back under weight (the elbow); a hind leg's folds back (the hock). - Gaits that plant all four feet without sliding:
walkis a lateral sequence (near hind, near fore, far hind, far fore) with three feet down; the newtrottemplate moves diagonal pairs;runis a rotary gallop with an extended and a gathered flight, its spine curling and stretching byflexdegrees (default 10) while the body rocks onto its hind and then its fore feet and the neck turns back to steady the head. Key poses are named for the foot that lands (contact-a,fore-a, …extended,gathered). - Idle, jump and hurt fit the body plan: the jump crouches with its back curled, rears up as the hind feet push off with the fore feet already reaching, tucks all four legs and lands front-down; hurt flinches back with the back curled instead of tipping over.
trot,flex,chestandneckare refused on a biped, andattackon a rig without arms says so. - The motion review measures all four feet (contacts, slide, ground, and each leg against its partner at the loop seam), reports the biped gait checks as
nullon four legs rather than passing them, and its arcs trace the four feet and ring only the foot that lands. - A new example,
examples/fox.poses.json(brief:examples/fox.brief.md): a red fox that idles, walks, trots, gallops, jumps and flinches, also a preset (fox). Its body joins withsocketcaps, so the fur has no lines through it. Biped figures are unchanged, pixel for pixel.
Draft views for small parts
pixelbolt compile source.poses.json --draft-views boot:30,330,hand:45(MCP:pixel_compilewithdraftViews: {"boot": [30, 330]}) drafts grid parts turned to those angles and prints each asrows,anchorandpointsto correct and paste intoparts.<name>.views.--preview drafts.png(and the MCP reply's image) shows each draft beside the flat drawing, the turn the compiler draws today without a view, and any view already drawn there, with the anchor and named points marked. Nothing is compiled and the source is never written: a draft is drawn only after you paste it. Until now every view was drawn from nothing, and turning a 6 × 3 boot left holes and smears.- Drafts follow pixel-art rules (
draftTurninsrc/craft.js). Quarter turns are exact. A long or thin part slides whole columns along the nearest clean slope (1:6 to 1:1), so straight runs become even staircases and every pixel keeps its colour; repeated columns are dropped to keep its length along the slope, a cross piece such as a guard tilts with it, gaps close in the outline colour and outline pixels left sticking out go. A compact part keeps its area and its outline ring, and a pixel none of its neighbours share (an eye) is drawn once. Only the part's own palette keys are used, and the anchor and points move with the pixels under them. - The hero's hand-drawn boot views keyed 30 and 330 are exactly the drafts at 15 and 345, and the drafts at 30 and 330 are those drawings one repeated column shorter. Its hands keep their round shape, where the compiler's turn breaks them.
test/goldens/drafts.jsonpins the drafts of the hero's and the courier's parts every 15°. pictureSheetinsrc/core.jslays small palette pictures side by side with labels in the built-in font, aligned on their anchors.- The sheet is drawn only for
--preview(and the MCP image), and one too large to draw, such as for a part anchored far from its pixels, never stops the drafts: they come back withpreview(CLI) orsheet(MCP) saying why there is no image. An unfinished authored view at a drafted angle is named, with its path, in that draft's note and left off the sheet.
For contributors: one goldens command and related tests
- Every pinned output hash outside the frozen pre-M0 baseline now lives in
test/goldens/<set>.json, one set per test file (fluid, bodies, crystal, shapes, fx, spell library, idle squash, figures, terrain and wave), and each case is still defined in its test, checked with thegoldens()helper fromscripts/goldens.mjs. A test that stops reaching a pinned case fails instead of passing with less to compare. npm run goldens(node scripts/goldens.mjs [set | set/case ...]) runs only the golden tests, lists every case whose output changed and draws its frames before (the last commit, or--base <ref>) and after, side by side with the changed pixels marked, underoutput/goldens/.--writethen updates the hashes, for a whole set or one case. It replaces hand-editing hashes in several test files after a full test run, andscripts/check-figure-goldens.mjs --snapshot.npm run test:related -- src/motions.jsruns only the test files that import a file, directly or through other modules, from a static import graph; with no files it takes those changed since the last commit.npm teststill runs everything before a push.
Seeing motion and parts
- The motion review (
view: "motion",pixelbolt inspect --motion) draws the arcs under its playback cells: one cycle's path of each foot and hand and the top of the head over the first pose, magnified, near limbs solid and far ones dashed, ringed where each foot lands (that foot, its hand and the head), with a key in the image andarcsin the reply. Arms a quarter cycle late, a crouch into each contact and a marched knee, which the gait checks report as numbers, show in this one picture: a hand ringed mid-arc, a head ringed at the bottom of a long path, one foot's loop rising above its partner's. Without a rig each marker is traced; the panel is dropped, with the reason, before the image passes 4,194,304 pixels. - A parts view (
view: "parts",--view parts) paints every pixel one flat colour for the layer that drew it last, with a legend of names beside the cells andparts(name, colour, pixels) in the reply;gridreads part keys back. A compiled pose names its layers after its parts, so a stray pixel or a tangle where limbs cross names its part without bisecting layers by hand. The renderer records owners only when asked (renderProject(recipe, { owners: true })); a pose's inner lines stay their part's, and the recipe format is unchanged. The studio's review menu has Parts too: the current frame in the same colours aspixelbolt inspect --view parts --animation <name>, with the legend and that call beside the artboard. pixelboltstops quietly with exit code 0 when the reader of its output goes away (compile --preset hero --expand | head -1crashed with an unhandled EPIPE).
Crystal growth
- A new source format,
pixelforge-crystal(src/crystal.js,crystal.schema.json,pixel_helptopiccrystal), compiled bypixel_compileandpixelbolt compileinto ordinary palette grids. Crystal growth used to be only the fluid's frost fingers; now crystals grow from seeds into clusters and come to rest. - Faceted habits:
prism(a six-sided prism with a pointed, flat or doubly terminated end: quartz, amethyst, ice spikes),cube(drawn by default as a clean 2:1 isometric cube) andoctahedron. Each is a small solid turned byangle(snapped to clean pixel slopes),tiltandturn, and each face it shows takes one band of its look by how squarely it faces the effect'slight, with an outline round each crystal.countgrows a seeded cluster along a line of points (a ledge, the inside of a geode), with ranges drawn per crystal,towarda point andspread. - Snowflakes: six arms from a hexagonal seed, side branches sprouting behind each tip and growing toward the next arm, each kept to its arm's wedge and stopping a pixel short of anything else, with
twigsand a ribbedplate; mirrored across both axes, so the arms match. - One-shot with clear beats: a crystal starts as one bright seed pixel, grows over
growframes on an easing, glints up its lit edge once grown, and holds still; a compile warns while anything still grows on the last frame. The metadata gives the frame each effect settles. - Presets
geode,quartz-cluster,pyriteandsnowflakes(scripts/crystal-presets.mjs,examples/*.crystal.json) with their GIFs inshowcase/crystals/(node showcase/crystals/build.mjs --check).
Breaking bodies
- A free body with
breaks: { at, pieces, speed }breaks when it is knocked hard enough: when something meets it atatpixels a frame or more, shared with what hits it by how easily each side gives there, so a box landing on a corner breaks as one landing flat does and a pebble barely knocks a heavy vase. It breaks into up topiecesconvex pieces cut through its shape about where it was hit (a Voronoi fracture, smaller pieces near the hit), each a body of its own with the body's material, moving as its part moved and flung apart atspeed. Each piece carries its part of the body's picture, so a crate breaks into pieces of crate and between them they hold every pixel of it; slivers too small to read are merged into their neighbours, and pieces never break again. - The knock is read from the speed two bodies meet at, not from the pushes the solve passes along, so a ball that breaks the first crate in a row breaks the next ones only as the pieces hit them (measured by the pushes, the whole row broke in one frame).
- A
breakpower for pickups, events and strikes breaks a body on cue intocountpieces; an event may break a fixed body, whose pieces fall, and a strike ofbreakwith acutmakes a blade that breaks what it passes through. The metadata lists each body that broke underbroken, andcopiesno longer counts pieces. Bodies in a fluid don't break yet, and say so. - The crate-smash preset: a heavy iron ball thrown through a pane of glass into a pyramid of crates; the glass shatters and the crates burst into planks.
Walks and runs that read, and a new hero
- The motion review checks the gait, where the rig's legs trade places (a walk or a run):
armSwing(the hands' cycle within 45° of exactly opposite the feet's),contactLegs(each two-bone knee at most 30° more bent than at rest wherever both feet are down) andkneeLift(in a walk, a lifted thigh at most 45° from rest). The old hero's walk passed slide, ground, spread and seam; it fails all three. The measurements are in the review'sgait. - Walk and run arms follow the legs' own cycle, computed from where the feet are aimed, so a run's arms are furthest out through flight, where its legs are held apart, instead of a fixed cosine that lagged them by 30–60°.
- Walk and run templates: arms swing against the legs, the arm on the leading leg's side furthest back at each contact (they were a quarter cycle late, so an arm stuck out forward mid-step), and an elbow bends as its arm comes forward; a run keeps the elbows bent. The planted foot's travel is centred under the hip. The body rides its legs: each pose sinks only as far as its planted feet need, so the legs are nearly straight at contact, and
bobis the dip just after each contact (and a run's rise through flight). The lifted foot leaves behind the hip, rises with the heel up, passes under the hip and reaches forward to land. Past twelve frames, a walk's up pose sits opposite down around passing. - The jump tucks: in the air each foot is aimed from the hip, a share of the leg's length at rest, so the legs push off long, tuck up under the body at the apex with the knees forward and reach down to land (they used to hang straight from take-off to fall). The body leans into the crouch and the landing, and the arms swing back in the crouch, forward through the take-off and down ahead of the landing.
- Feet roll when they are drawn to: a grid foot on a leg's end with
viewsshows its toe-up view as the heel lands and its toe-down view as it leaves the ground (and at a jump's take-off and rise), held up so it never dips below the sole. Planted feet keep their heels down and feet without views stay flat. The hero's boots have both views. - A hand that would show while all of its arm is hidden, as a far hand did when its arm swung forward behind the chest, gets more elbow bend (or, failing that, less swing), judged from the pose's own pixels, in walks, runs and jumps.
- The attack template's
windupandstrikeare angles in the body's frame, so an arm that hangs from another part (a chest standing on the hips) swings the same way. Rigs whose arms hang from the body are unchanged. - A posed figure keeps one outline round its silhouette: where a bone or mass outline falls inside the figure (an arm across the chest, the near leg over the far one), it takes the ramp step below the part's base colour.
"innerLines": "outline"keeps the old black lines. examples/hero.poses.jsonis a new character drawn from a brief (examples/hero.brief.md): a courier in a teal jacket with a red scarf the templates sway, grid hands and chunky boots on a jacket bone over a small mass at the hips. Its parts have new names (hipsandchestinstead oftorso), its ankles stand onrig.ground33 so the soles cover the shins' ends (the old hero had a stray pixel under each foot), and its jump rises 3 pixels a step to stay on the canvas.hero-swordandhero-magicfollow it.
Smaller frictions for agents
- The presets listing (
pixel_helptopicpresets,pixelbolt presets,pixelbolt help presets) is a line per preset, keyed by its name: kind, size, frames (and in how many animations), loop or one-shot, colours and what it is for. 72 presets were 21 KB, read on every effect request; they are now 9 KB.full: true(--full) gives the listing as before, with each preset's file and every animation's frames. What a lab preset is for no longer repeats its loop or one-shot. - A prop held in a hand turns with it only with a relative
angle; the art workflow said an absoluterotatekept "a held item in the hand", so a sword stayed upright through a whole attack. Therotateparagraph, the skill's Characters section and the quick start now say so, andexamples/hero-sword.poses.jsonis the hero holding a sword atangle: -45on the near forearm's end, with idle, walk and attack. A rig holding a grid part lists it in the presets listing ("with sword in hand"). - An expanded poses source cut down to fewer animations compiles: a
motionInfoentry whose animation is gone is skipped with a warning that names it, instead of stopping the compile withposes.motionInfo.idle: unknown or null field. A key pose that is no longer in its animation is an error that names the pose.
Rigid bodies: heavy loads and touching pictures
- A heavy body resting on much lighter ones no longer sinks into them. A body resting on top of one more than ten times lighter is solved as if it weighed ten times the lighter, so a plank 50 times as dense as the balls under it settles at once (it sank in, bounced out and hopped 6 pixels for ever), a box 100 times as dense as the box under it stays on top (it slid off), and a table holds a load 2,000 times as dense as its legs. Hits and shoves keep the true weights: a heavy ball thrown into a pile of light ones ploughs exactly as far as before.
- Bodies that touch are drawn side by side. A pixel two bodies' pictures both claim (a small ball's square picture reaches past its round shape) is drawn for the body whose shape covers it more deeply, not for whichever is drawn last, so in a pile of balls of different colours no ball is drawn over its neighbour's place: a radius-1.5 pile drew 2,738 pixels inside the wrong ball over 120 frames and now draws 24. Ring escape, spinning hoop and blade bloom change by a pixel here and there; their motion is the same.
Blade bloom: strikes, cuts, pivots, smears and crowds
strikesgive a power to whatever a named body pushes, at the end of the frame, each body at most once everyrestframes: a strike ofsplitby a turning blade multiplies every ball it touches. Withcut(pixels a frame) the body cuts instead of pushing: it passes through the free bodies it touches and what it strikes leaves the way behind it at that speed, a split's pieces fanned about it, so a blade cutting through a pile leaves its newest pieces in its wake instead of sweeping them along ahead of it. A sleeping body that is cut wakes, and a cutter is drawn over what it passes through.- An effect's
mostlets splits grow it to 4,096 bodies (default 256); the work estimate charges the crowd they can make, and the metadata countsstrikesandcopies. Pairs come from a grid of 4-pixel cells, the same pairs in the same order as before, 1.3 to 1.9 times faster on piles of 800 to 1,600 balls. - A
vanishpower takes a body away; an event may take a fixed one, so a ring bursts and what rested in it wakes and falls out. - A fixed body turns about its own
pivot(a blade about its hilt), its faces moving with the turn, so the tip pushes as hard as it moves.smeardraws a body's shape swept over its last frames, under the bodies, in bands: a sword's swish. fillEverysteps a fill list with time instead of at each hit; a body that splits takes the frame's fill with its copies, so each generation of a crowd has its own colour.- The blade-bloom preset: a sword turning in a ring cuts one ball into three, and every piece it touches after, until 900 fill the ring and each turn washes a new colour round behind the blade; then the ring vanishes and they burst out.
Rigid bodies: a glitch audit
- Drawing: a body steps on at halfway the way it last moved and holds only against stepping back, so one moving about a pixel a frame steps evenly (it drew 0, 2, 0, 2) while one that rocks still holds still, at whole and fine pixels, place and angle. A thin hoop no longer misses a pixel at each diagonal, small hoops no longer tremble, a small box turned a quarter keeps its shape, a turned picture sits on its body's middle, and no trail shows beside a resting ball or across a warp.
- Physics: a contact's two points bounce together, so a box dropped flat lands flat; a moving fixed body wakes any sleeper it touches, and woken bodies meet what they touch that substep; a tireless body's energy counts its spin (tireless boxes climbed out of the canvas); a polygon past a segment's end is not inside it; faces end where the obstacle's material changes; an impact needs more than a substep of gravity, so a body resting with one substep sleeps.
- Territory: a warped team ball takes the cells it lands on, and a cell its own team's ball is inside never changes hands (a ball flew through solid ground); coincident circles part along the way they move apart, so split fans come out in order; a held-speed ball bounces at any approach instead of sliding along a wall; the speed power stays within the speed limit.
- Bodies in a fluid: buoyancy follows a body through its substeps and the liquid round a body moves with the grid, so a light plank on still water settles instead of rocking; moving obstacles wake and carry the bodies on them; a body in a gas has added mass, so a light crate no longer swings at the speed limit.
Korean and Spanish READMEs
README.ko.md(한국어) andREADME.es.md(Español) summarize the English README like the Chinese and Japanese ones: what Pixelbolt is for, trying it, the skill, plugin, Claude Desktop and MCP setups, the eight tools, a tiny animation, fluids and rigid bodies, and the export bundle. Every README's language line links all five, llms.txt lists them, and the npm package ships them.
The rest of the review of 0.12.0
- A loop with bodies closes as the warm-up runs into frame 0. Its closing frames draw the liquid round the bodies where they are drawn (blended back to the warm-up's places), with the warm-up's wakes, and blend each cell's fields only where it is open both now and then, so no body leaves a hole of its shape; the last frame is then exactly the warm-up's last. Drawn round the duck and crate where the cycle left them, the water wheel's liquid changed 82 cells at the seam against at most 56 in a step, and now 31, the warm-up's own step into frame 0. The water wheel's recipe and GIF are regenerated; loops without bodies compile exactly as before.
- A looping spell whose looks hold paints its cycle once. Painting it notes each look's bands, the holds are settled round the loop, and the frames are drawn from those notes, where it used to paint the cycle a second time to draw it: the output is byte for byte the same, it takes the drawing's budget once (the reading no longer needs one of its own), and it compiles about as fast as without a hold (the fireball 111 ms to 66 ms, the shadow spells 226 to 162, the water spells 137 to 99). The budget message no longer mentions
hold: 0.compileEffects(source, { stats: true })addswork.painted, the pixels its shape layers' painting visited. - A loop reports its bodies over its cycle:
hitsare the cycle's (counted from the start, they grew with the warm-up),escapedlists the bodies that leave in it at their frame of the loop, and a named body's path has a place for every frame, null once it has left (it stopped growing, so a body gone in the warm-up had an empty path). A body that leaves the canvas in the warm-up, which the loop never shows, or in the cycle, which brings it back at frame 0, is warned about. IncompileBodiestoo, a body that leaves keeps a null in its path for every later frame. - The bodies work estimate counts the obstacle faces each moving body is tested against (as many as the densest patch its size holds: a checkerboard has a face on every pixel edge, and a territory's cells up to two a cell) and, every frame, the pixels its drawing visits (each body's reach drawn finer with
subpixels, its trail and the fine canvas). Eight boxes kept moving over a checkerboard counted 2.7 million updates and ran for 10 seconds, and are now refused before simulating at 464 million; an 18,000-frame match of 256 boxes drawn 8 times finer counted 958 million of the 4,000 million allowed and ran for about an hour, and is refused at 76,751 million. Measured against time, the presets and these cases run at 18 to 85 ms a million (bodies that fall asleep, less), so a compile within the budget takes about half a minute at most and a match a few minutes. The message names the faces andsubpixelsamong what to lower. pixelbolt sequencewrites a bodies match a frame at a time, simulating, drawing and writing each frame before the next and holding only the one a repeated video frame shows, so a long match is no longer capped by memory: 2,200 frames at 1080×1920, refused before, write in 85 seconds at a peak of 255 MB, and 6,000 frames at about 300 MB (2,000 frames made whole first took 306 MB). Its files are byte for byte what MCP writes. MCP still makes a sequence whole, within its size and time limits, and its refusal names the command. An export that fails part-way removes the files it had written, unless--forcereplaced earlier ones.
Studio labels
- The studio's examples list counts each example's frames from its render, so the particle-effects example reads 60 frames (it said 57 since it gained three) and a changed example can't leave its count stale.
- Save JSON names a pose source
<name>.poses.json, as the file name above the editor, the CLI andexamples/do; it saved as<name>.pixel.json. The Frames dialog's command names the file Save JSON gives, so it reads a saved pose or wave source too (it always said<name>.pixel.json). - The motion review names the gait checks (Arm swing, Knees at contact, Knee lift) with their measure, where it showed
armSwing: pass (undefined).
Faster contact sheets and patch previews
- Contact sheets (inspect, render and patch replies) and the patch preview's before/after image are drawn without a new view of the frame for every pixel, and a revision comparison counts its colour changes by number instead of by string. A patch preview that recolours a 2560 × 1440 still now takes about 0.3 s instead of 1.0 s, a dithered 1920 × 1080 still 0.18 s instead of 0.55 s, and the compiled waterfall's contact sheet 5 ms instead of 43 ms (
npm run bench -- --compare, interleaved). Every report, sheet and export is byte for byte the same.
0.12.1 (2026-11-06)
Fixes from a review of 0.12.0
- A crowd of bodies that seals a liquid into one-cell pockets no longer crashes
compileFluid(the pressure solve stops on a direction it hardly bends, and a body is never handed a velocity that isn't a number). - A moving hoop no longer fills memory: rings are kept about their centre, and the bodies' drawing caches are bounded.
- A long match is refused before it is simulated when it won't fit: a sequence holds 4,294,967,296 pixels of different frames (about 2,070 frames at 1080×1920), and over MCP about what a call draws in its time limit, naming the
pixelbolt sequencecommand, which has none. Replies ofsequence(MCP and CLI) carry a summary of the match's figures; every frame's figures stay insequence.json. - Sources the renderer would refuse are refused before simulating: frames whose pixels pass the 4,194,304 a recipe holds at whole pixels too, and a heads-up display that wouldn't fit when drawn finer. A warp or magnet
tois checked against the height on the y axis, so a tall board warps into its lower half. Thesubpixelserror names a value that fits both limits. - A looping spell whose looks hold reads its cycle on a budget of its own: charged to the drawing's, it had half the room, and a loop that compiled before the hold could be refused. The budget message names
hold: 0, which paints the cycle once. - The live fluid runner draws its bodies with every step, so a page that renders every frame and one that renders once see the same pixels.
- With worker threads, a presets listing past its budget still measures the first preset, so every listing adds to the cache on a busy machine.
- The territory preset's frames last 34 ms, a whole video frame at 30 frames a second, so a sequence of it skips none;
bodies.schema.jsonmatches the runtime for pickup, heads-up and team fields;bodiesis in the help topic lists.
Fixes
- A CLI command that writes several files (
compile,autotileandimportwith--metadataor--preview,patchwith--image,inspect's extra sheets) refuses two outputs that are one file on disk under different names (a hard link, a symbolic link, a short name), even with--force, and writes nothing. Before,compile --forcewrote the recipe and then its metadata into that one file and repliedok.
0.12.0 (2026-11-05)
Steadier spells and waves
- Shape looks hold their bands from frame to frame (
hold, a share of the gap between thresholds, default 0.3). A pixel enters a new band as soon as the field crosses into it, but goes back to the band it just left only once the field has passed the threshold by that margin, so rippling beams, boiling bursts, noisy rings and lit rims no longer flip pixels back and forth every frame. A still field, and one that only rises or only falls, draws exactly as before; lit and shade bands hold too; and a loop's bands are settled round its seam, so every loop still closes exactly. Counting pixels drawn in the same colour a frame before and after but changed in between, the shipped effects flip over a third fewer: the fire projectile 7.8% of its pixels a frame to 2.7%, the fireball 7.2% to 3.0%, the lightning area 10.6% to 2.5%.hold: 0draws each frame on its own. - Wave looks hold the same way (
look.hold), so the interference and portal loops have no flipping pixels left (0.7% and 0.1% before);hold: 0keeps each frame a function of its time alone. dissolvelays its pattern where a particle stands as it starts to dissolve and moves it with the particle, so a rising ember fades out once instead of blinking as it crosses a pattern fixed to the canvas, while particles that stay put still thin out in step. Tidewatch'sfxrecipe and atlas are recompiled for it (only the poof changes).- The lightning buff's ground ring crackles with boiling noise instead of strobing between two rings every other frame (26.7% of its pixels flipping a frame to 4.6%), and the water buff's swirl drifts round its ring in swelling drops instead of jumping a lump's width a frame (14.2% to 3.7%).
test/fx-steady.test.jsholds these bounds.
Rigid bodies
- A new source format,
pixelforge-bodies(src/bodies.js,bodies.schema.json,pixel_helptopicbodies), simulates rigid bodies and bakes them into palette grids: circles (radius 0.5 is one pixel), boxes, convex polygons and fixed hoops with a gap, with gravity, walls and pixel obstacles. Bodies bounce (bounce), slide (friction), roll, stack, shove each other bydensity, and come to rest: a slow body falls asleep and holds exactly still, and a knock wakes it and every sleeping body resting against it. Sequential impulses in substeps with speculative contacts, so a pixel thrown at the speed limit never passes a one-pixel wall; pixel obstacles are traced into straight runs of edges, so a box slides along a floor of several symbols without catching on the seams. fixedbodies withvelocityorspinmove exactly so and push what they meet;weightlessbodies float;asleepbodies hold still, even in the air, until hit;tirelessis an open cheat that gives a ball back the energy each hit cost. Afilllist changes colour at each hit,traildraws where a body was,symboldraws a sprite turned with it, andringandgridlay out copies. A box, polygon or symbol is drawn turned to the whole degree (blocks under 6 pixels stay square), or with the source'ssubpixelssmoothly, finer than the world's pixels.- The metadata reports hits, the bodies that left the canvas and when, the frame from which everything rests, and the paths of named bodies.
- Bodies share a liquid: a
pixelforge-fluidliquid effect takesbodies(physics model, section 13). Each is a moving solid in the solid layer that shoves the liquid aside, so it splashes into water and stirs sand. Water floats it by its density (buoyancy from its exact shape below the level beside it, so the lift grows smoothly), and drags it toward its flow, more the faster they part, sampled a cell past the one it touches so a body never pumps itself on its own wake; half the submerged liquid joins its mass. Sand at rest holds bodies up as ground and grips them, and sand that slides carries them. Presets crate splash and sand slide. - Bodies go wherever a fluid does (physics model, section 13). A turning body stirs what it turns in: each of its cells moves at its velocity plus its turning, and a cell it leaves refills from the liquid beside it, so a spinning paddle drives a pool round with no hole of air behind it. What rests on a body weighs on it: the liquid or sand in the column over each upper face presses there, so sand poured on one end of a plank tips it. Resting sand is soft ground, stopping a body sinking without ever throwing it out. In a gas a body is pushed by the gas's pressure and dragged by its flow, so a blast throws crates, and
gravity(which a gas takes only with bodies) pulls it. Withheata body keeps atemperature, so a red-hot stone boils the water it lands in. In a loop the bodies run through the warm-up and the closing frames blend them back to where the cycle starts, with a warning for a fixed body whose spin doesn't come round. The live runner steps them, a push moves them, andbodiesreports where each is. Presets water wheel, hot stone and plank tip. - Turned bodies keep their shape:
turnRowsinsrc/craft.jsturns a box, polygon or symbol to the whole degree as a pixel artist turns a sprite. Its sides are turned to whole pixel steps, so they stay straight and even with opposite sides alike; a corner that would end in a lone pixel takes the pixel beside it; and each pixel copies one from the same ring of the picture (edge, the ring inside, further in), so an outline and a crate's frame stay closed lines, with the inside sampled through Scale2x so a thin line inside stays joined. Resampled exactly, a turned box grew a nub at each corner and bent sides; ranked by coverage it rounded into a blob. A test holds every whole degree for boxes from 6 to 24 pixels, planks, a stone and a crate: one piece, no pixel hanging by one side, no notches, opposite sides alike, about its size and centred, outline closed, and a degree's turn changing only about one ring of pixels. subpixels(2–8) on a bodies or fluid source draws the bodies that many times finer than the world's pixels: each body is its own picture, each of its pixels a square turned exactly with the body and placed to a fraction of a pixel, so a tumbling crate or a falling stone turns and moves smoothly and never changes shape, which no drawing at whole pixels manages for a small box. The obstacles, background and liquid are drawn in blocks that size, and the canvas grows by the factor within the recipe limits (256 a side, 4,194,304 pixels over the frames), which the error states. The body presets use it: crate splash, sand slide and plank tip 3, water wheel and hot stone 4, crate topple 2 (now 190 frames).- A small pocket a body leaves in the deep, sealed off by the liquid and the bodies, is drawn as liquid while the liquid closes it: drawn empty it started a fresh surface, a pale block in the deep under a turning paddle. Pockets that touch no body (a bottle's air) are drawn as before, and every preset without bodies is unchanged. The water wheel also drops its speed look, whose noise dither speckled the stirred water from frame to frame.
- Territory, power-ups and long matches (physics model, section 13a;
src/territory.js). An effect'sterritoryis a grid of cells owned by teams: a body'steampasses its own team's cells, meets the others' as walls and claims every one it hits, and the metadata counts each team's cells every frame.speedholds a body's speed along its heading (an open cheat, liketireless).pickups(taken by the first body to reach one) andevents(given to a named body at a frame) grantsplit,grow,speed,warpandmagnet. With a territory,huddraws the score over the board each frame: texts with{team},{team%},{leader},{news}and{frame}, and share bars. A match longer than a recipe's 256 frames (up to 18000) goes straight to numbered video frames, never a recipe:pixelbolt sequencetakes a bodies source, and MCPpixel_compiletakessequence. Preset territory: tide against ember. - Drawing holds still: a body keeps its pixel until it has moved clearly past halfway to the next (and its drawn angle likewise), so one rocking about a boundary holds still instead of flickering, and a round hoop is one fixed ring whose gap turns, where its turning walls redrawn every frame trembled. Drawn finer (
subpixels), a body keeps its fine pixel and its angle the same way, and its place is snapped so the picture's pixel edges fall between the fine pixels' centres: sampled on them, a crate resting a hundredth of a degree off square was drawn sheared (half of each side a fine pixel out), and a crate rocking on the water shimmered. A spinning body still turns evenly, drawn at its own angle every frame. In a liquid, a body's cells under the surface show the liquid wherever its drawing leaves them uncovered: drawn empty, they were holes under the floating ball that came and went as it bobbed, and 80 to 300 empty fine pixels round the water wheel's paddles in every frame. A surface the bodies stir is drawn without its narrow dents (a pixel deep and up to three across, filled from the bottom up so a V-shaped notch flattens into the trough around it): the ripples the water wheel's paddle sends up opened notches over it in 10 of its 40 frames, and now none; sand and a liquid with heat keep their rough surfaces. Measured over the presets, a body at rest now changes no pixel (the crate topple's crates changed 9.5 while still, the plank tip's plank flickered after it landed), crate splash's bodies stop changing at frame 77 instead of 101, and its shimmer while still drops from 43 pixels to 2. The physics is unchanged. - Presets with GIFs (
showcase/bodies/build.mjs): ring escape (a ball knocks a ring of blocks loose until it escapes), bouncing pixel, spinning hoop and crate topple.
Steadier fluids
- Fluid looks hold their bands. Each pixel remembers the band it was drawn in on the frame before and keeps it until its field has clearly left it, so a field hovering at a threshold no longer flips pixels every frame: a fire's white core and dithered fringe, smoke and fog fringes, light and shade along a honey rope, a liquid's surface and the depth bands under it. A pixel settled inside its band changes once its field has stayed across a threshold for two frames, or at once when it is clearly past (a quarter of the band's width); one that has just changed goes back only once its field is clearly past again. Steady rises and fades are drawn at most a frame late, smoke thinned below its lowest threshold goes at once (a one-shot still ends empty), and the motion is as lively as before. Over the 28 presets without bodies or arcs, pixels in the fluid that change and change straight back fell by about half (167 to 79 a frame in all): campfire 19.7 to 8.2 pixels a frame, dry ice 17.2 to 8.5, waterfall 14.2 to 4.9, magic swirl 11.8 to 5.1, explosion 8.5 to 2.3, torch 8.3 to 2.8, hourglass 8.3 to 1.6, honey 6.9 to 2.6, glug 5.7 to 1.1. The electric presets' strobing is their pulsed supply and stays.
- A loop draws its warm-up too, unseen, so the memory runs into frame 0 as it runs through the cycle, and over the closing frames each pixel hands its memory back to the warm-up's, so the seam is as seamless as before. A live runner draws every step once, so its frames still match
compileFluid's, however the steps are batched;render()reads that frame. - Sparks, whitewater and bubbles keep their drawn pixel the same way, so one swaying at a pixel's edge no longer steps back and forth, and a held one is never drawn over an obstacle or ice it has slid past.
- Every fluid preset's pixels change (GOLDEN, the live hashes, the fluid blast example and the fluid GIFs are regenerated); a test bounds the flicker of campfire, torch and honey and checks they still move.
Added
- MCP Apps previews: a self-contained inline pixel art player for compatible hosts, with frame stepping, speed, animation and background controls, render delivery details and optional playground links. Preview data stays in result metadata; clients without the negotiated extension are unchanged.
Sand and other grains
- A liquid's
granularmakes it sand, salt, sugar, gravel or dry snow: friction that grows with pressure in place of thickness and elasticity (Drucker–Prager after Zhu and Bridson, simplified; see the physics model, section 10a). A heap holds a slope up to its angle of repose at any height, where a yield stress holds one only up to a height:repose(degrees, 5–45, default 33) is that angle, and a settled bed whose gravity is tilted keeps it to within two degrees from 15 to 45. A face steeper than its repose avalanches down to it, a column slumps into a ramp at it, and a heap comes to a dead stop: grains that hold move as rigid pieces, at rest on what they press on, and a grain that barely moves on them sleeps. - Grains land dead: the fall the pressure solve stops costs the motion across gravity Coulomb friction, and whatever a landing adds beyond the grain's weight is lost, so a stream builds a heap under itself where water splashes out flat (under the same stream, sand stands 7 pixels high over 16 where water spreads 5 high over 33).
cohesion(0–8) makes grains damp: they hold as dry ones do that many pixels down, so damp sand stands steeper and keeps a sharper top. Grains take noyield,heatorair(each refused with the reason), andtensiondefaults to 0 for them. Every other liquid compiles exactly as before.- Three presets with GIFs: hourglass (sand drains through the neck, the top caving into a crater as a heap builds below), sand gate (a board lifts and a bin of sand slumps into a ramp and stops) and sand plough (a blade pushes a layer of sand into a heap that spills over it). The Fluid lab lists them, with Steepest slope (repose) and Damp (cohesion) sliders for grains in place of Thickness and Firmness.
Smoother for agents: fixes from hands-on trials
Agents made a chest, a potion, a knight, a torch, poison spells and a farm tileset with scenes from the docs alone, and logged where Pixelbolt slowed them down. These are the quick fixes.
expect.framestakes a count per animation,{"idle": 4, "walk": 8}, where a name the recipe lacks is a mismatch. One count still applies to every animation, but a one-frame animation beside longer ones (a standing pose, a prop) is left out, with a note. When no animation plays the count but the animations' frames add up to it (the sheet's frames in all), the check gives one problem that says so and offers the per-animation form, instead of telling every animation to repeat names until it plays the total. A fix for too few frames asks for the missing poses and offers a repeated name only as a hold. When GIFs are a whole number of times the asked size, their fix also offers thatgifScale(MCPpixel_renderandpixelbolt render).- An unknown field or operation names the one most likely meant and lists what is accepted:
widthon arectsaysdid you mean "w"?,circlesays"ellipse", and one-letter typos (elipse,durration) and other cases (Rect) are caught. A required number that is absent is called missing. - A
pixelforge-fxsource reports every broken layer and emitter at once (up to ten, inerrors), as recipes do, instead of one per compile. A child of a broken emitter gets no knock-on error. pixelbolt compileandautotilealways listwarnings, empty when there are none, and the hint says what the unsaved metadata is.render,sceneandsequencerefuse an--outnamed like a file (scene.png), which used to make a folder of that name, and say what to use instead (--image, orpixelbolt gif).pixelbolt help <topic> [section]prints what MCPpixel_helpreturns: the quick start, a guide or one of its sections (pixelbolt help workflow "Particle effects"), a schema, the example or the presets. The skill tells shell agents to read the long guides a section at a time; the workflow passes 160 KB. The topics and sections live insrc/help.js, shared with MCP.- In the scene schema, a placement's
repeatandstepand a tilemap'stiledescribe what they are (copies, spacing between them, the cell size) instead of a canvas position.
Fixes
- The studio serves
territory.js, so the Fluid and Effects labs load again, and a test follows every module the studio pages import. - A recipe
tilemapwhose legend drawssymbols withautotile: "corner"is refused on an odd cell width or height and on an iso map, as corner templates and a scene's corner frames already were. With no error, an odd cell drew its tiles at half-pixel positions, and an iso map drew them on a grid corner tiles don't support. The agent guide says corner maps need an even, square cell. - MCP
pixel_helpis no longer annotated read-only (readOnlyHintis now false), because itspresetstopic keeps what it measured in the export directory's.presetsfolder once that folder exists. Clients that run read-only tools without asking now ask for it as they do for the other tools. It still never creates the export directory and changes nothing outside its own.presetscache (destructiveHintstays false).
Particles that come to rest
- An effect emitter with a
floororgroundtakesrest: true: a particle that lands stays where it lands, lying on its floor with its slide,sway,spinandplay: "loop"stopped, so snow, leaves, petals and coins settle instead of shimmering sideways on the floor. Withbounce, a particle bounces until a rebound can't lift it (slower than its gravity or half a pixel a frame), then rests; children it lands with still inherit the landing's velocity, and children it trails spawn where it lies. Withoutrestevery effect draws as before.
Faster start-up
- The presets listing (
pixel_helptopicpresets,pixelbolt presets) measures presets in parallel worker threads, up to eight, so a cold listing of the shipped presets takes about a quarter of the time (about 6 s instead of 22 s for 71 presets on a many-core machine) (CI's 4-core runners use three). The listing is byte-identical, each worker keeps the MCP tool worker's memory limit, and a runtime that can't start workers measures them one by one as before. - Every CLI command, MCP tool worker and page that loads the engine starts about 100 ms sooner: the seam check's tables of tile joins are built the first time a seam check runs, not whenever the engine loads (
pixelbolt help229 ms to 127 ms on the PC that measured it). Seam checks report exactly as before.
Docs and skill text
- The README and
llms.txtset up other MCP clients withnpx -y pixelbolt@latest mcp(no clone), add Kimi Code, DeepSeek Harness and OpenCode configurations, and give thenpx skills add skulitom/Pixelboltline for the skill. - The pixel art skill's paragraph for a copy of SKILL.md alone (as
npx skills add skulitom/Pixelboltinstalls it) runs only released code: when the CLI calls a command, option or field unknown, the skill says to check its spelling and where it goes (npx -y pixelbolt@latest helplists the commands and options,schemathe recipe's fields) and to leave out one written where and as the skill or the GitHub docs give it, which is newer than the release, instead of running Pixelbolt from GitHub's main branch withnpx -y github:skulitom/Pixelbolt. It also says to skip the paragraph wherebin/pixelbolt.jsis two directories above the skill (a checkout, the npm package, the Claude Code plugin and Pixelbolt Studio), and says only that copy comes from main. - The desktop bundle's notes (docs/PUBLISHING.md) and the authoring guide say what
saveAswithoverwritereplaces for every file type it writes: a JSON file only if it is a recipe, atlas or sequence, a.tresonly if it is the same kind of Godot resource (SpriteFrames or TileSet), and a.tsxonly if it is a Tiled tileset. Before, they named only the JSON rule.
0.11.0 (2026-11-02)
Fixes from a review before the release
Five reviewers read everything since 0.10.0 (liquids, heat and electricity, tile sets, effects, and what ships); what they confirmed is fixed here.
- A loop's air-pocket bubbles carry on across the seam: a loop simulates on until the
air.bubblesstill rising when its cycle ends have ended, and draws them again from frame 0, as it does other sparks. They used to pop out where the loop repeats, and frame 0 had almost none. - A loop's bubbles that push the water (with
lift, or any bubble when air pockets are on) live through its warm-up, as a boil's do. The dome they raise and the pockets they gather into are there from frame 0, and only those born in the recorded cycle are drawn. Made in the cycle only, the aquarium's dome was missing at frame 0 and the seam's blend lowered the water under bubbles still rising through it, so they hung in the air. A bell's pocket in a loop appeared late in the cycle and was blended away. Bubbles that push nothing loop as before. - Bubbles keep moving through a loop's last warm-up frames instead of waiting there while the water flows on. The boiling pot's steam no longer builds up over the cycle only to be cut back at the seam.
- The aquarium and boiling-pot golden hashes and GIFs are updated on purpose; every other preset keeps its own. The aquarium compiles about a fifth slower.
- Frost stays where it grows under gravity: a finger's cells, which touch only at a corner where it grows at 45 degrees, settle as one piece with the frost and the cold surface they grew from, and a cell whose frost is gone no longer goes on taking frost in mid-air (with the liquid's usual gravity, the frost window's corner fingers broke off, heaped up on the sills and grew again where they had been).
- A smooth obstacle that vanishes on its keys, or leaves the canvas, in a liquid with
heatno longer leaves its outline behind: the water it held falls, as it does without heat. - A pool heated from below by an obstacle hotter than
heat.boil, withvapourbut neithervapour.bubblesnorheat.evaporation, is warned about: water that boils under the surface waits there, since heat moves by temperature, which holds at the boil, so the pool never steams. - Only gas becomes thermal plasma: over a liquid, a plain obstacle hotter than
electric.ionizewas read as plasma inside its own pixels, reported inpeak.ionization, and grew arcs as if it were grounded metal. - Heat settings that would do nothing are refused with the field they need:
heat.condensewithoutvapour, andheat.depositorheat.branchwithoutfrost. An ice look that drawsionizationorcurrentis refused with the right reason (plasma burns in the air, so draw it in the vapour's look). - The work budget counts arc growth: each breakdown pick costs a pass over the canvas, so an electric effect with a high
growthno longer runs several times longer than its estimate. - A Godot TileSet keeps a tile whose animation comes back to its first frame (a hold, or a loop that ends on it). It used to drop the tile altogether while warning that it "became still tiles of its first frame". A frame that starts one animation and appears later in another also stays a tile.
- A forced export (
render --force) over an earlier export of the same recipe removes thename.tileset.tres,name.tsx,name.tres,name.cssandplayer.jsthat the earlier export wrote and this one doesn't, such as aftersheet.trimis added to a tile set. They used to stay beside the new sheet, describing a grid it no longer has. Only files whose text is still what Pixelbolt wrote go, andplayer.jsstays while another export shares the folder. - The seam check compares a variant's terrain with the set's: where their tiles meet, an edge drawn in another place (another depth, jitter, round or seed) is a
Seamwarning, one per pair of templates. It used to trust both terrains and report nothing while the outline stepped at every join. Another fill or outline colour is still not a seam. - A terrain's bands no longer look across the tile border into a neighbouring terrain cell, so its tiles stitch into exactly what the terrain draws. A side shallower than another side's bands, beside a wall with jitter, used to put a stray outline pixel at inner corners. The shipped terrains draw the same pixels.
- A terrain compiles at the smallest tile, 2 pixels: its edges' turns and speckle clumps default to at most the tile. It used to fail on a
sizethe source never gave. - A layered set of four layers with variants of a plain tile is refused at the layer's
variants, since four layers already make the recipe's 256 frames. It used to fail on the generated recipe's frame count. - Layer keys must differ in more than letter case, and a frame template that would make an invalid tile name (a digit key at its start) is refused at
autotile.frame. Both used to fail on a generated frame name. - Tiled files hold any instance name or asset id: tabs and line breaks are written as character references, and characters XML can't hold become U+FFFD. A name with a control character used to make
scene.tmxunreadable in Tiled. - The render check's motion notes no longer misfire on effects: a loop is judged by its whole silhouette and by its largest body, an uneven step or a jump at the loop must redraw half as much again as a usual step, and a tall body's lowest row may wobble a row for every 12 of its height. So sparks, embers and boiling outlines no longer earn lift, uneven or jump notes on loops their compiler keeps seamless (the poison, shadow and fire spell projectiles and buff, the torch), while a single hand-drawn body is judged as before.
- A trail layer spanning a looping effect reads its places round the cycle, so frame 0 smears back through the last frames and a closed path loops with no seam (it used to vanish at frame 0 and the compile warned of a jump).
- Measuring an aura's distance field counts against the shape layers' shared work budget, so an aura on every frame of a long animation, or many auras, are refused with the usual message instead of measuring for minutes in the CLI.
- A spinning particle's symbol is checked up front: its visible width plus height may be at most 360 pixels, so its 45° turns fit a recipe symbol (larger ones used to compile into a recipe the renderer refused, naming
project.symbols.<name>_r315). pixel_help'sguideandworkflowtopics open with their sections and sizes, andnamereturns one section ({ "topic": "workflow", "name": "Fluid effects" }). The workflow passed 165 KB, more than many clients keep of one reply, and its fluid section, where this release's physics is documented, came last.- The presets listing writes its cache only into an export directory that already exists, so
pixel_help, a read-only call, no longer createsoutput/.presetsin a fresh project. - The presets listing's time budget counts only the measuring, not hashing the engine and reading the folder, so on a busy machine a listing still measures its first preset (a test of it failed under a full parallel run).
- The README and
llms.txtdescribe the presets (pixel_helptopicspresetsandpreset,pixel_compile'spreset,pixelbolt presets,compile --preset), this release's fluid physics, and terrain, corner, transition, slope and Tiled tile sets.
The fluid features meet
- Arcs reach water. A liquid with
heatandvapourcan haveelectricsettings and electrodes: arcs burn in the air over it (the vapour's gas, whose flow lifts them), and the field is solved through the water, which conducts, and the ice, which hardly does. Water takes an arc as a grounded edge does (the foot stays where it struck; the water grows no streamers), plasma never enters it, and the current heats it as current² ÷ conductivity, so the water where an arc lands boils into steam with no setting of its own and the matter ledger holds.vapour.lookdrawsionizationandcurrent. Over a liquidelectric.iterationsdefaults to 48, and a supplied electrode's potential is now held between its supplies' (an unconverged solve could drive it past them; no gas preset ever did). - Heat works with keyed and smooth obstacles: a hot spoon lifted from honey carries a warm coat and clings as a cold one does, a heated piston boils the water it pushes into, and the meltwater of an ice cube on a smooth hot slope runs down it. The solid layer follows the obstacles' places and velocities with the ice in it, and the smooth outline is traced again as ice comes and goes.
- Bubbles gathering under a ceiling become an air pocket: two that touch but cannot merge, with eight square pixels of air between them, clear that many cells under the ceiling, the water gives way and rises elsewhere, and the pocket keeps their air while the bubbles that follow join it. A pocket that reaches open air vents: a cup held mouth down keeps its air until its top is opened, then water gulps up inside it.
- A body of liquid sealed in by solids and ice with no air at all keeps its volume: the pressure solve gives up what it cannot answer instead of running off to huge pressures (water caught between ice and a smooth slope).
- A new preset, lightning into a pond: two strokes strike a pond and each boils a puff of steam where it lands.
- Frost grows as fern-like fingers instead of a ragged rim: a finger starts at seeded spots on a cold surface (most often in corners), grows straight at its tip, forks at 45 degrees into shorter branches a pixel apart (
heat.branch, default 0.5) and stops short of other fingers, and frost grows only into air below freezing. The frosted-window preset is regenerated (its golden hash and GIF change on purpose). - The boiling pot loops seamlessly: a loop draws the boil bubbles born in its recorded cycle and simulates on until they end, wrapping them to frame 0 as sparks are, so no bubble pops in or out where the loop repeats (its golden hash and GIF change on purpose; the metadata's
stepscounts the frames actually run). - Mist stays out, written down in the physics model: open cold vapour already sinks and draws as fog, and condensing it into water makes every steam plume rain.
- Cross-feature tests: an arc into water that steams it and keeps the ledger, a heated piston and a smooth hot slope, honey on a heated lifted spoon, bubbles gathering into a pocket under a cup and a pocket venting, and an ice cube floating in a sealed jar with an air pocket while bubbles slide under it. Every other preset keeps its golden hash and GIF.
Phase changes: ice, steam, dew, frost and dry-ice fog
- A liquid's
heatgives every particle a temperature on the gas scale (0 the room's air, water freezing at −0.5 and boiling at 0.5) and lets it change phase. Heat comes from fills and emitters (temperature, andfrozenfills for ice) and from obstacles with atemperature(a hot plate, a cold lid), and flows between neighbours, from obstacles and to the air. Melting and boiling hold the temperature while a latent heat is taken up, so ice never flickers. Ice needs a seed (ice or a cold solid, or well below freezing), so a pond chilled from above freezes in from its shore; ice joins the solid layer asICE, so water, bubbles and air pockets meet it as a solid, and a piece with nothing under it settles, floating where water flanks it. - With
vapour, boiling (and, withevaporation, warm water) makes steam, a gas moved by the gas solver over the air with the water as moving walls; a boil inside the water makes bubbles (vapour.bubbles, the bubble sparks withlift) that carry their vapour up. Steam touching anything colder thandewbeads as dew and drips back; withfrost, vapour grows straight into ice on cold surfaces; withsublimate, ice turns straight into vapour. - Matter is kept exactly: each frame's figures carry
water,ice,vapour,addedandtakenin cells' worth. - In a gas effect, an obstacle's
temperaturewarms or chills the air touching it. - Five new presets: ice cube melting, pond freezing, boiling pot (a loop), frosted window and dry-ice fog.
- Opt-in: every source without
heat(or, in a gas, without an obstacletemperature) compiles exactly as before, at the same speed within noise. Heat alone adds under a tenth to a liquid's compile time; vapour about doubles it.
Plasma and electricity
- Gas effects can carry electricity (
src/electric.js). An obstacle with avoltage(volts, or keys[{ frame, voltage, over }]that change it on cue) is an electrode, andconductor: truemakes an obstacle metal that arcs run through. Each step solves the electric field over the gas and grows plasma by the dielectric breakdown model where the field exceedsbreakdown, atgrowthcells a frame, forking like lightning or keeping to one path asfocussays. Plasma rides the gas as a linked chain one pixel thin, so heat lifts and bends an arc without blurring it and its ends slide along the rods. Current keeps a channel lit (sustain, below half of which it goes out) and heats the gas (heating× current²), so a Jacob's ladder climbs on its own hot air; without current, plasma recombines (recombine) into an afterglow, and its trace guides the next strike formemoryframes, so lightning restrikes down the same channel. An electrode'sresistancesags its supply under load, so a long arc starves and one strike stops the other leaders, andchargestores charge for strike-and-recharge bursts.electric.groundholds canvas edges at 0 V, andelectric.ionizemakes hot gas plasma without electrodes. A decoration with a voltage may be unseen (draw: "none"), and a gas with electrodes needs no emitter. - Look layers draw two new fields,
ionizationandcurrent, and any layer may have ahaloglow; the metadata'speakgainsionizationandcurrent. - Four presets with GIFs: Jacob's ladder, lightning (a one-shot with a restrike), Tesla coil and plasma globe, each compiling in 0.4–0.9 s. An electric gas costs about two to three times plain gas per step. Gases and liquids without electricity are unchanged, golden hashes and GIFs included.
- Not yet: there is no magnetic force on arcs, and voltages do not alternate on their own (keys pulse them).
Air pockets that keep their air
- A liquid's
airsetting keeps the air it seals off. Off by default: air the liquid seals off has no pressure, so an upturned cup floods at once. Withair: { stiffness: 40 }, each region of air sealed off from the open canvas edges is a pocket that keeps its amount of air from step to step (pockets that meet add their air, one that splits shares it out) and pushes back by the gas law, in pixels of head: under h pixels of liquid a pocket keeps stiffness ÷ (stiffness + h) of its size. An upturned cup fifteen pixels down keeps about three quarters of its air at 40 and nearly all of it at 1000, and settles as still as water does without air; a sealed bottle glugs as it pours (without air it empties in about 25 frames; with it, more than half is still there at frame 40, in pours with holds of 7–15 frames between them, over six seeds). - Each pocket's pressure is one more unknown in the liquid's conjugate-gradient solve, with the gas law linearised implicitly, so the system stays symmetric and any stiffness is stable at any
substeps. (As a pressure fixed from the volume at the start of each step, a pocket rang at stiffness 200 with one substep and at 1000 with two.) - A bubble is a pocket too small to show. A sealed gap of three to eleven cells with no pocket before it (air a splash or a pour traps) lets its air go once as bubbles that start in the liquid at its edge, and a pocket squeezed below three cells does the same;
air.bubblesdraws them (colors,life,rise,wobble,lift,pop), and without it that air leaves unseen. Gaps under three cells between jostling particles close as before. A bubble that rises into a pocket gives it its air. - A new preset, glugging bottle: a bottle upside down over a glass holds its water back until a big bubble pushes up its neck, and pours again.
- Liquids without
aircompile exactly as before. With it, compiling takes 4–25% longer.
Sticky liquids move with what they touch, and stretch into strings
- A liquid moves with an obstacle it touches. Adhesion used to treat a moving obstacle as if it stood still: it held liquid where the obstacle had been, and each whole-pixel jump left the liquid a pixel behind, so a bar dipped 16 pixels into honey and lifted out kept a pixel or two of it, and a stirring stick dragged nothing. Now adhesion is measured from where the obstacle really is along its move (between its whole-pixel jumps), and away from it means away from where it is going, so a lifted spoon keeps a coat and draws the honey under it up after it. Water barely follows, and a cut (a key with no
over) carries nothing. - The cells a moving obstacle leaves stay liquid for 24 frames wherever liquid or solid closes them in, so liquid flows in behind it instead of leaving a hole a thick liquid takes many frames to close; air reaching them ends that. A trailing face holds still for a step against a cell it has already packed too full, so liquid running off a lifted spoon gathers under it instead of being packed against its pixels.
- A part-open face beside a moving smooth obstacle is dragged toward the obstacle's velocity, not toward rest, so a viscous liquid is dragged along a moving smooth obstacle as along a pixel one.
- Obstacles take their own
adhesion(0–4), which replaces the effect's for liquid touching them: a sticky spoon beside a non-stick pan. - A
strandlook field (liquids) draws liquid stretched thinner than the density can. A string one particle wide is spread over three pixels by the density's blur and vanished long before it broke; the strand field is 1 along a one-pixel path through cells that hold particles but too little density, where it joins two pieces of drawn liquid or hangs at least 3 pixels off one. Nubs, fringes and loose particles are left out, so a resting pool and a falling drop draw exactly as before. - A new example, honey dipper, lifts a sticky dipper out of a nearly non-stick jar: the honey is drawn up into a peak, a glossy string joins the dipper's tip to it, thins and snaps, and its end curls back into the peak.
- Every other example keeps its golden hash and GIF: none has a strand layer or an obstacle of its own adhesion, and dam-break's gate, the one moving obstacle in a liquid, lifts out of water with no adhesion and leaves no closed-in cells behind it.
- Not done yet: a residue look (a wet colour on obstacles where liquid has been, fading over frames) and sticky droplets that land on an obstacle and stay as a pixel that slides or drips.
Slime and snow heaps
- A burst fill's pieces have their corners rounded off before they fly: twice over, a cell with four or fewer of its eight neighbours in its own piece is trimmed, its water going back to the piece as a gap's does, so the volume is kept and a piece of six cells or fewer stays whole. The straight cuts made every piece a sharp-edged shard, and an elastic liquid kept those corners all the way down: the slime-burst example's pieces landed as flat, notched slabs and now fly as blobs and settle as domes. The trimmed water crowds the pieces for the first frames, so they swell back as they fly.
- The roof-snow example firms its snow gradually over frames 24-34 (yield 3) instead of at frame 28, so the falling column slumps into a rounded drift about five rows high at the wall and stops, where it spread into a wedge about three rows high. Firming it sooner or all at once froze the column as a tower or a toppling arch.
- The slime-burst and roof-snow golden hashes and GIFs are updated.
- Still open: the slime example's rebound is a tall bullet with straight sides for three frames before it settles into a dome, and its second wobble is a single pixel. Its tension and yield don't change that shape; it comes from the elastic model.
Bubbles that behave like air
- A liquid's spark with
riseis a bubble that behaves like air. It risesrisepixels per frame through still water, against the liquid's gravity (keys included), on top of the flow that carries it, so it rises steadily, a current sweeps it along and a plunging stream drags it down first. Where it meets an obstacle or a closed edge it slides along it instead of ending: up a sloping ceiling, out from under a ledge within five pixels, or it waits there; bubbles waiting under the same ceiling that touch merge into one holding the air of both, up to three pixels across. A solid that moves onto it, such as a ledge coming down, pushes it aside. It ends where it reaches the air (bursting there withpop) or at the end of its life.wobblesways it from side to side, andlift(0–1) hands that share of its buoyancy to the water around it as a force, so a column of bubbles drives an upwelling: about a bubble a frame withlift: 1raises a dome a few pixels high on the surface over it. - A whitewater layer with
risemakes bubbles instead of spray: where the water moves fast (speed) or its speed changes sharply (impact) in the body of a pool, two pixels from air every way, it leaves a bubble at rest that the flow carries and that rises and ends at the surface. A plunging stream now drives air into the pool it lands in, and a falling stream itself makes none.wobble,liftandpopwork as for sparks. - A new preset, aquarium, shows them: an air stone's column with
lift, bubbles from a stone under a rock ledge running up its underside to the lip, and bubbles driven in where the filter's stream plunges. - Sparks and whitewater without
risebehave as before, so every other preset keeps its golden hash and GIF.
Example setup: dam-break and roof-snow
- Liquid
keyscan changedrag. Drag slows all motion alike and lets water level as it calms, so it ends a one-shot at rest where thickening (aviscositykey) holds whatever shape the liquid has. - The dam-break example's gate lifts off the top over six frames from frame 4, so the water bursts out under it, instead of standing for fourteen frames and vanishing in one. Its slosh (about ninety frames to swing back in a tank this long and shallow) was stopped by thickening the water over frames 45-55, which froze it about seven rows higher at the far wall for the last twenty frames; drag now comes in over frames 16-24, while the wave crosses the tank, so the wave still runs up the far wall and the water settles within about a row of level by frame 50.
- The roof-snow example's snow starts lying on the roof, seven rows deep, and slides off from the first frame, instead of starting as a block in the air that drops onto the roof. The key that firms it moves to frame 28 to fit.
- honey-drop is unchanged: with the cleaner liquid edges its landed drop already flattens into the pool within a few frames.
- The dam-break and roof-snow golden hashes and GIFs are updated.
Drops and spray
- A liquid's spray (whitewater, and emitter sparks with
follow: 0) still in the air when itsliferuns out flies on, for up to its life again, until it falls back in, hits an obstacle or leaves the canvas, as the docs say spray ends. Before, a droplet thrown high simply vanished in mid-air: 7 of the splash example's 23 droplets did, and 10 of dam-break's 50. A loop simulates that much longer past its recorded cycle, so the droplets still wrap round to its first frames. - The splash example throws its spray softer (1.3 and 1.2 times the impact instead of 1.8 and 1.6) and without trails: droplets arc a few pixels up as dots and fall back into the pool, where they climbed to the top of the canvas as one-pixel sticks.
- The drip example's drop swells round under the stalactite (a wider swelling emitter and
tension3) and falls as a bead about three pixels across, where it fell as a two-pixel-wide stick. - The splash, drip, waterfall and dam-break golden hashes and GIFs are updated; the rest are unchanged.
- Still open: splash's ball flattens for a frame as it falls and sits on the pool as a hump for two frames before the crater opens, which more substeps or cohesion don't change.
Cleaner liquid edges
- A liquid's outline is tidied before it is coloured. A gap one pixel wide with liquid on two sides and liquid or an obstacle on a third is filled, and a lone pixel standing on a straight edge (open air on three sides, liquid either side of its foot) is trimmed, so a resting surface no longer shows dents and pimples that come and go from frame to frame, and the highlight line no longer drops a pixel under each dent. A lone drop, a stream's tip and a two-pixel step stay. Honey and honey-drop had about 0.7 and 0.4 such bumps a frame and now have none; dam-break's fall from 0.43 to 0.09 and its dents from 0.39 to 0.16.
- A liquid's
depthruns through every pixel its own layers draw, thin fast water drawn by aspeedlayer included, instead of starting a new surface under each such pixel. - A liquid that touches an obstacle on the side toward the
light(or away from it) is lit (or shaded) in full there, and obstacles further off take no part in the sample. Before, an obstacle counted as empty two pixels away, so a pool in a stepped bowl showed light and dark pixels by turns along the bowl as the sample landed on the bowl or on liquid; honey-drop's bowl now has an even rim. Gases are lit as before. - The roof-snow example draws its house in front of the snow's outline (
drawleft atover), so the outline no longer covers the house's right-hand column once the drift settles against it. - The ten liquid examples' golden hashes and GIFs are updated; gases are unchanged.
- Still open: honey's pool shows a dark pixel or two under the rope, where depth counts the rope above it, and whitewater still draws spray and foam as single pixels and dashes.
Cohesive and elastic liquids come to rest
- Cohesion (
tension) is a force on the grid before the pressure solve, as gravity is, instead of a velocity added to each particle after it. That velocity stayed on the particles and built up step after step, so a resting liquid kept a speed it never moved by (slime-burst read 0.16 px a frame and a still pool's peak speed 0.15, though no pixel changed), and with APIC a high-tension drop at rest trembled for good (about 12 changed pixels a frame at tension 3, now about 4). Half of the force is the density difference across each face, which the pressure balances exactly at rest; half is sampled at the particles and spread onto the faces as their velocities are, which keeps a small falling drop round: with the first half alone, the drip's drop fell as a pixel-wide streak. - A yield-stress liquid stops rocking. The slime example rocked from side to side for good, 4-9 pixels changing every frame from frame 500 to 700 whatever the seed; now 0-2, and its particles settle to about 0.02 px a frame rms. Two causes. A particle's strain was turned with the flow by a straight step along the tangent, which grows it a little every step; a Cayley rotation now turns it and keeps its size. And the spreading that evens out the particles (crowded cells spread, sparse ones inside draw particles in) strained the liquid as well, storing springiness that had only mended the spacing; it now has a pressure solve of its own after the flow's, which moves the particles without straining them. That solve makes the yield-stress examples 18-25% slower to compile (cohesion's spreading onto the faces adds 2-11% to the other liquids), and the work budget counts it: the studio's slime course warms up live for at most 102 frames, not 132.
- The ten liquid examples' golden hashes and GIFs are updated; gases are unchanged. They look much as they did: slime-burst's heaps settle flatter and lumpier than before, the waterfall's foot splits into strands a little more, and splash throws a little more spray.
- Still open: how soon an elastic heap rests varies a lot with its seed (over twelve seeds the slime changes about 1 pixel a frame on average from frame 100 to 900, down from 6), and water standing in a box keeps rippling by a pixel or two for a while, with or without cohesion.
Liquid fixes: settling, drops, sparks and carriers
- Liquid standing in a pipe or a long channel comes to rest (P-067). A liquid's pressure is now solved by conjugate gradients with a MIC(0) preconditioner, a third as many steps as
iterations(each costs about three sweeps). The sweeps carried pressure only a few cells a step against their scan order, so in a pipe or U-tube the push that holds the liquid lagged the flow, and a lagging push pumps a slosh up: the studio's rocket mould never settled (50-65 changed pixels a frame from frame 200 on), and jelly in 4-wide pipes bobbed to the end of every run. It now rests within about 100 frames. Gases keep the sweeps. Slow levelling in narrow channels is the jelly's own yield and viscosity holding a head, and is unchanged. - A smooth obstacle still never pulls on a liquid: a cell beside one that the solve leaves pulling is held at zero pressure and the solve runs again.
- The dam-break example thickens over frames 45-55 so it still ends at rest; with less numerical damping its water sloshed on to the last frame.
- De-Stray never erases a liquid's lone pixel: it is a drop whose water is there, so a small drop no longer vanishes for a frame (P-054). A gas's lone speck still goes.
- A liquid's spark riding the flow (the default
follow: 1) that leaves the water flies on as a droplet, falling with the liquid's gravity unless it has its own, and ends where it falls back in, instead of hanging where it left the water (P-029). - A gas carrier that hits a wall or a closed edge drops its smoke in the last open cell before it, not up to a whole step short (P-047).
- Patch
recolorreads a palette key as the frame draws it, so a frame with its own palette can be recoloured;scope: "frame"restores dependents with palette keys where one draws the colour, so a later palette edit still reaches them. - The playground's worker checks every engine and example address itself (P-023): a page's meta CSP doesn't reach a worker, and GitHub Pages sends no CSP header.
- Cohesion (
tension), left as it was here, is reworked in the section above: the 0.16 px a frame a resting liquid seemed to keep under it was a speed the particles never moved by.
Liquids fill small spaces
- A liquid's surface now reads only the cells water can be in. Each particle's weight goes to the cells around it that it could be in (not into an obstacle, off the canvas or across a corner where two obstacle pixels touch), and the 3 × 3 blur that turns particles into a surface skips obstacle pixels. Before, an obstacle beside a cell soaked up part of its water and counted as empty in its blur, so a full cell walled in on three sides read at 0.3–0.5 of full and was drawn empty with an outline: the points of a mould (a bat's wing tips, ears and scallops), a crack one pixel wide and the corners of a pool against a wall. A cell sealed off at a corner still stays dry, and nothing shows past a thin wall.
- De-Corner cleanup in a fluid leaves a pixel tucked against an obstacle alone, so it no longer carves a hole between a liquid's highlight and a wall.
cleanupIdstakeswalls(index)for this. - Water against walls and the canvas edge is drawn as it is: depth bands meet a wall level instead of dipping, a film on the floor shows where it is half a cell deep, and a heap's foot reaches the floor square where its corner cells are half full (the slime's contact shadow is one row instead of two). The ten liquid examples' golden hashes and GIFs are updated; gases are unchanged.
Indexed and greyscale PNG import
pixelbolt import, MCPpixel_importandgif-framesread every PNG colour type at up to 8 bits per channel: indexed (1, 2, 4 or 8 bits per pixel), greyscale (1, 2, 4 or 8 bits), greyscale with alpha, RGB and RGBA, withtRNStransparency, an alpha for each palette entry or one key colour. Pixels are exact: palette entries and their alpha are copied as stored, and greyscale below 8 bits takes the PNG specification's 8-bit values.- Under
tRNS, a fully transparent pixel imports as plain transparency, without a hidden-RGB correction for the colour of its palette entry or key;provenance.encodingnames the colour type and bit depth, andprovenance.hiddenRGBsays when such colours were left out. - 16-bit and interlaced PNGs are still refused, now each with its own reason, as are malformed palettes and
tRNSchunks (a pixel past the palette,tRNSlonger thanPLTE,tRNSin a PNG with an alpha channel). - Checked against Pillow and Godot (libpng) on 32 files from both Pillow and a hand-written encoder: every pixel matches Godot. Pillow and ffmpeg ignore a key colour in greyscale below 8 bits, which Pixelbolt and libpng apply.
Slopes for side-view tile sets
- An autotile source's
slopes: { "frame": "ground-{slope}" }gives a side-view blob or cardinal set slopes:upanddownat 45°, and gentle slopes a cell up over two (gentle-up-low,gentle-up-high,gentle-down-high,gentle-down-low), cut from its own top edge and fill. Each column is the flat ground's top edge moved down the slope over the fill drawn in place, so slopes meet flat ground and the fill texture without a seam, for terrain descriptions and hand-drawn templates alike. - A slope whose top edge runs into the cell under its low end has a foot tile (
<slope>-foot) for that cell. - With
collision, each slope and foot is solid under the slope's line, the top edge's depth below it, one-way when the set is. metadata.slopesgives a scene legend (#terrain, a foot under each slope's low end,/\45°,u UandD dgentle) and a map of both hills; the test map draws them below the set, and a scene with that legend draws the same pixels.examples/ground.autotile.jsonhas slopes (151 tiles). Godot and Tiled get slopes as plain tiles with their polygons; both verifiers load a sloped set.
Scenes as Tiled maps
- A scene export adds
scene.tmx, a Tiled map of the scene at its start, unlit, in Pixelbolt's drawing order. A tilemap becomes a tile layer, painted with its asset's tiles and Wang sets, when Tiled's grid holds it (square cells of the map's grid, one frame per cell, 1× from a 1× sheet, not ground-sorted), offset half a cell for corner maps and by the difference for frames taller than their cells. Everything else becomes tile objects drawn in list order: placements and repeat copies at their frame and position at that time, sorted, iso and scaled maps. Shade placements are left out and haze is dropped, with warnings; lights, the camera and parallax stay in the scene. - Every scene asset now gets
assets/<n>/tileset.tsx: a sprite's frames as tiles, its looping animations animated.alignment.jsonnames the map undertiled. renderScenetakesdraws: trueand lists every frame it drew, in order, with its position, scale and camera shift.- A layered map in a scene draws each corner tile once: another terrain's legend entry that finds the same
{corners}tile at a point no longer draws it again over itself. node scripts/verify-tiled.mjschecks a scene with every kind of placement: Tiled reads its map, andtmxrasterizerdraws the unlit scene exactly, but for one step where partly transparent pixels blend (45 of 6,912 pixels).
Tiled tilesets
- A tile set's export adds
name.tsx, a Tiled tileset over its sheet: the sheet as Tiled's grid (padding as margin, twice it as spacing), each terrain a Wang set for Tiled's Terrain Brush (blob sets mixed, cardinal sets edge, corner sets corner, one colour each; a layered set one corner set with a colour per terrain), each tile's Wang id its neighbour mask or corners. Tile weights become probabilities against the heaviest tile of their kind, collision polygons objects in each tile's collision group,oneWaya bool property, and a looping animation over tiles of one kind an animated tile (its later frames left out of the Wang sets). - A scene export writes
assets/<n>/tileset.tsxbeside each tile-set asset's colour pass, named inalignment.jsonas the asset'stiled. MCPsaveAstakestiled, naming the saved sheet relative to the saved.tsx, and replaces only a Tiled tileset. - The lone-cell tile of a blob or cardinal set (mask 0) and a corner set's empty tile are no Wang tiles: Tiled's brush paints sides and corners, which such a cell lacks.
node scripts/verify-tiled.mjschecks the export in a real headless Tiled: Tiled's own reader, its terrain filler painting the Godot check's maps (it chose Pixelbolt's tile in all 2,600 cells in Tiled 1.12.2) andtmxrasterizerdrawing every tile. Tiled re-saves the files unchanged but for its owntiledversion.- A bundle can hold 10 support files, so the ZIP32 budget is animation count + frame count + 10 (at most 65,524 animations with one frame).
Variants and collision for terrain transitions
- A layer of a layered autotile set takes
variantsof its plain tile, the one with it at all four corners, which fills big areas: another fill (terrainmerged into the layer's) or decoration (opsdrawn over the tile in tile pixels), weighed against the layer'sweightfor the plain tile. They come after the other tiles, named after the plain tile with-<name>(shore-wwww-lily), each kept in a template of its own (template-water-lily). Ops that change the tile's border are warned about. - A layer takes
collision(true, or{ inset, oneWay }): every tile is solid where that terrain shows, from where its edges start, less the corners of the terrains drawn over it from where theirs start. Solid water ends where the sand starts; two solid terrains give one shape where they touch. - Scene and recipe tilemap legends may list a layered tile with its variants (
frames: ["shore-{corners}", "shore-{corners}-lily"]withweights): at each point, the names the set has no tile for are left out, and a name that is no tile for any corners of the map's keys is an error. - The layered test map adds a patch of each terrain between the bottom and the top, and draws every variant where a scene with those legends (seed 0) would.
- The Godot TileSet weighs a layered tile against the heaviest tile with its corners, so the plain tile and its variants share out Godot's random pick and every other tile keeps probability 1. A terrain's editor colour comes from its plain tile.
examples/shore.autotile.jsonhas two more fills per terrain and a rare lily pad, shell and daisies, and solid water: 90 tiles.
Frame rates in replies and exports
- Where every frame of an animation lasts the same, the validate, inspect and render replies (MCP and CLI) and
pixel_compile's reply carryanimationFpsbeside the animations: frames per second by animation name, to two decimals or three significant figures under 1 (a torch of 24 frames at 70 ms is"animationFps": {"burn": 14.29}), for the first 16 such animations. A tile set with no animations of its own has none. Inspect'stimingnames it asfps. An export's README.txt ends with a Timing section for every animation of two or more frames: its frame count and durations, its frame rate when they match, and whether it plays once. Godot, Unity, Aseprite and video editors ask for a rate, which an agent used to work out from milliseconds by hand.
Renders note loops that lift, jump or repeat a frame
- The render
check(MCPpixel_render, CLIrender) reportsmotion: each animation's silhouette box and lowest row for every played frame, in play order. - When the recipe names its animations, its
notespoint out loop motion that tends to look wrong: a solid body of which at least half the frames stand on one ground row while one leaves it by 2 rows or more, moves unevenly (one step of 3 px or more and at least twice the median) or jumps back at the loop, with the steps that barely move beside it (and, for a loop that only loops by default, how to make it play once, on its first such note), and identical neighbouring frames of equal duration. One-shots, recipes without animations and tile sets without animations of their own get none. The notes are advice, at most eight motion notes a check plus a count of the rest, and never changecheck.ok; on the shipped examples they stay quiet on 49 of 57 animated presets.
Grounded squash and stretch for slimes and blobs
- Masses take
flat: true: the top half of an ellipse, a dome with a flat base anchored at the middle of its base row, which squash and rotation keep in place. - The idle template takes 2–16 frames (from five, poses are numbered
idle-0…) andsquash(0.05–0.5): the body stretches and squashes along a sine while its lowest drawn pixel stays onrig.groundin every frame. Not withbreathor legs. Past four frames the key poses are the quarter phases, so the motion review's pose spread passes gentle loops. - New example
examples/slime-idle.poses.json: the quick start's slime, eight frames at 32 × 32. - Idles and masses without the new fields compile byte-identically.
Transitions between terrains
- An autotile source's
layersstacks 2–4 terrains bottom first (water, sand, grass) into one corner set with a tile for every mix of them at a tile's four corners: 16, 81 or 256 tiles, named by the layers' keys at the corners ({corners}, soshore-wsgw). Each layer is drawn from its own terrain (merged over the set's), template rows or ops. A tile is the lowest terrain among its corners filling it and each higher one among them drawn over it, counting the cells of every terrain above it as its own, so sand runs on under grass and grass straight on water draws no sand. Each frame'stile.cornersnames its corners' terrains. - New reviewed example
examples/shore.autotile.json: water, sand meeting it with a line of foam, and the meadow's grass. The test map puts the top terrain's shapes over the bottom one and rings of the terrains between round its block. - Scene and recipe tilemaps name a layered tile with
{corners}, the characters of the four cells around a corner tile (past the map's edge, the nearest cell). A scene drawn from the compiled tiles and a recipe drawing one map per layer give the same pixels. - The Godot TileSet makes a layered set one terrain set matching corners with a terrain per layer, so Godot's painter draws the transitions. The bottom terrain is an unset corner, so cells at the edge of the painted area keep their tiles, and each tile is there once per terrain as its centre (alternative tiles). Painted bottom-up, as the export's README says, Godot picks Pixelbolt's tile and centre in every cell;
scripts/verify-godot.mjspaints a three-terrain set over five maps to prove it. - A corner tile drawn by several legend entries at one point is drawn once when they would draw the same thing.
Corner (dual-grid) tile sets
- Autotile sources take
mode: "corner": 16 tiles that sit where four map cells meet, each mask naming which of those cells are terrain (NW=1, NE=2, SW=4, SE=8). Every quarter of a corner tile is the inner quarter of one of the four cells, cut from the same template, so any terrain or template gives a corner set, and a corner map draws exactly the pixels a blob map of the same cells draws, from a third of the tiles. Variants are picked per tile. The empty tile (mask 0) is compiled once. - Recipe and scene tilemap legends take
autotile: "corner": the tiles are drawn half a cell up and left of the cells, one more row and column than the map, each point once per legend entry among its cells. Corner maps need an even cell size and square layout. - The Godot TileSet gives a corner set a terrain that matches corners (mode 1). Godot's painter puts the terrain where four painted cells meet and picks Pixelbolt's corner tile on every painted cell, the empty tile where a cell has no terrain point; without that tile Godot would erase the cell and its terrain. The export's README says that ground ends half a cell inside what is painted.
collisionon a corner set boxes each tile's terrain quarters, kept from their cells' open sides, so the shapes join into the blob boxes of the same map; two cells that touch only at a tile's middle give two polygons. A frame'stile.collisiontakes a list of up to 8 polygons, the atlas always holds a list, and the TileSet writespolygon_0,polygon_1and so on.- The seam check, test map and
expect.transparenthandle corner sets, and the delivery check does not call the empty tile an accident.scripts/verify-godot.mjsloads a weighted corner set with collision on its own and in the scene's TileSet, with three sets painted on one layer.
Presets over MCP and the command line
pixel_helptopicpresetslists every shipped fluid, fx, wave and poses source and each looping plain recipe inexamples/(the coin spin, the ember), read from the folder when asked: each with its name, file, size, frames, loop or one-shot, colours, animations and a line on what it is for, with the Fluid and Effects labs' titles where they have one. Topicpresetwith anamereturns one preset's source, any file it names inlined, ready to edit.pixel_compiletakes{"preset": "<name>"}in place ofsource, and the CLIcompile --preset <name> --out <new.json>; both are byte-identical to compiling the preset's file.pixelbolt presets [name]prints the listing or one source.- The quick start, the server instructions and the first sentence of the fluid and fx schemas say to start fire, smoke, explosions, splashes and spells from a preset, and to get fewer frames by keeping N evenly spaced frames with one
pixel_patchcall (the quick start has the call for 8 of the smoke puff's 19), never by loweringframes, which stops the effect before it ends. The quick start no longer lists the slime fluid among ready-made effects: it is a drop of liquid, not a character. - The MCPB bundle ships every top-level example and the labs' preset lists, so the presets work in Claude Desktop too.
- Over MCP the listing measures each preset once: the facts are kept in the export directory's
.presetsfolder, in one file for the engine's exact code (its version,src/and the labs' lists), under a hash of each preset's resolved source. A later listing reads them in about 50 ms instead of compiling every preset again (5-7 s here, 14-18 s on CI runners); a changed preset or engine is measured again, a damaged file is measured afresh, and a folder that can't be written costs only speed.
Godot TileSets with weights, collision, plain tiles and several sets
- Autotile variants take
weight(1–1000): the test map mixes variants by weight, and the Godot TileSet gives each tile its probability against the heaviest of its terrain. The meadow example's flowers now show a quarter as often as each plain fill. - An autotile source's
collisiongives every tile a collision box on physics layer 0:truekeeps it from each open side by that edge's depth, so a body stands on the drawn ground,insetsets the margins andoneWaymakes one-way platforms. The ground example has collision. - Recipe frames take
tile:terrain,weight, acollisionpolygon in canvas pixels andoneWay, checked when rendered (points inside the canvas, in order, enclosing an area) and exported in the atlas in exported pixels. Any frame withtilemakes the export write a TileSet. - Frames that are not autotile tiles but draw something become plain tiles in the TileSet instead of being left out; empty frames are no tiles.
- Each terrain is a terrain set of its own, so two sets in one recipe (named apart with
tile.terrain) export together, blob and cardinal alike, and a scene export writestileset.tresholding every tile-set asset as its own atlas source, painted by oneTileMapLayer. Godot's terrain painter picks Pixelbolt's tile with both sets on one layer. - A tile set without animations of its own exports no SpriteFrames, APNGs, CSS or player (its only animation flipped through every tile), its preview shows the sheet, and its README says how to paint it in Godot. MCP
saveAsgodotpoints attilesetthere. expect.transparentno longer fails every tile set: inner tiles, with the terrain on all four sides, are solid by design, so only tiles with an open side are judged.scripts/verify-godot.mjsalso checks probabilities, collision polygons, plain tiles and a scene's two-set TileSet in a real Godot (4.7.2), which re-saves the exported TileSets unchanged apart from resource ids.
Tilesets from a terrain description, with a test map and seam check
- An autotile source can draw its template from a
terraininstead of typed rows: afillthat repeats every tile (a colour with seededspeckleclumps, or apattern), an edge per side (depth,jitter,bandssuch as an outline and a rim light,outsidecolours such as a cast shadow, seededtufts), androundandinnercorners. A terrain is seamless by construction: its tiles, stitched into any map, are exactly the terrain drawn directly. Agents no longer have to hand-type a 2×3-tile template, which a cold test found they could not do reliably. opsdraw over a template (rows or terrain) with the source'ssymbolsandramps: flowers, cracks, stones. A variant'sterrainmerges into the set's field by field, so{ "fill": { "seed": 11 } }varies the fill and keeps every edge; a variant'sopsdraw after the set's.- Compiling checks every quarter join a map can make.
Seamwarnings name the template pixels where an outline or edge breaks and the pixel to copy to mend it; oneTexturewarning counts fill that does not repeat; a cardinal set says once that it cannot turn inner corners. On a terrain only whatopschange is checked. - Compiling also draws every tile over a test map that holds all 47 (
--preview <new.png>onpixelbolt autotileandcompile; a second image from MCPpixel_compile), onpreview.backgroundwhen given. Metadata counts seams. - New reviewed examples:
examples/meadow.autotile.json(grass over dirt from above, with fill and flower variants) andexamples/ground.autotile.json(platformer ground from the side: grass cap, lit walls, roots). - A template of the wrong size names every row of the wrong width. Tiles are limited to 84 pixels, the largest whose template fits a symbol; larger ones used to fail with a message about symbols.
- The art workflow explains how tiles are stitched from template quarters, why a template has to repeat every tile, and where detail may cross quarter lines.
Loop review that measures real jumps
- The fx compile no longer guesses at loop seams. It draws the frame that should follow a loop's last (the next cycle's first) and warns only when the loop's first frame differs from it, counted as
seam.jump. The old test, a last-to-first change larger than every other step, also fired on seamless loops whose biggest change fell at the seam by chance: at seeds 2, 3 and 7 it flagged eighteen fireball, projectile and buff loops that loop exactly. - A bolt
rerollspanning a loop wraps round its cycle, and a stream'sheadandtailkeys, read at the end of each frame, wrap with it. - Keys that only show in later frames are warned about by name: a stream's
headortailand arevealon a layer spanning the loop, and an emitter spanning the loop whosepath,sweep,throttle, keyedrateor ringgrowdoesn't end where it starts. - The Effects lab presets compile with no warnings at seeds 2, 3 and 7.
Effects round a character, cut-off review and see-through gas
- Layers and emitters take
depth:back,split(a layer's rows above its centre, or the particles born above their spawn centre, go behind) orfront, the default. An effect with anything behind also compiles<effect>-backand<effect>-front, with the same frames, timing, cues and anchor, for a game to draw under and over its character; the whole effect draws the back side under the front side, so the parts drawn together give exactly its pixels. A sprite emitter that only draws can be a stand-in (depth: "between"), drawn between the sides in the whole effect and in neither part. Child emitters take their parent particle's side. - The holy and ice buffs in the spell library use it, with a plain stand-in figure in
buff. - The fx compile reviews each animation's
edges: the canvas sides it draws on, with the most pixels a frame and the frames. It warns about a side, since whatever reaches past it is cut off, unless the effect lists it in its ownedges(a bolt from the sky); turned copies turn the sides. The Effects lab shows the chosen effect's warnings under the preview, so a seed that throws a spark off the canvas says so. - Examples that were cut off are fixed: the water geyser's and dome's ripples (the canvas is 4 pixels taller), the lightning strike's flash (96 × 104, centred), the fluid blast's shockwave, the slash, swing and shatter flashes and shards, and the poison impact's drops; the lightning bolts and hero effects list the sides they touch on purpose. Every Effects lab preset stays off its edges at seeds 2, 3 and 7 too.
- Poison gas is see-through: translucent colours lit on top, with no shade band or dither, drifting apart on turbulence and thinning as it swells. The effects guide explains when smoke and gas should be translucent rather than outlined.
Fixes from a cold-agent test of the effect tools
- Emitters take
kick: [x, y], a velocity added to every launch whatever its angle, so outward shards on a ring laid on the ground can pop up as they fly out. - Emitters take
ground: a floor that many pixels below where each particle was born, so shards thrown up from a ring laid on the ground land back on their own patch of it.bounceandwhen: "floor"children work with it. - Paths, on emitters and layers, are travelled at a steady speed along their length, so unevenly spaced points no longer make the spawn centre or a layer lurch. Keyed
driftstill gives each key an equal share of the window. haloreaches round: one pixel wide it is the four neighbours as before, wider it is a round glow instead of a diamond.- A squashed spawn ring spreads particles evenly along its perimeter instead of crowding its narrow ends, and a full
evenring on a rate emitter turns to a fresh angle each frame instead of repeating fixed spokes. - The render check no longer notes the empty frames that end a one-shot, which the effects guide asks for; empty frames elsewhere are still noted.
- An fx source's symbol with an unknown palette character is reported at
fx.symbols.<name>[row], with the palette's keys, instead of atproject.symbols. - The effects guide explains matching a spawn ring's
growto a ring layer (the samestart/endnumbers as itsframes,ease: "out", and ending keyedrateat 0 rather than shortening the window), and which symbols spin well.
Effects lab
- The studio has an Effects lab (
/effects.html), like the Fluid lab: it compiles the seventeen self-containedpixelforge-fxpresets (spell shapes, the spell library, cel water, particles) in the browser with the same compiler, plays any of a source's effects and turned copies, changes the chosen effect's strength, speed and seed, and downloads the GIF, sprite sheet, recipe or edited source beside the matching CLI and MCP calls. The studio walk checks that every preset compiles in the browser to the same recipe as Node.
Emitter ease and fixes from a review of the new effect tools
- Emitters take
ease, which movespath, ringgrow,sweepandthrottleover the window as a layer's ease moves its keys (default linear), so a trail given its head'seasekeeps pace with it. - A
streamwith drift keys or a path no longer always curves them;curve: falseis accepted on any layer; a layerpathtakes up to 16 points, as an emitter's does. - Every particle a moving emitter spawns on its first frame inherits the same speed, and a pause in its path inherits none.
- Symbols turned for
spinare added to the recipe after every effect is read, so one effect can no longer name a turned symbol another happened to make. - Inputs that silently did nothing are refused:
path,sweep,throttleand ringgrowon a burst (which spawns at one moment), and a keyedrateover a one-frame window.sweepnow turns an outward ring's launches too.
Sweeping emitters
- Emitters take
throttle, 2–8 keys scaling the launch speed over the same window: a fountain weakens, a flamethrower dies out. - Emitters take
sweep, 2–8 keys in degrees added to the launch angle over the emitter's window fromstarttoend: a flamethrower swings across, a fountain sways. Without it, angles are picked as before.
Sparks that carry forward
inheritalso works on an emitter moving along apath: its particles get that share of the emitter's own velocity, so sparks thrown by a projectile carry forward instead of stopping where they were born.
Spawn rings on the ground
- An emitter's
ringtakesfill: distances in its radius range are picked evenly by area, soradius: [0, r]fills a disc evenly instead of crowding its middle. - An emitter's
ringtakesgrow, 2–8 keys over its window that scale the radius, so sparks spawn on a shockwave's edge as it spreads ([0.2, 1]) or close in ([1, 0]). - An emitter's
ringtakessquash, as a ring layer does:[1, 0.4]lays the spawn ring on the ground, so sparks rise from a magic circle's ellipse instead of a circle standing upright. Without it, rings spawn as before.
Paths for layers
- A shape layer may take a
pathof 2–8 absolute points instead ofatand keyeddrift, as an emitter does, so a projectile's head and the emitters trailing it share one list of points.curve: truesmooths it.
Curved paths
curve: trueon an emitter with a path, or on a layer with keyeddrift, runs three or more points through a smooth Catmull-Rom curve that still passes every point, so an arc has no corner at its middle. Without it, paths and drift stay straight between points.
Tumbling particles
- Emitters take
spin, degrees a frame (a number or[min, max]): each particle's symbol turns from a seeded start in 45° RotSprite steps, so shards, rocks and leaves tumble instead of sliding. The turned symbols are added to the recipe as<symbol>_r<degrees>. Without it, nothing changes.
Halos
- A shape look takes
halo: { color, width, dither }: a glow of one colour on the empty pixels withinwidthsteps of the look, beyond its outline, dithered when two or more pixels wide, so a bright orb or beam glows without a hard ring. Without it, nothing changes.
Even trails from fast parents
- Children that spawn while a parent particle lives (
when: "life") spread a frame's spawns along the stretch the parent moved since the last frame, the last where it is now, so a fast projectile leaves an even trail instead of one clump per frame. One child a frame spawns where it did before.
Boiling rings
- A
ringlayer takesboil: its breaks churn over the window, or every cycle for a ring spanning a loop, through two fields that take turns so the loop stays seamless. A looping shield bubble or portal rim no longer stands still. Without it, rings draw as before.
Vortex, meteor and shield examples
examples/shield.fx.json: a looping shield bubble whose ring churns (boil) inside a dithered glow (halo), with a highlight arc, glints spread evenly inside it (ringfill) and motes drifting round it (attract.swirl).examples/meteor.fx.json: a one-shot meteor whose head shares itspathand window with its trail emitters, so smoke, a tail of cooling fire blobs and embers keep pace with it, then an impact with fiery debris, rock chips that tumble (spin) and rising smoke from a keyedrate.examples/vortex.fx.json: a seamless looping vortex that shows the newest effect tools together: motes that swirl in (attract.swirl), wisps that wander (turbulence) and cool as they fade (blobpower), drawn in front of the motes (front).
Cooling blobs
- A blob emitter takes
power, a number or 2–8 keys over each particle's life that scale its disc's field: embers and sparks of molten metal cool through their look's bands, white to yellow to red, as they fade. Without it, drops draw as before.
Keyed drift
- A shape layer's
drifttakes 2–8 offsets as keys spread over its window, so an orb arcs or a flame wanders instead of sliding in a straight line. Turned copies turn the keys; a plain drift moves as before.
Keyed emission rates
- An emitter's
ratetakes 2–8 keys spread fromstarttoend, such as[4, 0]: a spray that starts thick and tapers, or a fire that builds, from one emitter. A steady rate spawns exactly as before.
Moving emitters
- An emitter may take a
pathof 2–16 points instead ofat: its spawn centre moves through them over the emitter's window fromstarttoend, timed as a layer's keys are over its frames, so a trail keeps pace with a layer that has the same window. A meteor sheds smoke as it falls and a spark traces a circle, without a parent particle to carry the emitter. Turned copies turn the path.
Turbulence
- Emitters take
turbulence: { strength, scale }: each particle is pushed by a smooth seeded field that stays put, so smoke and embers wander apart organically instead of swaying in step. The field never moves, so loops stay seamless. Without it, nothing changes.
Swirling attraction
- An emitter's
attracttakesswirl: an acceleration across the line to its point, clockwise when positive, so particles spiral into a portal or circle a target. Mirrored turns swirl the other way. Without it, nothing changes.
Looks in front of particles
- A shape look takes
front: true: it draws in a second grid over the effect's symbol particles instead of under them, so smoke can roll over sparks. Without it, nothing changes.
Effects that light a scene
light: trueon apixelforge-fxeffect writes its light track into its frames as a point namedlight. A scene light that follows{ instance, point: "light" }rides the effect's light, lights the normal-mapped sprites around it and goes dark on frames with nothing bright; atlases export the point for game code.
Light tracks
- Every
pixelforge-fxcompile gives each animation alighttrack in its metadata: per frame, where the bright pixels are (at), how much light they make (glow, in full-white pixels) and their colour, or null. Game code can drive a point light from it; it is the first step toward effects that light a scene.
Auras round rings and discs
- An
auramay hug an ellipse instead of a sprite:around: [rx, ry]centred onat, its ring or withdisc: truethe whole disc. A ring of flame licking up from the ground no longer needs an invisible ring symbol to hug (the fire helper's workaround).
Flowing noise
- Slash, beam, bolt, glyph, star, stream and trail layers take
flow: [x, y]: their noise moves that many pixels over the window, or every cycle for a layer spanning a loop, through two fields that take turns so the loop stays seamless. Water runs along a stream instead of its texture standing still. Withoutflow, nothing changes.
Keyed squash
- A shape layer's
squashmay be 2–8[x, y]pairs, keys spread over its frames like its other fields: a ground pool can round out as it shrinks instead of thinning to a one-pixel sliver. A single pair draws as before.
Highlight reach
- A look's
reach(default 2, as before) sets how many pixels toward the light itslitandshadebands measure over: 1 keeps a small drop's highlight to a thin rim (small drops used to come out almost all highlight), 3–4 spreads light over a large body.
Streams that fade
- A
streamtakesfade, dimming it toward the far end of its curve as a beam's does: a tail that cools along its length, with no bright one-pixel tip. Default 0, as before.
Keyed noise and blob sizes
- A shape layer's
noisetakes keys like its other numeric fields, so one layer can stand solid and then shatter; before, that took two layers. - A blob emitter's
size(a number or[min, max]picked per particle) scales its radius keys: mixed puff sizes give smoke and gas a bumpy, billowing outline. Both default to the old behaviour, pixel for pixel.
Effect reviews
- Every
pixelforge-fxcompile reviews its animations in the metadata: each loop'sseamagainst itslargestStep, and each one-shot'sresidue. A loop that jumps at its loop point is reported underwarnings(CLIcompile, MCPpixel_compile), naming the effect and the usual fixes. None of the shipped effects warns.
A spell library
examples/<element>-spells.fx.jsonfor fire, ice, lightning, water, poison, holy and shadow: each a looping projectile turned to eight directions, an impact, an area effect and a looping buff, on one 64 × 64 canvas anchored at [32, 40], the point a game places every effect at. 28 effects, each reviewed frame by frame;test/spell-library.test.jspins their pixels, keeps every loop seamless and every one-shot ending empty, and checks each impact and area cues its hit. The pixel art skill and the workflow guide point to them.
Shape fixes
- A look's outline is drawn only round pixels still there after
cleanup: a stray it removed used to leave its outline behind as a small hollow dark diamond (422 such pixels in the water examples, one in the fire explosion). - A
slashspanning a looping effect stays whole: its tail used to chase the head away over the cycle, so the crescent vanished and popped back at the loop point.
Fluids inside an effect
- A
pixelforge-fxsymbol'srecipemay be a fluid or wave source as well as a recipe or pose source; its effects are its animations. Drawn by a sprite emitter, a simulated explosion plays frame for frame, pixel for pixel, under shape-layer flashes and shockwaves and particles, all in one recipe.examples/fluid-blast.fx.jsonputsexplosion.fluid.jsonunder a flash star, a breaking shockwave and embers.
Effects in every direction
turn: { angles, about, mirror }on apixelforge-fxeffect compiles a copy for each angle, named<effect>-<angle>(and-mirror), with its geometry turned instead of its pixels rotated: places, spawn offsets, launch angles, attract points, tilts, slash arcs, beam, bolt, stream and trail points, drift. Gravity, floors, sway and the looks' light stay put, so sparks still fall and highlights stay upper left; the copy at 0 is the effect as drawn, pixel for pixel. Layer noise turns with each copy, so a quarter turn is the drawn copy turned, pixel for pixel.examples/fireball.fx.jsonnow flies in eight directions on a 56 × 56 canvas, anchored at the ball.- The fireball reads as a comet: a smaller white-hot core inside yellow and orange bands, a round front with no scraps of flame ahead of it, and a tail that leaves the head orange and cools to red before breaking into wisps. Its head had been one big flat white disc that the tail's dark red met head-on.
Bigger live fluids, finer steps and round fills
- A live fluid run is held to the work budget (about 400 million cell updates) only for its warm-up, since it steps one frame at a time. A 72 × 128 slime with 256 frames at 4 substeps used to be refused by
createLiveFluidbecause compiling all 256 frames would go over; it now runs with a warm-up of up to 132 frames, at about 3 million cell updates a frame (that source's 24 iterations, with yield stress). The default warm-up, a whole cycle, is too long for it, and the error says how many frames fit. substepsgoes up to 16 (it stopped at 4), for fast liquids that need finer steps. Time grows with it: the waterfall steps live in about 2 ms at 2 substeps, 7 ms at 8 and 17 ms at 16, and the work budget counts every step.- A liquid
fillcan be an ellipse (radius: [x, y]withat), and an effect may list 64 fills (it stopped at 16). A jelly dome wider than it is tall is one fill, an ellipse cut by a box, where it took a stack of 2-row strips with steps down its sides. - A fluid obstacle may hang off the canvas, or be moved partly or wholly off it by its keys, by up to its own size past an edge (it had to fit inside on every frame it showed): what hangs off is clipped, as the edge clips the fluid. A press's rod can reach down from above the board and a conveyor's load can slide in and out. The frames copy only the part on the canvas, so rendering clips nothing, and an obstacle that is off the canvas whenever it shows is pointed out under
warnings. - A live run's
render()also returnsfluid: one string per row,#where the look layers drew the fluid itself. An outline, a spark or a decoration drawn with the liquid's own key showed up inkeysas liquid, so counting a pocket's slime by key counted them too.
Fixes
- The CLI's inline
--expectand--guidesJSON works in Windows PowerShell 5.1, which strips the double quotes from arguments it passes to a program ('{"width":32}'arrives as{width:32}), so the pixel art skill'srender --expectstep works there. A value with no quotes left has its bare keys quoted back (neither option takes a string value); if it still isn't JSON, the error says to pass a .json file or use PowerShell 7, cmd or bash. - The release's npm check asks the registry again on every try (
--prefer-online), for up to five minutes. 0.10.0's check failed: npm was still processing the new version at the first tries, and the later ones could reuse a cached version list without it. The package itself was fine; a rerun passed. - Godot SpriteFrames (
name.tres, a scene'ssprite_frames.tres, MCPsaveAs.godot) give each frame's AtlasTexture an id Godot accepts. The id wasAtlasTexture_and the frame name, and Godot takes only letters, digits and underscores, so Godot 4.7 logged "The scene unique ID must contain only letters, numbers, and underscores" for every frame with a hyphen in its name: every compiled effect and autotile set. The frames still loaded. Hyphens now become underscores, with a number when that id is taken (hit-1besidehit_1); names without hyphens keep their ids, so those files are unchanged.node scripts/verify-godot.mjsloads frames with hyphenated names and passes in Godot 4.7.2.
0.10.0 (2026-10-29)
Effects on a sprite
- A
pixelforge-fxsymbol may be a frame of another recipe or pose source:{ "recipe": "hero.poses.json", "frame": "idle-rest" }. The CLI and MCP read the file (MCP: under the server root, or a saved revision); the frame becomes rows over its whole canvas, so the sprite keeps its coordinates, and its colours join the palette under their own keys or spare letters where the effect uses a key for another colour. - An emitter with
sprite: { symbol, pixels }spawns on that sprite's pixels (all of them, its edge, or the outline just outside it), its top-left corner atat. Without shapes, each particle is its own pixel in its own colour.releasetakes every pixel once, in the order of asweepacross the sprite, while what is left stays drawn: death dissolves and teleports.tintstages may now be one colour each, turning a whole particle that colour. - An
aurashape layer is a continuous glow hugging a sprite, reaching further upward, its edge licking up in flames as noise rises; spanning a looping effect, it loops without a jump. Random particles along an outline looked patchy; this does not. examples/hero-magic.fx.jsonputs a teleport and a looping spirit aura on the rigged hero, read fromhero.poses.json.- A symbol may be a whole animation (
{ recipe, animation }): a sprite emitter or aura on it shows its frame i in the effect's frame i. A sprite emitter withdraw: trueand nothing to spawn only draws its sprite, so a character can sit under its effect. - A
trailshape layer is the smear behind a moving point.follow: { recipe, animation, point }takes the point from each frame of a pose animation (blade.tip, in-between poses included), and apivotsuch asblade.anchorbends it round the hilt: a crescent whose outer edge is where the tip went.examples/swing-trail.fx.jsonputs one on the sword ofswing.poses.json.
Effects that loop, and examples that follow their own advice
- In a looping
pixelforge-fxeffect, a shape layer that spans every frame is a cycle: it moves at a steady pace (easedefaults tolinear), is whole from frame 0 (revealdefaults to 0), and aburst's noise boils outward byboilpixels every cycle without slowing. A looping fireball changed 158 pixels at the loop point against at most 59 between other frames; it now changes 49, inside the 29–60 of the others. One-shots and shorter windows in a loop draw exactly as before, so every earlier source keeps its pixels. examples/fireball.fx.jsonis a projectile in flight that loops seamlessly: a cycling burst, a beam tail with whole waves and looping embers.- The fire explosion's smoke is blob particles with lit and shade bands that swallow the dying fire and fade by breaking into shrinking puffs, instead of dithered grey; its shockwave breaks into pieces instead of thinning to a one-pixel ellipse, and its fire cools from the outside without leaving a dark ring.
- The slash hit's and lightning strike's rings break up instead of ending as one-pixel outlines; the lightning bolt flickers out by frame 6 instead of lingering as a thin line. The healing circle's pillar has clean bands instead of dither speckle. The landing dust in
examples/effects.fx.jsonis round, lit puffs that spread and shrink away instead of two flat slabs.
A lighter skill
- The pixel art skill is 12 KB instead of 21 KB and starts from the quick start, which covers most tasks, instead of asking for the 50 KB authoring guide before the first recipe. The core loop, the art brief and work order, and the judgement rules for characters, tiles, scenes, effects and lighting stay; field-level details now link to the guide and workflow sections that already hold them.
Smaller replies
- The CLI's
renderandscenename their folder once (directory) and list files relative to it, leaving out each frame and, past 16, each animation, as MCPpixel_renderdoes;--list-fileslists every file. A 13-frame sprite's reply went from 3.9 KB to 0.8 KB.removedpaths are relative too. compile,autotileandimportwrite their metadata only with--metadata <new.json>; without it the reply carries a hint instead of the metadata, which ran to 110 KB for one rigged figure (MCPpixel_compilealready returned it only on request).- Clipping lists the first 16 places instead of 64, and the CLI and MCP replies now pass on
clippingOmitted.
Every error in one reply
- Validation names every broken drawing operation at once instead of stopping at the first: the error's
pathand message start with the first, the message names the rest, and the CLI's and MCP's error replies list each inerrors(up to ten). Frame fields, animations and the sheet still stop at once. - A grid names every row whose width differs from row 0, with its width (
row 6 has 19, row 9 has 21), and every unknown character with its row.
Rigged figures that say what went wrong
examples/hero.poses.jsonis a complete rigged side-view figure to start from: bone limbs, a mass torso, a grid head and boots, far limbs a ramp step darker, and the idle, walk, run, jump, attack and hurt templates, each passing its own motion checks. Its origin is where the feet meet the ground, so every frame's atlas anchor is a ground point, and its torso stands there byat. The skill, quick start, workflow guide, README and llms.txt point to it.- Compiling poses warns when a pose draws outside the canvas: how many of its pixels are lost, the box its parts cover and its origin. A figure placed entirely off the canvas used to compile to empty frames with no word about it. The rest pose of a rig says once that the generated poses follow it.
- Warnings on poses that motion templates generate point at what the author wrote. A reach warning is said once per motion and leg, naming the poses (
poses.motions.walk (farShin).reach: … in 8 of 8 poses …), and once per leg when the rest pose already ends away fromrig.ground(poses.rig.legs[1] (farShin): … this leg ends at row 64 …). They were one line per generated pose at a path such asposes.poses[13].parts[3], which no source has. An authored pose that replaces a generated one keeps its own index in errors and warnings; the metadata keeps one entry per pose. - The render check fails a delivery with nothing visible (every checked frame fully transparent), with or without
expect, and its fix points at the compile warnings and the source. It used to pass withcolors: 0and a note. poses.schema.jsonsays a part'satis an offset from the pose origin (or the attached point), not a canvas position, and whatoriginis.- The plain humanoid figure fixture is 36 pixels tall instead of 32, so its jump apex keeps the top of its head (18 pixels were clipped); its figure golden is updated.
Lit sprites in Godot
- A scene export's asset with a normal pass also gets
normal_y_up.png, the pass with green flipped to +Y up as Godot and Unity read a normal map, andcanvas_texture.tres, a Godot 4CanvasTexturepairingcolor.pngwith it at nearest filtering. Itssprite_frames.tresdraws through that CanvasTexture, so anAnimatedSprite2Dgiven it is lit by Light2D nodes such asPointLight2Dwith no import settings to change.alignment.jsonnames both (canvasTexture,passes.normalYUp);normal.pngkeeps its +Y down convention. node scripts/verify-godot.mjschecks the lit asset's frames draw through the CanvasTexture and its normal map isnormal.pngflipped. With--renderit lights the sprite in a Godot window from four sides: in Godot 4.6.3 the half facing the light is brighter, and the unflippednormal.pnglights it upside down.
Godot TileSets for autotile sets
- A recipe whose frames are an autotile set also exports
name.tileset.tres, a Godot 4TileSetforTileMapLayer. It has one atlas source on the sheet's grid (padding and scale as margins and separation) and one terrain: blob sets match corners and sides, cardinal sets sides only, and each tile's peering bits are its neighbour mask. Painting the terrain in Godot picks the tile Pixelbolt's tilemap would. Frames of one mask are alternatives Godot picks between at random. An animation that loops over one mask's frames, laid side by side in a row of the sheet, becomes an animated tile with each frame's time. - The export warns instead of guessing: a trimmed sheet gets no TileSet, a set missing masks is named, and an animation that wraps onto the next row of the sheet keeps its first frame and says to set
sheet.columnsto a multiple of the frame count. A bundle can now hold 9 support files, so 65,535 − 9 − frames animations fit (65,525 with one frame). - The CLI's
render, MCPpixel_renderand the studio's Export assets ZIP include it, andpixel_render'ssaveAstakestileset. A saved TileSet names the saved sheet relative to itself, keeps its sheet inside the Godot project, and replaces only another TileSet withoverwrite. node scripts/verify-godot.mjsnow also loads a blob, a cardinal and an animated TileSet in headless Godot. It checks every tile's peering bits, region, pixels and frame times, then paints five maps with Godot's terrain painter: Godot 4.6.3 chooses Pixelbolt's tile in all 762 painted cells.
CI: slow downloads and a slow browser
- The portable build tries a Node.js runtime download again after a dropped connection, a stall of 30 s, a connection slower than 256 KB/s over 15 s or a server error (four tries), and says how to supply the archive yourself if every try fails. CI keeps the downloaded runtimes in a cache keyed on the pinned version, and a runner without its own entry starts from another system's.
- The studio walk waits up to 30 s instead of 8 s for something to happen, and for each sample's drawing instead of a fixed 150 ms. A cold browser on a busy runner once took longer than 8 s to load the studio.
Fixes
- A pose source without
rampsof its own takes them from the shared palette file it links ({"palette": {...}, "ramps": [...]}), as a recipe does and asposes.schema.jsonsays, in the CLI, MCP and studio. A bone or mass that names a ramp in a source with none now says to addrampsinstead of "expected an integer from 0 to -1". - An fx cue named like a member of every JavaScript object (
toString,constructor,hasOwnProperty,valueOf) becomes a frame point and a metadata cue like any other name. It was dropped without a word, because the cue map seemed to have it already.
0.9.2 (2026-10-28)
The pixel art skill on its own
pixelbolt skill install(ornpx -y pixelbolt@latest skill install, with nothing cloned) installs the pixel art skill for Claude Code with no MCP server: into~/.claude/skills/pixelbolt-pixel-art/, the current folder's.claude/skills/with--project, or any skills folder with--dir. It prints where it wrote.- The installed
SKILL.mdruns every command throughnpx -y pixelbolt@<the installing version>instead of a checkout'snode bin/pixelbolt.js, and the agent guides, the schemas, every example and the licence are copied beside it, so the files it names are there. It maps each MCP tool the skill mentions to its command. Links to other repository files point to GitHub at that version's tag. The skill shipped in the package and the Claude Code plugin is unchanged. Installed from a checkout, the reply warns that npx runs the released version of the same number. - A
.pixelbolt-skill.jsonmanifest records each file's SHA-256. Installing again leaves an unchanged copy alone, updates an earlier version's untouched copy (or finishes an interrupted install or update, and puts back a file that was deleted), and refuses a copy you changed, a file of yours that a new version also ships, or a folder it didn't write, unless you pass--force. A manifest naming anything but plain paths inside the skill counts as none. Files are written beside their target and renamed into place, and a skill folder, or a folder inside it, that is a link is never written or removed through.
Godot SpriteFrames and Aseprite frame tags
- Every export writes
name.tres, a Godot 4SpriteFramesresource, besidename.pngandname.atlas.json: oneAtlasTextureper frame cut from the sheet, and every recipe animation in recipe order with its frames in playback order and its loop. A trimmed frame'smarginkeeps it the full canvas size with its pixels in place. Godot plays a frame for duration ÷ speed seconds, so each animation's speed is 1000 ÷ the largest step that divides its frame times and the durations are whole numbers (240, 140 and 220 ms play at 50 FPS for 12, 7 and 11); when that step is under 9 ms the shortest frame sets the speed, at most the 120 FPS Godot's editor shows, and a warning names the animations whose fractional durations Godot keeps to a ten-millionth. The.tresnames the sheet relative to itself, which Godot reads from the.tres's folder, so the two work anywhere in a project together. The Godot docs said to slice a grid by hand; game integration now covers the.tres, texture filtering, moving the sheet, and a Godot 4.6 playback issue (godotengine/godot#123572) that can skip a long frame right after a very short one. - The atlas's
metagains Aseprite-styleframeTags(name,from,to,direction) for every animation that plays one run of frames forward, backward or ping-pong;fromandtoindex the atlas's frames. An animation that holds or skips frames has no tag, andanimationsstill lists all of them. No existing field changes. - The CLI's
render, MCPpixel_renderand the studio's Export assets ZIP include the.tres, andpixel_render'ssaveAstakesgodot("saveAs": { "sheet": "game/sprites/hero.png", "godot": "game/sprites/hero.tres" }): a saved.tresnames the saved sheet, or the export folder's, relative to itself; inside a Godot project (a folder withproject.godot) its sheet must be in the project too; andoverwritereplaces a.tresonly if it is a SpriteFrames. Scene exports addassets/<n>/sprite_frames.tresover each asset's colour pass, named inalignment.jsonasgodot. - A bundle now has 8 support files, so a recipe fits 65,535 − 8 − frames animations (65,526 with one frame). Tidewatch's game atlases are regenerated with their frame tags.
node scripts/verify-godot.mjsloads the forest spirit and a trimmed, scaled sheet with unequal durations into a headless Godot 4 and checks every frame's region, margin, size, pixels and time, and each animation's playback step by step against a replay ofAnimatedSprite2D's own code. Godot 4.6.3 passes.
Spell shapes
- A
pixelforge-fxeffect can carry shapelayersbeside its emitters: aringshockwave, aslashcrescent, abeam, aboltof lightning, aglyphmagic circle, an impactstarand aburstfireball, each one line of JSON. Every layer writes a brightness field inside its own window of frames, with any number written as 2–8 keys moving across the window; namedlookscut the layers' fields into hard bands of palette colours, with optional ordered dither, thencleanupand a one-pixeloutline.powererodes a shape as it falls,squashandtiltlay rings, magic circles and a pillar's foot on the ground or turn a slash onto a diagonal, andcuemarks a layer's first frame for game code. The shapes compile to one grid per frame betweenbehindparticles and the rest, so sparks and embers still draw on top, and the result is an ordinary recipe. Sources with only layers need nosymbolsoremitters; effects without layers compile exactly as before. Thefxschema and the art workflow describe every field, andexamples/has four reviewed effects to start from: a slash hit, a fire explosion, a lightning strike and a healing circle. - Shape painting visits only the canvas and counts what it visits: past 400,000,000 pixels in one compile, the layer that crosses the line is refused by its path, and an fx source whose effects make more frames than a recipe holds (256, or 4,194,304 pixels of frames) is refused before anything is simulated or drawn. A stream thousands of pixels across an 8 × 8 canvas used to keep
compilebusy for hours; it now takes under a second, and the shipped effects use under 0.1% of the budget.tiltandsquashbelong to rings, slashes, beams, glyphs, stars and bursts (a bolt or a stream refuses them rather than ignoring them), noisescaleis a whole number of pixels, a glyph'sstepmust be fewer than itspoints, and a beam whosetois itsatdraws its round cap instead of a filled square.
Liquid shapes
- Shape looks take
litandshadebands with alightdirection: each recolours the look's own pixels by how far its field falls two pixels toward the light (or away from it), so a body of water gets a highlight on one rim and a shadow side on the other, as the fluid looks do. - A
streamlayer draws a tapered body along a smooth curve through 2–8 points, withheadandtailkeys for the part drawn, ataperalong it and a travellingsway: geyser spikes, whips, spirals and wave curls. - An emitter with
blobdraws its particles as soft discs summed into a look's field instead of symbols, so drops that touch merge into one body and split again, shrinking throughradiuskeys over their lives. - Every shape kind takes
noiseandscale, so a fallingpowerbreaks any shape into pieces and drops, and every layer takes afloorthat cuts it off below a row (a dome, an arch). Effects that use none of these compile exactly as before.examples/water.fx.jsonhas five reviewed water effects: a geyser, a whip, a ring breaking into drops, a popping dome and a curling wave.
Wave effects
- A
pixelforge-wavesource bakes looping interference and portal or shield interiors. Its signed radial and directional waves add up before the palette thresholds, so opposite phases leave cancellation gaps, and the result is an ordinary recipe of palette grids.pixelbolt compile, MCPpixel_compile(schema inpixel_helptopicwave), the studio andcompileWavesfrompixelbolt/wavebuild it.examples/interference.wave.jsonandexamples/portal.wave.jsonare two reviewed presets, and wave effects explains the controls.
Large stills
- A recipe with a single frame may be up to 4096 pixels a side, within the 4,194,304 pixels every recipe's frames already shared, so a 1920 × 1080 or 2560 × 1440 backdrop or mural is one canvas at one screen pixel per art pixel. Rectangles, ellipses and dither or shade regions on such a canvas may be up to twice its side. Recipes with two or more frames, scenes and their assets, pose, effect, wave and fluid sources, and
importkeep the 256-pixel limit, and every existing recipe renders exactly as before. - The render check offers a still at the asked size alongside a smaller canvas at a whole
sheet.scale, and alone when no whole scale makes the size; a recipe with several frames gets the same advice as before. MCPpixel_inspectregions reach across a large still. The studio opens one fitted to its window (a Fit zoom, offered only for large stills, that scales it down smoothly) and leaves out the native-size preview, which a large still would push off the page; 1× and up show its pixels, and sprites keep their zoom. - Every tool takes a still up to its full size.
pixel_render's preview andinspectdraw a 4096-pixel still (a sheet may hold 4096 pixels of frames plus its 2-pixel gutters). A patch across a still too wide for before and after side by side draws before above after and says so inimageNote.rewritekeeps each match as one 64-bit number instead of an object, so a 2048 × 2048 rewrite takes a tenth of the time and memory for the same pixels. Frame pixel corrections may reach 4095 in the schema, and a normals source whose colour recipe is over 256 a side is refused up front bynormals.recipe, since normal passes feed scene assets.
Depth and perspective
- A scene's depth view shows what is drawn in front of what. MCP
pixel_scenewithview: "depth",pixelbolt scene <scene.json> --image depth.png --view depth --time 900and the studio's Depth box tint each placement by when it is drawn, cool for far and warm for near, leave the ground (placements that lie straight on the background) grey, and draw each sorted placement's ground line with a tick at its placement point, so an anchor on the wrong row shows at once. The reply'sdepthlists the sorted placements far to near with the point each stands on, andoverlaps, who covers whom by how many pixels; when nothing is sorted, a note says so. In the diorama study it reports the barrel covering the hero who walks behind it, and with sorting removed, the hero covering the barrel.renderScene(scene, { depth: true })andsceneImage(view, { mode })are the same in JavaScript. guidesonpixel_inspect,pixel_scene,inspect --guidesandscene --image --guidesdraw a horizon, rays from up to three vanishing points and an isometric diamond grid over the enlarged image, never into the art.- A
pixelforge-normalssource takesfaces, a map from the colour recipe's palette keys to normal directions, so the top, front and sides of a box, wall or building get flat planes instead of a cushion. Other pixels are rounded as before; metadata counts each faced key's pixels, and a key that draws nothing is a warning. - Scene tilemaps take
sort: "ground": each tile joins the sorted placements, standing on the bottom row of its frame, so a row of walls covers a hero walking behind it and a hero in front covers the walls. A tree drawn as one frame taller than its tile stands on its trunk's row, so its canopy covers whoever walks behind it. The depth report lists a sorted tilemap as one item per row of tiles ({name, ground, tiles}), and the depth view runs that row's ground line under each tile. Unsorted tilemaps draw as before. - A scene placement takes
lift: it is drawn that many pixels above where it stands, and where it stands still orders it, so a hero jumping in front of a barrel stays in front of it. A height hovers; keys of height over time ({time, height, ease}, with cue names) make a jump. What is attached to a frame point rises with it;attachwithout apointnow follows where a placement stands, so a contact shadow stays on the floor under a jump. Placements and the depth report show each lift, and the depth view draws dashes from the ground tick up to a lifted placement. - A placement attached to a frame point stands on its target's ground line, straight below the point, and is lifted up to it. With
sort: "ground", a held sword now sorts with its hero, list order deciding which of the two is in front; before, it sorted by the hand's row, so a barrel the hero stood in front of covered the sword. Itsliftin placements and the depth report is the point's height above that line, and a light following it without a point sits on that line. Nothing else moves: the diorama's three scenes render the same pixels, lights and depth report at every 50 ms. - Scenes take
haze, the colour far planes fade toward, and a placement or tilemap withhazefrom 0 to 1 stands that far into it. After lighting, each colour moves that much of the way to the haze colour as a whole colour, never per pixel, so each becomes exactly one colour and keeps its place among the others, as a far palette an artist mixes does. Hazecolorskeep hazed placements inside a fixed palette: each faded colour becomes the nearest of them. The reply lists each hazed placement with the colours its palette keys became, ready for an asset entry'spalette. - Scenes take a
camera, the scene point at the view's top-left corner, fixed or keyed over time with cue names and easing, and placements and tilemaps takeparallax, how much of the camera's movement each follows: 1 the scene, 0.5 a far plane, 0 fixed on screen, above 1 a foreground plane, or[x, y]per axis. Each plane rounds its share to whole pixels. Attached placements move with their target, lights with the scene or the plane of what they follow, and ground sorting still compares scene positions. Replies give the camera's position; clipping at the view's edges is no longer a warning when a camera is set. The studio's light dragging allows for the camera. Without a camera, scenes draw as before. - A
boxoperation draws an isometric box: a 2:1 top face whose edges runwanddpixels across, over a left and a right facehpixels tall, each with its own colour, and an optionaledgehighlight. Each pixel belongs to the face its centre lies in, so edges step exactly two pixels across per row and boxes on a 2:1 grid meet with no gap or overlap;h: 0is a floor diamond. In a sorted layer it stands on its bottom row. - Tilemaps in scenes and the recipe
tilemapoperation takelayout: "iso": cells lie on a 2:1 diamond grid, draw back to front, and each frame or symbol stands on its diamond, so blocks taller than the tile rise above their cells. In a sorted scene, an iso tile stands just above its cell's centre, covering what stands behind it and drawn under whatever stands on top of it withlift. - A scene placement or tilemap takes
shadow: trueand casts a shadow from every scene light that reaches it: its frame, a cutout standing on its ground line and turned to face the light, stops that light on the pixels it falls on, so the shadow takes the light's colour, reach, flicker and keys, overlapping shadows of one light are no darker, and ramp lighting keeps the palette. Shadows fall away from the light, longer the farther the caster stands and the nearer its top comes to the light's height, and only on what is drawn before the caster or its sorted group, so standing things never shadow each other. A lifted caster's shadow leaves its feet, a tilemap casts from each tile, and a light riding a placement casts no shadow of it. Renders reportshadows: each caster's light, pixels, reach and direction. - A scene light can be a sun:
{"sun": [1, 0.5]}falls the same way everywhere, with no position, height, reach or falloff, so outdoor scenes are lit alike from one direction.sunis how far a shadow falls across the ground per pixel of height, so it sets both where the sun stands and how high, and placements withshadowcast parallel shadows that long;[0, 0]is overhead. A sun takes colour, strength, flicker and strength keys, lights normal passes from its direction, and is reported as{sun, strength}. The studio lists it as a sun with no marker; its Shadow X and Y sliders setsun, and saving writes it into the scene. - The art workflow's brief asks for a projection and depth planes, and a new depth and perspective section lists projections with their normal faces, the tool for each depth cue, and how to review depth. The pixel-art skill and quick start point to it.
- A sorted tilemap at
scale2 or more stands on the first screen row of its bottom art row, as a placement does, so a tile and a placement on the same row tie and list order decides at any scale. A placement withshadowanchored on its top row (the default[0, 0]) warns that it casts nothing. Overlappingrepeatcopies of one placement don't cover each other in the depth report.lift, and a keyed light'sstrengthandradius, stay in range when eased withovershoot(lift 0–256, strength at least 0, radius at least 1).
Ground sorting in recipe layers
- A layer with
sort: "ground"draws its operations far to near by the row each stands on, as scene placements with the samesortdo: an operation'sground, or the lowest row it draws (a stamp's or grid's bottom after scale and rotation, a line's lower end). Trees, grass, rocks and figures in one sorted layer overlap correctly whatever order they are listed in; with a layer per kind, grass drawn after the trees covered the trees standing in front of it. Text needsground, area operations such asditherandfillare refused in a sorted layer, andgroundoutside one is an error. Layers withoutsortdraw as before.
Studio viewing
- The studio's preview zooms with the scroll wheel at the pointer, pans by dragging, and has − and + buttons, a Fit zoom for any canvas, 3×, 6×, 24× and 32×, and keys: + and − zoom, 0 fits and F toggles full screen. Full screen fills the window with the preview (and the screen, where the browser allows it); Escape leaves it.
- On a desktop-sized window the studio fits one screen: the page no longer scrolls, the projects, preview and source columns each scroll on their own, and the preview and the recipe editor take the height there is. Narrow or short windows keep the stacked layout.
- Dropdown lists in the studio are dark. On Windows an open list drew the light option text on white, so the zoom and other choices could not be read.
Exports at the names the user asked for
- MCP
pixel_rendertakessaveAs, a map fromsheet,atlas,recipe,gif,apngor any exported PNG, GIF or JSON file to a path inside the server root, and writes those files there as well as in the export folder; a GIF named there makes the GIFs. Every path is checked before anything is written (inside the root, links included; not in the revision store; not a hidden name, one starting with., nor in the home folder'sAppDataorLibrary; not a palette or asset file the recipe references, also when it comes back as a revision; a name the file system can take; same file type; not named twice, letter case ignored on Windows and macOS). Each copy is staged in a temporary file first, and a call that fails puts back what it had replaced, so the destinations stay as they were; an existing file is replaced only with"overwrite": true, and a JSON file only if it is a recipe, atlas or sequence, so a workspace that is a whole home folder (the desktop bundle's default) can't have a settings file replaced (renamed over, so a hard link to it keeps the old bytes), a saved atlas names the saved sheet (and a sheet name that would read as another name in a URL is refused), and the reply'ssavedlists each copy. Agents left exports inoutput/<name>-<id>/and the user's named file never appeared (P-011).
MCP: ping and cancellation during a call, and a smaller tool listing
- The MCP server answers
pingwhile a tool call runs, andnotifications/cancelledstops a call: a running one ends its worker (the next call starts a fresh one) and one still waiting is skipped. Neither gets a reply, as the MCP specification asks, andinitializecan't be cancelled. Everything else is still answered one request at a time, in the order sent. The server used to read nothing while a call ran, so a ping waited up to the call's 50-second limit (clients may drop a server whose ping times out), and a client could not stop a call it no longer wanted. While more than 16 MiB or 256 requests wait, the server pauses reading until the queue shortens. - The tool listing an agent reads on connect is 15,877 bytes instead of 23,264, roughly 2,000 fewer tokens per session. Tool and option descriptions are shorter, and
pixel_scene'ssequencenamespixel_render's options instead of repeating them; the server still rejects an unknown option by name.pixel_help'sguidetopic explains every option, and now also the sequence defaults the listing dropped. The listing was within 1.3 KB of its 24 KB cap, too little room for the next feature's options.
CI fails only when something is broken
- The test suite and the studio walk no longer assert how long anything takes, so a slow or busy runner can't fail them. They hold the work instead: the renderer's drawing count for the hero and boss rigs, the size of their motion review images, and one redraw for every live edit in the studio. Two checks that guard against a hang (the fluid work budget, wildcard frame names) bound this process's own CPU time.
- The timings moved to
npm run bench -- --budgets: the figure workflow's targets and a few loose limits, as eleven cases with a budget each. CI runs it as an advisory job; a case over its budget is a warning on the run, never a failure. - The MCP time-limit test moves a mocked clock, so only the slow call meets the 0.3 s limit. On a real clock the call after it was held to 0.3 s too, and a busy Windows runner once took longer.
- The portable build tries a Node.js runtime download again after a dropped connection, a stall of 30 s or a server error (three tries), and CI keeps the downloaded runtimes in a cache keyed on the pinned version.
Fixes
-
<command> --help(and-h) prints the help, as the quick start and the standalone skill tell agents to; it used to answerUnknown option: --help.skill installfinishes an install cut short while it was writing a file and clears the temporary file it left, names inkeptan edited file from an earlier version that--forceleaves alone (it was listed as overwritten), and lists inoverwrotewhat--forcereplaced in a folder it didn't write. -
Scene lighting measures lengths with square roots of sums instead of
Math.hypot, which engines may round differently, so a lit scene draws the same pixels in the studio's browser as in Node; every example renders as before. A test now keeps engine-dependent maths out of every source module. -
Palette files, scene assets and normals recipes that the MCP server reads, and
pixel_importpaths, must be inside its root once links are followed, not only by name. A symbolic link or Windows junction under the root could lead anywhere, so a"palette": { "$ref": "link/file.json" }or an asset read a file outside the folder the user chose. Links that stay inside the root, and a root that is itself a link, work as before (saveAsalready checked links). A name that only starts with two dots, such as..notes.json, is no longer taken for one outside the root. -
A forced export (
render --force) into a folder another sprite was exported to no longer deletes that sprite's frames and animations. It removed every PNG inframes/andanimations/that it didn't write itself, so re-exportingcoinbesideemberdeleted ember's frames and any PNG added there by hand. It now removes only the frames and animations its own earlier<name>.atlas.jsonlists, never one another atlas in the folder lists, and nothing when an atlas there can't be read. -
A pose whose two-bone
reachtarget is out of range says so in thewarningsof MCPpixel_compileandpixel_inspectand the CLI'scompileandinspect. The warning was only in the compile metadata, sopixel_compilewithoutmetadata: true,pixel_inspectandinspectof a pose source, andcompile --metadata <file>answered with no warnings and a clamped pose.compilePosesnow also returns the warnings as text beside the recipe, as the other compilers do, and the studio's status line shows them. -
The MCP server reads an object or list argument sent as JSON text, such as a
projectrecipe passed as a string, and its reply ends with a note that says so; text that isn't JSON of the declared type gets an error naming the argument and what to send instead. Agents that call a tool without loading its schema sometimes send the recipe as a string, and the bareproject: expected an objectcost them a turn each time; one went back to drawing in its own script (P-041). The plugin's eval mock no longer names a version (it said 0.9.0 in 0.9.1), and its tool list and source formats match the server again, wave effects and thesaveAswording included. -
A keyed fluid obstacle that moves more pixels a frame than it is thick pushes water and smoke ahead of it instead of passing through. Only the cells it landed on were cleared, not those it passed over, so a 1-pixel plunger at 5 pixels a frame left about a fifth of the water behind it. Obstacles that move no faster than they are thick behave as before; every example and preset renders unchanged.
-
Animated PNGs give frames of 10 ms or less 11 ms, and the render warns which. Browsers play such short animation frames at 100 ms, so a 5 ms flash flickered ten times too slowly; the atlas, CSS and Canvas player keep the exact durations.
-
A PNG carries an embedded recipe only up to 1 MiB, the most Pillow opens:
--embed-recipeandembedReciperefuse a larger one with an error naming the size, and the playground writes such a PNG without its recipe and says so. Up to 16 MiB used to be embedded, which made PNGs Pillow (and the Python tools built on it) could not open. -
An accent on the first line of rotated or vertically flipped
textno longer moves the letters. The accent rows always moved the block up, even where the transform put them below or beside the letters, so CAFE and CAFÉ landed 2 × scale pixels apart; centred and right-aligned rotated text also measured the accents. Unrotated, unflipped text is unchanged. -
A GIF whose first frame is fully opaque keeps its later transparent pixels clear in Pillow too. Pillow decodes every later frame with or without alpha by whether the first frame names a transparent colour, so those pixels came out opaque black there (browsers and ffmpeg showed them clear); the first frame now names one whenever the animation has transparency.
-
The MCP server answers a tool call whose arguments nest more than 128 levels deep with an error and keeps serving. A request of about 12 KB nested thousands deep used to overflow the stack while it was handed to the tool worker, and the server exited.
-
Where letter case is ignored (by default on Windows and macOS), a
--forceexport after renaming a frame, animation or recipe only in letter case (Runtorun) writes the files under their new names. It used to write into the oldRun.png, then delete it as a leftover, and report success with the frame missing; a shorter sequence also left the old spelling's extra frames behind. -
No CLI command writes over a file it reads, even with
--force.compile,autotile,overlay,import,inspectandgifused to replace their own source or a shared palette when--outnamed it (compile x.poses.json --out x.poses.json --forceleft a compiled recipe and no source);patchmay still save over the recipe it edits. Exports compare paths on disk, so a folder link, a short 8.3 name or a hard link to the recipe no longer gets past the checkrender,sceneandsequencealready had, and--outand--metadatathat differ only in letter case are refused on macOS as on Windows. -
Tilemap variants without a
seedare picked by a seeded hash of the cell, like the rest. Two variants used to come out as a checkerboard and four as a 4×4 repeat, the very tiling variants exist to hide. Maps with variants and noseedrender differently from 0.9.1; maps with aseed, and legend entries that name one frame, are unchanged. -
The browser playground asks before a link opened in the same tab (pasted into the address bar, or reached with Back or Forward) or an opened file replaces edits nobody has kept, and declining puts the address back. While there are such edits, leaving or reloading the page asks too. A link used to replace them silently, and reloading reopened the link over them.
-
The playground shows a link's, PNG's or example's recipe indented only up to 50,000 lines, and compact beyond. A 6 KB link whose recipe unpacked to 2.4 million indented lines froze the page for 20 seconds and each key for about 6; it now opens in about a third of a second.
-
Each studio tab keeps its own draft. Loading a sample or choosing New, Open or Save JSON in one tab used to delete the draft of another tab's unsaved edits, and editing in a second tab replaced it. A reload finds the tab's draft again, and a new tab is offered the drafts of tabs that were closed or crashed, never those of tabs still open.
-
The scene page's Save scene settings writes the scene as written, with only the light fields you changed. It used to write the scene with every asset and palette file read in:
forest-spirit-lit.scene.json, under 500 bytes namingforest-spirit.jsonand its normal pass, came back as 17 KB of inline recipes under the same name, and the links to those files were gone. The studio serves the scene as written beside the resolved one, read-only. -
The scene page's Radius slider changes a keyed light's preview. Its keys had copied the light's radius when the scene loaded, so the slider changed nothing on screen while the saved scene, opened again, drew the new radius; now the keys that set no radius of their own follow the slider, and when every key sets one the slider is off.
-
The studio's Save JSON keeps a recipe's link to a shared palette file.
pixelbolt previewsent the studio the recipe with"palette": { "$ref": "shared.json" }already read in, so Save JSON wrote the file's colours inline and the link was gone. The editor now holds the recipe as written, and the page draws it with that one file, served read-only; a recipe that links any other file is not drawn, and the error says why. Pose sources keep their link too, and effect, fluid and autotile sources open as the recipepixelbolt compilewrites beside them, link included. -
The studio's Save JSON no longer deletes the draft or says the file was saved. The page cannot tell whether the browser kept the file or the user cancelled its save dialog, and in that case the draft was gone, the toast still said "Project JSON saved" and leaving the page no longer asked. The draft now stays until you edit again or replace the recipe, leaving still asks, and replacing a recipe just sent to Save JSON says the save may have been cancelled.
0.9.1 (2026-10-25)
Releases wait for every test and keep publish rights away from third-party tools
- Release runs the whole Tests matrix on the tagged commit (Node 20, 22 and 24, Windows, macOS, the portable builds, the MCPB bundle) and publishes nothing unless all of it passes. It used to run the suite once, on Linux with Node 24.
npx @anthropic-ai/mcpb validateand the other checks now run in a job that can only read. The job that attests and publishes the GitHub release rebuilds the bundle itself and refuses unless it matches the verified one byte for byte, so a compromised validation tool can stop a release but not change what is attested. The npm job runs onlynpm publish; trying the published package withnpxmoved to a job without rights. See the table in Publishing.
MCP calls have time and memory limits
- Every MCP tool call runs in a worker thread. A call that takes longer than 50 seconds, or runs out of memory, is stopped and answered with an error naming the limit, and the server keeps serving; before, one call could hold the server for many minutes or crash it.
pixelbolt mcp --time-limit <seconds>changes the time limit. - Child particle emitters that multiply within one frame fail at the 1,024-particle limit as soon as they reach it. A four-level
when: "life"chain used to build millions of particles first and crash the process out of memory. *and?frame patterns ininspectmatch in time proportional to the pattern and name. The regular expression they used could take minutes on a pattern of 18 characters.- An MCP
sequencemay come to at most 512 MB, the studio's limit;pixelbolt sequencewrites longer shots. One call used to write 18,000 4K frames, about 660 MB, without a question. pixel_helpwith an unknown topic names the topics instead of failing with a file path.
Fixes: scene repeats, forced re-exports, exports over their own recipe
- A scene placement's
repeatdraws every copy again. Since 2026-10-07 only placements withsort: "ground"did; the others drew one copy and dropped the rest (the Listening Hollow's stride scene lost five ground tiles). --forceover an earlier export of the same recipe or sequence no longer leaves its old files behind: a shortersequenceused to keep the longer one's later frames, which video editors andgif-framesthen picked up, and a renamed frame or animation kept its old PNG. A forced export now removes them after writing and lists them asremoved. It only does so when the folder holds that export's ownsequence.jsonor<name>.atlas.json, and only for numbered frames of that name or PNGs inframes/andanimations/; nothing else in the folder is touched.render,sceneandsequencerefuse to write over their own recipe or a palette or asset file it references, even with--force.render hero.json --out . --forceused to replacehero.jsonwith its inlined copy, losing a palette$ref.
Five fluid presets for the newer features
examples/gains five presets, each with a GIF in the README and a place in the Fluid lab: snow off a roof (wet snow slides off a smooth roof as one slab and settles in a drift), dam break (a plank dam that an obstacle key takes away at frame 14), dust wave (a falling stone throws carried dust both ways), bursting slime (a burst fill) and honey let-go (keys thin stiff honey so it drops off a smooth spoon, then thicken it so the bowl settles). The playground lists them from the next release.- The Fluid lab's Thickness slider reaches 64, the compiler's limit for viscosity, so the honey let-go shows its own value.
- The stuck-fill warning no longer fires for a liquid with
adhesion, which is meant to cling.
Fluid obstacles that move on cue
keyson a fluid obstacle move it (x,y, in a straight lineoversome frames) or take it away and bring it back (show) from a chosen frame: a dam that vanishes, a gate that lifts, a plunger, a paddle through smoke. While a key'soverruns, the obstacle pushes the fluid ahead of it, since its faces carry its speed along the ramp, and fluid in the cells it now covers is shoved along to the first open cell, never through another solid. A key with nooveris a cut: the obstacle is simply elsewhere and pushes nothing. Water held by a wall that vanishes at frame 15 stays put until then and floods after; a plunger moving 36 pixels carries the water's middle from x 18 to x 55 and keeps 1,277 of its 1,280 particles. Each frame stamps the obstacle at its place, and live runners move it too. Obstacles without keys are unchanged.
Renders check themselves
pixel_renderandpixelbolt renderreport acheckof what they wrote: each frame's pixel size, every animation's frames and loop, the colours used, transparency and the GIF size. Give them what the user asked for (expectover MCP,--expecton the CLI:width,height,frames,colors,transparent,loop, and over MCPgifScalefor the GIFs) andcheck.problemsnames every file that misses it, with the patch or render call that fixes it; fully transparent frames are noted either way. Agents mostly exported their first try; this puts the check in the path. The tool descriptions, quick start and skill now say to work in that loop.
Fluid figures per frame, to tune by numbers
- Each fluid effect's metadata now has
figures, one list per figure with an entry per frame:box(the fluid's drawn pixels, sparks left out),middle(the middle of its density),amount(smoke, or cells' worth of water),pieces(separate pieces drawn),speed(top speed where drawn) and, for liquids,particles. Agents had to write scripts to measure a heap's height, a cloud's spread or how many pieces a splash broke into; one compile now says. Live runners give the same figures for the current frame withlive.measure(). Recipes are unchanged.
The caption example spells Pixelbolt
examples/caption.json, the studio's Caption sample, types PIXELBOLT (PIX, PIXELB, PIXELBOLT) instead of the old name.
Liquids that hold, then let go, on cue
keyson a liquid change itsyield,viscosity,adhesionorgravityfrom a chosen frame, at once or in a straight lineoversome frames, so the decisive moment lands where you want it. A heap held up byyield: 4stands 21 pixels high until{ frame: 40, yield: 0.3 }, then slumps to 12 pixels by frame 50;{ frame: 30, adhesion: 0 }drops a film that adhesion held under a ledge. Each setting follows the keys that name it, in frame order, and a key that starts during another's ramp carries on from where it had got to; a loop repeats them every cycle, a live runner follows them too, and whitewater without its own gravity follows the keyed gravity. Liquids without keys are unchanged.
Thrown dust: gas carried on heavy carriers
- A gas emitter with
carry: { drag, release, gravity }throws its smoke and heat on carriers, one per covered cell, launched with its velocity, vortex, outward expand and noise. Each carrier slows toward the air's velocity bydraga frame, handsreleaseof what it holds to the air a frame, falls by its owngravity, and drops the rest where it meets an obstacle or a closed edge (so dust settles on a closed floor); what it holds is drawn with the smoke. A carrying emitter needs a positive density or temperature, and an orbiting one throws once a frame. A puff of gas can't be thrown through still air (the pressure solve halves its speed at once), but dust is grains: two bursts thrown sideways at 8 pixels a frame now roll out about 90 pixels across in six frames, against about 26 withoutcarry. At most 8,192 carriers are in the air at once.
Liquid bursts in mid-air
- A liquid fill with
burst: { speed, pieces }breaks into seeded pieces with a one-pixel gap between them, each flying straight out from the fill's middle at its own speed (a number, or[min, max]picked per piece) plus the fill'svelocity. An outward velocity on one connected blob is cancelled by the pressure solve, since a liquid can't expand; separate pieces moving as one each keep theirs. The gaps' water goes to the pieces (to the nearest kept piece when a piece is all gap), so every particle is kept, however small the fill. A ball of radius 8 bursting at 2.5 pixels a frame is in six or more pieces, three times as wide, eight frames later.
Fluid decorations the simulation ignores
- A fluid obstacle with
solid: falseis a decoration: it is stamped over or under the fluid asdrawsays, but the fluid never meets it. A basketball net, a candle flame, a label or a background no longer has to be a solid the water slides along, or painted on afterrender(). A decoration can't usedraw: "none"orsurface.
Fluid warnings for setups that make nothing or start stuck
compileFluidreturnswarnings(and each effect's metadata lists its own) when an emitter lies inside obstacles or off the canvas on every frame it works, so it adds no fluid, and when a liquid fill starts against the underside of a pixel obstacle or a closed edge with open space below it, where the pressure holds it on. Each warning names the field and says what to change.pixel_compileadds them to its reply'swarnings,pixelbolt compileprints them, and live runners list them inlive.warnings. A fill resting on something, including another fill's water, or thrown away from what is above it, is not warned about; nor is an orbiting emitter that clears the obstacle between frames. No preset sets one off, and recipes are unchanged.
Smooth obstacles: liquids slide down drawn slopes
- A fluid obstacle with
surface: "smooth"meets the fluid along an outline traced through its pixel steps, so a drawn 45° roof acts as a straight slope instead of a staircase. Wet snow and slime withslipslide off a smooth roof where they stalled for good on the stepped one, and slime pressed against the underside of a smooth branch falls away instead of hanging from it. Faces along the outline are partly open to the pressure and viscosity solves, particles slide along the outline, and a smooth obstacle pushes on a liquid but never pulls it (adhesionstill holds liquid on). Nothing passes through it, however fast, even where it is one pixel thick. - The obstacle is drawn exactly as before. Pixel obstacles stay the default and behave exactly as before: every preset compiles to the same recipe.
A playground in the browser
playground/is a page for the project site where anyone can try Pixelbolt with nothing installed: pick one of 20 examples (ten fluids, particle effects, poses, a normal pass and a lit scene) or paste a recipe, see it render live, and download a PNG, a GIF (its size shown first) or an atlas. Renders run in a worker with a 20-second limit and a Cancel button.- Share links: Copy link puts the compressed recipe in the link's fragment, which browsers never send to a server, with the engine version, so a link renders the same after later releases. Links are capped at 16,384 characters; larger recipes travel as files.
- PNGs that reopen: every PNG the playground exports carries its recipe in a
pixelbolt-recipetext chunk; drop it back in to reopen it.src/share.jsreads and writes both formats. - The page is live at https://skulitom.github.io/Pixelbolt/playground/;
playground/DEPLOY.mdandnode scripts/deploy-playground.mjsprepare each site change.
Fluid lab sliders that hold every preset
- The Fluid lab's Firmness slider now reaches 16, the compiler's limit for
yield, so it shows and restores the slime preset's own firmness instead of stopping at 8. The Fade slider moves in steps of 0.0025, so the explosion's 0.1375 shows exactly instead of snapping to 0.14. No preset changed. - The lab's presets and sliders live in
studio/fluid-controls.js, and a test checks that every shipped fluid preset fits its sliders exactly and comes back unchanged.
Recipes to reopen and share
- Opt-in
pixelbolt shareprints a playground link,renderandsceneaccept--embed-recipeto carry the resolved source inside PNGs, andimport --embeddedrecovers it. MCPpixel_renderacceptsshareandembedRecipe; a link over the limit reports an error without failing the render. Both formats carry the engine version; links keep the recipe in the URL fragment and open once the playground is live on the project site. With the options off, exports and replies are unchanged.
GIFs at the size you drew
- GIFs now keep the frames' own size unless you ask for more:
pixelbolt gif, MCPpixel_render'sgifandanimationGIFdefault to scale 1. They used to enlarge to the largest whole multiple within 256 pixels, so a 32x32 animation came out 256x256 and agents handed that on when 32x32 was asked for. Passscale(--scaleon the CLI) to enlarge one for posting; the studio's GIF button still uses the current zoom.
Older art out of sight
- The Emberfall and Tidewatch demos and the Listening Hollow study (with its lantern skink) no longer represent what Pixelbolt makes, so they are gone from the README, llms.txt, the guides, the skill and the portable build's START HERE. Their folders stay, marked as archived, because tests use them as fixtures.
- The studio no longer opens on the skink: the forest spirit is its first sample, and the "Light a scene" page shows the lit forest-spirit example (
examples/forest-spirit-lit.scene.json) instead of the Hollow. - The diorama's night scene takes their place in the README: torches and candles that flicker and a flash on the strike.
Scene lights that move
follow: a light rides a uniquely named placement, or withpointa named point of its current frame (a torch flame, a blade tip), withatas the offset. It moves with trajectories, animations and attachments, and is off while the placement is hidden or its frame lacks the point.flicker:{ amount, every, seed }swings a light's strength by up toamounteither way and its reach by up to half as much, along seeded noise that repeats once per scene duration, so looping scenes have no seam. On average it is as bright as a steady light.keysandstrength: strength (0–8) and radius over time, at milliseconds or cue times such as"strike+90", eased between keys. Above 1, ramp lighting lifts colours past their authored shade, so a flash on a hit reads.lit: falseon a placement keeps its authored colours under lighting, for fires, lamps and glows.- Renders,
pixel_sceneand the studio's scene viewer report where each light is at the current time; the viewer's markers follow moving lights, and dragging a following light moves its offset. Scenes without the new fields render exactly as before.
Less for agents to read
- The MCP tool listing is about 20 KB instead of 133 KB (roughly 5,000 tokens instead of 36,000 on every connect):
pixel_validate,pixel_inspect,pixel_patchandpixel_renderdescribeprojectbriefly instead of embedding the recipe's 30 KB JSON Schema four times. The server still checks every recipe and names the path of any mistake. pixel_helpwithout a topic returns a 7 KB quick start (docs/agent-quick-start.md): the recipe format with a complete example, the operations, the tools and working habits. It used to return the whole authoring guide, art workflow, schema and example, 142 KB or about 38,000 tokens. Those are now topics:guide,workflow,schemaandexample, beside the source format schemas.- The examples use the same compact formatting as compiled files (anything that fits in 120 columns on one line, grids one row per line): 362 KB instead of 664 KB for the same data.
Particle effects with structure
- Spawn shapes: a
ring(radius or[min, max], an optionalarc) or alineinstead of theareabox, witheven: trueto space the particles spawned together evenly. On anoutwardring,angleis measured from each particle's outward direction, so an even ring makes a shockwave and an arc a fan of sparks. face: truepicks the sequence by direction of travel (2–16 sequences, the first facing right, turning clockwise), so sparks draw as streaks along their arc.tintlists colour stages over each life, so a spark cools from white to red without a symbol per colour.- Child emitters:
fromnames an earlier emitter, andwhenspawns from its particles where they end (death), first land (floor) or every frame they live (life: trails), withinheritfor a share of the parent's velocity. Loops stay seamless: children are keyed by their parent and the warm-up covers the longest chain of lives.behind: truedraws an emitter under the others. - Timing and cues:
duration: { "from", "to", "ease" }eases frame durations across an effect (infront-loads an impact).cuenames a point at an emitter's spawn centre in every frame it spawns; frames carry it as a named point, atlases export it and the metadata lists it, so game code can shake or pause on the hit. - Every existing source compiles to the same recipe as before: the new draws use their own salts, and the Tidewatch effects and the examples are unchanged.
Torch preset
- The torch's flame no longer burns beside the handle under its metal cup. Its emitter was a radius-4 disc centred inside the cup, so its rim heated the empty pixels beside the narrower handle in every frame (76 pixels over the loop). It now sits 1.5 pixels higher with radius 3.5, which keeps about the same amount of flame and the tall tongues. Its golden and live hashes and README GIF are updated.
Figures in motion
- Bone and mass parts rasterize from structure under palette ramp lighting, with clean thin strokes, socket joints and area-preserving squash. Grid parts keep authored views for detailed hands, heads and props.
- Relative joint angles, attachment dependency resolution, deterministic two-bone reach, angle/reach tweens, relit mirrors and joint metadata extend version-1 pose sources without changing existing recipes.
- Six motion templates generate editable key poses and in-betweens with foot targets, contacts, depth swaps and attack cues.
compile --expandexposes them; authored poses override generated names. - CLI/MCP motion inspection measures foot slide, ground error, pose spread and loop seams. The studio edits pose sources directly and adds Motion and Show contacts controls.
- Pinned figure hashes, performance fixtures, browser checks and independent PNG/GIF verification cover the workflow. Existing example pixels remain unchanged.
- Walk and run keep near limbs, and anything they hold, in front of the body for the whole cycle;
swapDepth: truerestores the exchange for front or back views. Before, a darker far arm and leg were drawn in front for half of every cycle. - Relit mirrors are exact: bone ends, spines and points round halves away from zero, and the direction of −θ is the bit-exact reflection of θ. Before, 352 of 11,520 bone ends and 2,156 spines missed by a pixel.
- Templates sink a motion's poses together, by up to four pixels, when a bob or lean would lift a hip beyond its planted leg, so feet neither float nor slide. Attack follow-through swings 45° past the strike. Every template at its defaults now passes its own motion checks on a plain 32×32 humanoid.
- Motion review: contact A/B poses with joint angles also pass when a joint turns 20° or more (side-view contact poses can share most pixels), and a joint's loop seam may be as large as its paired limb's largest jump.
- Masses are cached like bones, and drawing structural parts has an 8,388,608-pixel budget per compile. A source that took 14 s now fails in about a quarter of a second with a path.
Pose rendering performance
- Named part layers blend and consume the drawing budget only within their drawn bounds. Layers share one cleared scratch buffer per frame, so sparse rigs no longer scan and allocate a canvas for every part.
- Pose compilation builds timing metadata and validates stamp output without rendering every frame. Existing recipes, marker times, mirrors and trimmed atlas validation retain their behavior.
node scripts/bench-poses.mjsrecords repeatable stamp-rig timings;renderProject(recipe, { stats: true })includes drawing work counters. The pre-change corpus is pinned by 861 RGBA frame hashes and pose metadata checks.
Thick fluids
viscosity(gases and liquids, 0–64 square pixels per frame): an implicit viscosity solve in stress form (after Batty and Bridson, 2008), with Jacobi-preconditioned conjugate gradients and a stress-free surface. It slows shearing and stretching, never motion as a whole, so a drop of honey falls exactly as fast as a drop of water, a stream stays one unbroken rope, and a heap spreads slowly instead of splashing. Walls and obstacles hold a viscous fluid;slip: truelets it slide along them. In a viscous liquid, the pressure solve runs again after the viscosity solve, so a heap does not slump a step at a time, and the particles' own jitter fades with the thickness (the FLIP share falls where the liquid is thick).yield(liquids, 0–16): a yield stress for mud, slime, dough and toothpaste, after Goktekin, Bargteil and O'Brien (2004). Each particle carries an elastic strain, turned with the flow and capped at the yield; the elastic stress is split as implicit elasticity is, so it is stable at any timestep. Below the yield a blob squashes where it lands and springs back, and a heap keeps its shape (a heap h pixels high holds when the yield is more than about gravity × h / 2); past it, the liquid flows.apic: true(liquids): affine particle-in-cell transfers, so the calm share of each particle's velocity keeps the turning and shearing of the flow around it. A spinning blob of syrup keeps about three times as much spin as with plain PIC.adhesion(liquids, 0–4): liquid touching a wall or obstacle stays on it unless pulled away faster than aboutadhesion÷ 2 pixels per frame, so a film clings under a ledge or to a spoon.advection: "sharp"(gases): MacCormack advection with the limiter of Selle et al. (2008). A puff carried by the wind keeps more than twice as many dense pixels after 30 frames, with no new peaks, at up to twice the cost.dragis documented as resistance from the surroundings, which slows falling too; thickness isviscosity.- Two presets: honey, a glossy rope of honey from a dipper folding into a mound on a calm surface in a jar (viscosity, APIC, adhesion), and slime, a blob that squashes flat, springs up tall, wobbles and settles into a dome that holds its shape (yield stress). Both have golden hashes and README GIFs. Their final look was chosen in blind A/B reviews of several variants each.
- Fluid lab: the two presets, and Thickness (viscosity) and Firmness (yield) sliders for liquids beside Liveliness (flip); the drag slider is now Resistance (drag).
- Work budget: a viscous or yield-stress effect counts about three times the cell updates per step, and sharp advection about thirty more per cell, so expensive sources are still refused before they run.
- Every new setting is off by default, so these settings leave existing sources as they were.
Fluid fixes
- Nothing passes through thin obstacles any more. Sparks (and so whitewater spray) moved their whole step at once and were only checked where they landed, so anything faster than a pixel a frame could skip a wall one pixel thick; fast liquid particles could too. Both now walk every cell along their path and stop at the first solid one, which also stops them slipping between two pixels that touch only at their corners. This changes the waterfall (the water now leaves the lip in a free arc instead of creeping down the stepped cliff face around its corners), and the drip and potion slightly; their golden hashes, GIFs and the potion's live-session hash are updated.
- Water no longer shows through a thin wall. The blur that turns liquid particles into a surface also read what particles beside a wall had splatted into its cells, so a pool resting against a wall one pixel thick drew faint water down its far side at low look thresholds or with heavy dither. What lands in an obstacle cell now counts only for cells that hold water themselves, so it still shapes the water's own edge; every preset is unchanged apart from three shading pixels in honey and slime.
- Liquid particles keep to the speed cap. Cohesion was added after the cap, so at extreme settings a particle could reach 48 pixels a frame; the cap now comes last.
- Docs: sharp advection blurs less smoke away, so a one-shot gas needs more
dissipationto end empty. - Depth bands under overhangs. Liquid whose column starts right under a wall or obstacle took its depth from there, so water under an overhang showed a surface highlight deep in the pool (a pale block in the waterfall's basin). It now takes the depth of the nearest open water along the row; a drop hanging under a rock, with no open water beside it, keeps its own highlight.
- Waterfall polished for the corrected collisions, after blind reviews of a cliff-hugging curtain against an arc: the water now leaves the lip in one unbroken, foaming arc into the middle of the basin, and the spray rises where it actually lands instead of over calm water.
Particle effects
- An emitter's vertical
swayno longer draws a particle resting on itsfloorbelow it.
Export fixes
- GIF holes stay clear outside browsers. A frame that is cleared after it is shown (because the next one is transparent where it is not) named no transparent index when it had no transparent pixels of its own, such as an opaque first frame. Browsers clear it anyway, but Pillow, and ffmpeg with a shared colour table, restore the background colour, so the next frame's holes showed opaque black. Such a frame now names the transparent index, or a spare entry of its own table; a frame that uses all 256 entries of its own table has none to spare, and the GIF's
notessay so. The tests' own GIF decoder now reads disposal the strict way, which also caught this in two existing tests. - H.264 keeps every colour. The
h264command used 4:2:0, which stores colour once for each 2 × 2 pixels: at an odd scale or offset the colours of neighbouring sprite pixels mixed even in ffmpeg's own decoder, and at any scale once a player interpolates the colour (bicubic: up to 34% of sprite pixels off the palette). It is now lossless 4:4:4 (-qp 0 -pix_fmt yuv444p), exact to within 1 level and no larger for pixel art, and works on canvases of odd size. QuickTime, Safari and Windows' own players may not play 4:4:4, so on an even canvash264Compatiblekeeps the previous 4:2:0 command, writing<name>-yuv420.mp4.scripts/verify-exports.pychecks the new command with ffmpeg at an odd scale. drawFramesnaps to whole pixels. Fractional positions drew a frame between pixels, and Chromium blended its edges into semi-transparent pixels even with smoothing off. The bundled runtime now rounds the position first.
Claude Code plugin
- Install in one command:
claude plugin install pixelbolt --marketplace skulitom/Pixelbolt(Claude Code 2.1.292 or later) installs the MCP server and the pixel art skill. The plugin (.claude-plugin/) runs the checkout's ownbin/pixelbolt.jswith the user's Node.js 20 or later, in the project folder Claude Code has open, so there is nothing to download or build. - MCP: every tool now has a
titleannotation, andpixel_helpalso declaresdestructiveHint,idempotentHintandopenWorldHint. The server'sinstructionsbegin with when to use Pixelbolt and when not (photos, vector logos, full-resolution illustrations), and say it runs locally with no account and no API key. Tool names, inputs and outputs are unchanged. - Skill:
skills/pixel-artdescribes itself in the words a user would use, and says what to do when the plugin's tools are missing. - Evals:
evals/holds aclaude plugin evalsuite: three requests that should choose Pixelbolt and one (a vector logo) that must not, with every tool mocked from the realtools/list.
Live fluids
createLiveFluid(source, { effect, warmup })insrc/fluid.js, exported from the package and frompixelbolt/fluid, runs one effect of a fluid source live, a frame at a time, for interactive pages:step(n)advances it;pushstirs the flow with a soft disc, andpuffadds or takes away smoke, heat or water;boostscales a named emitter for some frames;render()returns{ rgba, keys }, drawn with the effect's own look, sparks, whitewater and obstacles.
- It shares the compiler's simulation and makes the same checks as
compileFluidbefore simulating, with the same error paths. Pointer inputs out of range are clamped rather than refused, and live runs don't stop at the particle or spark limits. The same calls give the same pixels in Node, Chromium, Firefox and WebKit, and golden hashes of two scripted sessions check that on every CI system. A 128 × 60 steam plume steps in about 7–9 ms on a desktop CPU. compileFluid's output is unchanged: its golden hashes and the showcase GIFs are byte-identical.- Docs: live fluids in the art workflow guide, with a note in the authoring guide.
Pixelbolt Studio
- The portable Studio no longer ships
AGENTS.mdorllms.txt. Both are written for contributors working in a checkout, and a user's coding agent in the Studio folder would readAGENTS.md's maintainer rules as its own. The npm package still ships them, and README links to both on GitHub.
0.9.0 (2026-10-18)
Fluid effects
-
A new source format,
pixelforge-fluid(fluid.schema.json), compiled bysrc/fluid.js(compileFluid). It runs a small fluid simulation and bakes every frame into one palettegridoperation plusstamps for obstacles. The result is an ordinary recipe, so it inspects, patches, overlays and exports unchanged, and a colour outside the palette cannot appear. The grid has one cell per canvas pixel, up to 128 × 128. -
Gases (smoke, fire, steam, explosions, magic) use stable fluids on a staggered grid:
- semi-Lagrangian advection and a fixed-iteration pressure solve;
- vorticity confinement, and buoyancy from temperature;
- dissipation, cooling, drag and wind.
-
Liquids (splashes, waterfalls, drips, potions) use FLIP particles on the same grid and pressure solve, with gravity, cohesion (
tension), fills, drains and closed walls. -
Obstacles come from symbols, drawn in front of the fluid, behind it, or not at all.
-
Emitters are discs or boxes:
- a
burstonce, or arateuntilendthat holds its cells at the given amounts; velocity(an explicit[0, 0]holds water still),vortexandexpand(gas expands through the pressure solve);- seeded
noiseand per-cellflicker, apulseand anorbit.
- a
-
Emitters:
falloffmakes an emitter's amounts fall off from its centre toward its rim, so one emitter makes a round puff (the smoke puff now needs 5 emitters instead of 15). An orbit'sradiusmay be[x, y]for an ellipse, so what it leaves behind stretches and squeezes as it turns. An orbiting rate emitter is laid along the path it covered since the last frame, so a fast orbit leaves a smooth trail instead of beads; this changes the output of orbiting emitters. -
Sparks are small particles carried by the flow and drawn over it: embers, debris, sparkles, spray that ends where it falls back into the water, and bubbles that burst at the surface in a ring and two droplets. Each has its own colours,
sizeand an optionaltrail. -
Whitewater (
whitewateron liquid effects): spray and foam thrown off the water by its own motion, where a particle at the surface changes speed sharply (impact: a drop landing) or moves fast (speed: a stream shedding drops). Droplets are sparks tipped away from the water; spray is drawn once it has left the water, and foam rides the flow. The splash now throws its crown this way instead of from emitters timed to the impact, and the waterfall froths with foam that rides its surface. -
Look layers map a field onto palette colours through rising thresholds and an ordered dither anchored to the canvas. The fields are
density,temperature,speed,depth(from the liquid surface), andlightandshadow(rims facing toward or away from a light). De-Stray and De-Corner cleanup and a one-pixel outline are optional. -
Depth bands stay level: below a liquid's first two rows,
depthfollows the shallowest surface within three pixels along the row, so a landing drop or a rising crest no longer pushes a dark column down through the bands beneath it. -
Seamless loops: forcing repeats every cycle. The simulation warms up for whole cycles and blends the fields (not the pixels) of its closing frames toward the frames before frame 0. Sparks that outlive the cycle wrap round. The inspector's loop-boundary check is quiet on every looping example.
-
Deterministic: only
+ − × ÷and square roots,craft.jstrigonometry and seeded hashing, a fixed timestep and fixed iteration counts. Golden hashes check the ten presets on every CI system, and the browser produces the same recipes as Node. -
Everywhere:
pixelbolt compile,previewandsequenceaccept fluid sources;- MCP
pixel_compilecompiles them andpixel_helpservestopic: "fluid"; compileFluidis exported from the package and frompixelbolt/fluid.
-
Ten presets in
examples/*.fluid.json: campfire, smoke puff, explosion, steam vent, magic swirl, torch, splash, waterfall, drip and bubbling potion. Each compiles in well under a second (0.02–0.32 s on a laptop CPU). The README shows them as GIFs, built withnode showcase/fluid/build.mjs. -
Presets polished after an independent art review: the splash drop falls with weight and its crater springs back, the drip speeds up as it falls, the waterfall runs as a shallow stream over the brink with a steady overflow, the potion's surface rocks, explosion debris leaves from the rim and its smoke thins away, steam puffs roll into rounded caps and fade before the top edge, and the magic swirl's eye no longer strobes.
-
Bounded:
- at most 32,768 liquid particles and 4,096 sparks alive at once;
- flows no faster than 32 pixels per frame;
- a work budget of about 400 million cell updates per source.
Going over the particle, spark or work limit is an error naming the effect; the speed cap only clamps.
-
Fluid lab: a studio page (
/fluid.html) that compiles a preset in the browser, with sliders. It downloads the GIF, the sprite sheet, the recipe and the edited source, and shows the matching command-line and MCP calls. -
Docs: a "Fluid effects" section in docs/art-workflow.md, with notes in the authoring guide, the pixel-art skill, the README and
llms.txt.