Manual Reference

On this page
  1. A
  2. B
  3. C
  4. D
  5. E
  6. F
  7. G
  8. H
  9. I
  10. J
  11. L
  12. M
  13. N
  14. O
  15. P
  16. R
  17. S
  18. T
  19. U
  20. See also

Glossary

The words Mode 8 uses, one name per idea, each in a sentence or two with a link to more.

Mode 8 calls each idea by one name, on every surface: the CLI, the MCP tools, the Studio and this manual. Here they are, alphabetically. Where an entry says Avoid, the manual does not use those words for the idea, and build_manual.py --check keeps it that way.

A#

  • Actor: who made an edit, as the journal records it: human (the Studio), agent (MCP tools) or cli (the command line). See Co-editing.
  • Animation: a named, timed run of frames, such as walk or attack, with its own fps and loop. A rig defines the animations it makes; the timing travels with the frames into every export. See Animation.
  • Archetype: one of the 20 built-in subjects a draft can show, such as knight_right, quadruped_left, slime or isometric_tower. mode8 list archetypes prints them with their sizes. See Sprites.
  • Art type: a profile for what you are making (sprite, topdown, portrait, isometric, scene, icon) that sets the defaults of a generation: preset, size, background, outline and color count. See Sprites. Avoid: "asset type".
  • Asset: one piece of art in a project, in assets/<name>/: its master, sidecar and, as needed, draft, part map, pins, layers, frames and overrides. See Projects.
  • Atlas: one PNG that packs every frame of a sprite, with JSON that says where each frame is. Most engine exports build on it. See Exporting. Avoid: "spritesheet", "sprite-sheet". Except: "PixiJS Spritesheet", the name of PixiJS's own class.
  • Autotile: a set of tiles made from one tile so that edges and corners join up by themselves, as a 16-tile or 47-tile blob layout with a Godot TileSet and a Tiled TSX. See Terrain and props. Avoid: "auto-tile".

B#

  • BMFont: the AngelCode bitmap-font format (a .fnt file and a PNG atlas) that mode8 font writes. See UI and fonts.
  • Boiling: the flicker you get when every frame of an animation is drawn separately, so a face or a color wobbles from frame to frame. Mode 8 animation does not boil: frames move the master's pixels. See Animation.

C#

  • Candidate: one of the images a generation renders (--n). Mode 8 checks every candidate and keeps the best; you can keep them all and choose. See Sprites.
  • Check command: a command whose report has a top-level pass and that exits 1 when it is false, such as lint, verify or doctor. See Checks.
  • ComfyUI: the local image-generation server Mode 8 sends AI work to. Only gen, inpaint, cast and doctor talk to it. See Set up local AI. Avoid: "Comfy UI".
  • ConflictError: the refusal you get when a write carries expected_sha256 and the file changed since you read it. Nothing is overwritten. See Co-editing.
  • Contact sheet: a zoomed review image of several frames or candidates side by side, written by --sheet. It is for people; engines use the atlas.

D#

  • Draft: a small shaded blockout of a pose that fixes the facing, the silhouette and the size before any AI runs. mode8 draft draws one from an archetype or from a concept image. See Sprites. Avoid: "pose sketch", "sketch".

E#

  • Effect: a short palette-locked animation such as a hit flash, an explosion or a sparkle, made by mode8 fx. See Effects. Avoid: "VFX".
  • Emission map: an image of the pixels that glow (eyes, visors, flames), for 2D lighting. See Lighting.
  • Envelope: the shape every result has: {"ok": true, ...}, or {"ok": false, "error": {"type", "msg", ...}}. See Output envelope.
  • Exit code: 0 done, 1 a check failed, 2 your input is wrong, 3 something outside Mode 8 failed (ComfyUI, the disk). See Skill and scripts.

F#

  • Frame: one image of an animation. A project asset keeps them in assets/<name>/frames/.

G#

  • Gameplay boxes: the per-frame hitbox, hurtbox, body and pivot that export --formats godot_scene writes into a Godot scene. See Godot.

H#

  • Hitbox: where a frame deals damage. Hurtbox: where it can take damage. Avoid: "hit box", "hurt box".

I#

  • Indexed PNG: a PNG that stores palette indices instead of colors (index 0 is transparent), written by the indexed export. See Other formats.

J#

  • Journal: .mode8/history.jsonl, the project's record of every edit: who, what, which files, and their content hashes before and after. Undo and redo work from it. See Co-editing.

L#

  • Layer: one image in an asset's layer stack. The master always equals the visible layers flattened. See Co-editing.
  • Lighting maps: the normal map and emission map of a sprite, so 2D lights can shade it. See Lighting.
  • Lint: Mode 8's checks of one sprite: transparency, size, palette, colors, pose and, with an art type, the measured quality rules. See Checks.

M#

  • Master: an asset's approved image, master.png. Frames, exports and lighting maps are made from it.
  • MCP: the Model Context Protocol. mode8 mcp serves Mode 8's tools to coding agents. See MCP server.

N#

  • 9-slice: a UI image cut into a 3x3 grid by four margins, so the corners stay crisp while the middle stretches. mode8 ui writes 9-slice kits. See UI and fonts. Avoid: "nine-patch", "9-patch".
  • Normal map: an image that stores which way each pixel faces, so a 2D light can shade a flat sprite. See Lighting.

O#

  • Outline: the 1px border around a sprite. Mode 8 adds one only where the art has none, in the palette's darkest color (--outline-black makes it pure black).
  • Override: a hand edit of one animation frame, stored sparsely on top of what the rig made, so running the rig again keeps it. See Animation.

P#

  • Palette: the fixed list of colors an asset may use. Mode 8 ships 16 and reads your own .gpl, .hex or .txt files. See Palettes.
  • Palette swap: the same art with every color moved onto another palette, by mode8 recolor, or at run time by a Godot shader. See Palettes.
  • Part map: an indexed image that says which pixels belong to which body part (head, torso, legs), so a rig can move them separately. mode8 parts makes one. See Animation. Avoid: "parts map", "label map".
  • Pins: a mask of hand-painted pixels that AI regeneration and inpainting keep exactly as they are.
  • Pivot: the point a sprite stands on, at its feet, shared by every frame and every engine export.
  • Pixelize: find the pixel grid a render was drawn on, take one color per art pixel, key the background and map the colors onto a palette. mode8 pixelize does it to any image, and every mode8 gen candidate goes through it. Avoid: "pixelate", "pixelise".
  • Preset: the ComfyUI workflow and models a generation uses: kleinedit repaints a draft, style draws from the prompt alone. See Set up local AI.
  • Project: a folder with a mode8.toml, an assets/ folder and a .mode8/ journal, shared by the Studio, the CLI and agents. See Projects.

R#

  • Report: the JSON object a command prints, {"ok": true, ...} with its own keys.
  • Rig: the recipe that moves a master's pixels into animation frames: a built-in one (mode8 list rigs) or your own JSON file. See Animation.

S#

  • Schema: mode8 schema, one JSON document that describes every command, flag, MCP tool, Studio route, exit code, format and limit of the installed version. The reference pages are generated from it.
  • Sidecar: master.m8.json, the record next to an asset's master: palette, size, prompt, seed, check results, frames and their timing.
  • Starter: a ready-to-run genre project (platformer, topdown, isometric, scifi) that mode8 init --template writes, with its art, a UI kit, a font and a Godot project. See Starters.
  • Studio: mode8 studio, the pixel editor and AI workbench that runs in your browser and edits the same project files as the CLI and agents. See The Studio. Avoid: "web UI".

T#

  • Tile kind: one of the things mode8 tile draws: terrain (grass, water), side-view pieces (ground_top, stair_step), props (chest, torch) and more. mode8 list tiles prints them. See Terrain and props.

U#

  • UI kit: a set of 9-slice pieces (dialog box, panel, button and its states, slot frame, health bar) in one palette, with a Godot theme. See UI and fonts.

See also#

  • FAQ for short answers to common questions.
  • Troubleshooting for every error and what to do about it.