Manual Make

On this page
  1. Start the Studio
  2. On a tablet or another computer
  3. Find your way around
  4. Paint
  5. Palettes
  6. Layers
  7. Animate
  8. Generate with AI
  9. Check and export
  10. Undo, history and live sync
  11. Next

The Studio

The pixel editor and AI workbench that runs in your browser, on the same project files as the CLI and your agents.

The Studio is Mode 8's pixel editor. It runs in your browser, works on a project folder on your disk, and edits the same files as the command line and any agent connected over MCP. Paint with palette-locked tools, build animation frames from your art and play them on the canvas, generate candidates with the local AI, check the art and export it, all without leaving the page. Everything except generation works with no GPU and no network.

The Studio editing the starter hero: the assets list, the tool rail, the canvas with the Master tab open, the timeline, and the palette and layers on the right
The Studio with the platformer starter open

Start the Studio#

The Studio needs the studio extra (pip install -e ".[all]" installs it). Point it at a project folder:

terminal
$ mode8 init my-game --template platformer
✓ Created the platformer starter in my-game/
  26 assets · palette nes_master_gothic · lint 26/26 passed
  hero, slime, ground, wall, window, pillar, ledge_left, ledge, ledge_right, stairs, +6 more + 10 UI pieces
  UI kit → my-game/godot/art/ui/ · font → my-game/godot/art/font/
  Godot project → my-game/godot/ (runs main.tscn)

Next:
  cd my-game
  godot -e --path godot
  mode8 studio .
  mode8 export hero
$ cd my-game
$ mode8 --json studio .
{
  "ok": true,
  "url": "http://127.0.0.1:8420/?token=dd8AEDXr5T4_FPOrpv9yP2qdDlC_AXMW",
  "lan_url": null,
  "allowed_hosts": ["127.0.0.1", "::1", "localhost"],
  "host": "127.0.0.1",
  "port": 8420,
  "token": "dd8AEDXr5T4_FPOrpv9yP2qdDlC_AXMW",
  "project_root": "/home/you/work/my-game",
  "project_initialized": false,
  "comfy_url": "http://127.0.0.1:8188",
  "mode8_version": "1.0.0",
  "license": "AGPL-3.0-only",
  "source_url": "https://github.com/danexpo/mode8"
}

It prints one line when it is ready, with the address it serves, and opens that address in your browser. The address carries a session token: the Studio only answers requests that present it, so another page or program on your machine cannot edit your project behind your back. Keep the terminal open while you work; Ctrl+C stops the Studio.

A folder that is not a project yet becomes one ("project_initialized": true in the ready line):

terminal
$ mode8 --json studio ~/work/new-game --port 8500 --no-browser
{
  "ok": true,
  "url": "http://127.0.0.1:8500/?token=QqcZp3fg8VX9Bdjs9TWQedGjEfoKG-sF",
  "lan_url": null,
  "allowed_hosts": ["127.0.0.1", "::1", "localhost"],
  "host": "127.0.0.1",
  "port": 8500,
  "token": "QqcZp3fg8VX9Bdjs9TWQedGjEfoKG-sF",
  "project_root": "/home/you/work/new-game",
  "project_initialized": true,
  "comfy_url": "http://127.0.0.1:8188",
  "mode8_version": "1.0.0",
  "license": "AGPL-3.0-only",
  "source_url": "https://github.com/danexpo/mode8"
}
  • --port picks another port than 8420, for a second Studio or when 8420 is taken.
  • --no-browser only prints the address, for a remote machine or a browser you choose.
  • --comfy-url points the Generate tab at a ComfyUI other than the project's (see Set up local AI).

On a tablet or another computer#

By default the Studio listens on 127.0.0.1 only. To paint from a tablet on your network, bind every interface with mode8 studio . --host 0.0.0.0: the ready line then also has a lan_url with this machine's address, and the Studio warns that anyone who can reach it and holds the token can edit the project. If you reach it by a name it does not know, such as studio.local, allow that name with --allow-host studio.local.

Find your way around#

AreaWhat it is for
Assetsevery asset in the project, with search; New asset makes a canvas sized for an art type (sprite 64x72, top-down, portrait, isometric, scene, icon, tile), optionally with its draft, or a UI kit piece. The asset menu renames, duplicates, resizes the canvas or deletes
Tool railthe drawing tools (below)
Canvasthe asset, drawn at an integer zoom over a checker backdrop. The tabs above it choose what you edit: Master (the art), Draft, Parts, Pins, Frame (one animation frame) and Boxes (the gameplay boxes of each frame)
Timelinethe animation frames: pick a frame, Play it on the canvas, set the playback speed, rebuild the frames from the art
Palettethe asset's palette, the primary and secondary colors, editing and importing palettes, palette swaps
Layersthe asset's layer stack
Generate, Export, Checks, Historythe AI pane, the engine exports, the checks and the journal of every edit

The status bar shows the canvas size, the pixel under the pointer, whether ComfyUI is reachable, and the save state. Theme switches between dark and light and sets the interface size.

Paint#

Every tool paints only palette colors, so nothing off-palette can creep in. A stroke is saved to disk as soon as you finish it; there is no Save button. Pixels you paint on the master are pinned, so AI regeneration keeps them (the Pins tab shows and edits the pin mask).

Press ? in the Studio for the full list of shortcuts. The ones you will use most:

Tool or actionKey
Pencil, eraser, fillB, E, G
Shade (right-drag lightens)U
Line, rectangle, ellipseL, R, C
Filled or outline shapesF
Move the layerW, then drag or use the arrows
SelectQ
EyedropperI, or hold Alt
Mask a region to repaint with AIM
Pin pixelsP
Brush size[ and ]
Dither, mirrorD, X
Swap primary and secondary colorS
Undo, redoCtrl+Z, Ctrl+Y
Pan, zoomwheel or Space+drag; Ctrl+wheel, + and -
Fit the art to the view0
Grid, backdropH, K
Tiled 3x3 view, to paint across the edges of a seamless tileT
Draft ghost, onion skinV, O
Play or pause the animationEnter
Previous or next frame, and .
Master, Draft, Parts, Pins, Frame tab1 to 5

A selection (Q, or Ctrl+A for everything) can be moved, nudged with the arrows, copied, cut, pasted and flipped (Shift+H, Shift+V).

Palettes#

The palette panel holds the asset's colors. Click a swatch for the primary color, right-click for the secondary. Edit opens the palette editor: recolor, reorder, add or remove colors, or add a four-step shading ramp around a color. An edited palette is saved to the project's palettes/ folder as a .gpl file, where the CLI finds it too. Import reads a .gpl or .hex file, or drop one on the panel.

To move the art onto another palette, pick it and press Swap: the canvas previews the result first, and the swap itself is one undoable edit. Palettes explains how colors are matched.

Layers#

Add layer puts a blank layer above the active one; the layer menu duplicates, deletes, moves, merges down and flattens. Click a layer's row to paint on it, double-click its name to rename it. The master is always the visible layers flattened, so every other tool, and every engine export, sees one image. Co-editing explains layer stacks and how the CLI and agents edit them.

Animate#

The timeline holds the asset's frames. Pick a rig and press Rebuild frames to make the walk, attack and idle frames from the art: the rig moves the art's pixels instead of repainting them, so nothing flickers between frames. Paint on any frame in the Frame tab to fix it by hand; your frame edits are kept and re-applied when you rebuild. Play (Enter) animates the canvas itself at the speed you set, and onion skin (O) shows the previous frame in blue and the next in green.

When the art changes after the frames were made, the timeline marks them as stale until you rebuild. Parts paints the part map that lets the rig move each limb on its own, and Boxes draws the hitbox, hurtbox and body of each frame for the Godot scene export. Animation covers rigs, part maps and timing.

Generate with AI#

The Generate tab needs a running ComfyUI (the status bar says whether it is reachable; Set up local AI sets it up). It has two modes:

  • Create renders new candidates from the draft (Follow the draft) or from the prompt alone. Pick an art type, the number of candidates (1 to 4) and whether to add an outline and keep your pinned pixels.
  • Repaint region regenerates only the pixels you masked with the mask tool (M), and leaves everything else, including pins, as it is.

A job shows its stage, the candidate it is drawing and the time it has taken while it runs. The finished candidates appear under the canvas, beside the current art; drag the divider to compare one with the art, then accept the one you want. Accepting is one edit like any other, so you can undo it. Sprites explains drafts, prompts, candidates and the checks that rank them.

The Generate tab after a real job: the prompt and art type on the right, two candidates under the canvas beside the current art, one being compared with the divider
Two candidates from one Create job

Check and export#

Checks runs the same checks as mode8 lint on the asset: transparency, palette, size, and the craft checks (stray pixels, uneven lines, muddy ramps). Check marks (N) marks the problem pixels on the canvas, and Auto-fix repairs what can be repaired automatically, as one undoable edit. The craft checks are advice and never block an export.

Export writes the asset's frames to exports/<asset>/ in the formats you tick: the atlas, Godot SpriteFrames and scenes, a preview GIF, PixiJS, Phaser, LÖVE, CSS, an indexed PNG and lighting maps. The result lists every file it wrote, with buttons to open the folder or download everything as one zip. It runs the same exporter as mode8 export; see Exporting.

The Export tab in the light theme: the formats ticked, and the result card listing the files written to exports/hero/ with Open folder and Download zip
An export's result, in the light theme

Undo, history and live sync#

Every edit, from a stroke to a palette swap, goes into the project's journal, the same one the CLI and agents write to. Undo and Redo walk back through it, and History lists each edit with who made it: you, an agent or the CLI. Undo never deletes an asset.

The Studio watches the project folder. When the CLI or an agent changes an asset you have open, the canvas updates by itself. If it changes the very pixels you are painting, the Studio stops and shows a banner instead of overwriting either side: your pixels stay on screen until you choose which version to keep. Co-editing explains the journal and how humans and agents share a project safely.

Next#

  • Sprites: drafts, generation and candidates.
  • Animation: rigs, part maps and timing.
  • Co-editing: working on the same project as an agent.