Quickstart
Make a starter game, see what Mode 8 made, run it in Godot, change the hero in the Studio and export it again. No GPU needed.
In ten minutes you will have a small platformer that runs in Godot 4, with every pixel made by Mode 8 in one palette, and you will have changed its hero and exported it again. Nothing here needs a GPU or the network. You only need Mode 8 installed, and Godot 4.3 or newer if you want to play the result.
1. Make a starter game#
$ 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 heroThat one command drew a knight with nine animation frames, a slime, the castle tiles and props, a UI kit and a font, checked all of them, and wrote a Godot project that uses them. It is deterministic: the same command makes the same pixels on any machine.

The other genres are topdown, isometric and scifi; Starters shows all four.
2. See what you got#
$ cd my-game$ ls
README.md assets godot mode8.toml palettes preview.png$ ls assets assets/hero
assets:
chest hero potion ui_checkbox ui_slider window
coin ledge slime ui_cursor ui_slot_frame
crate ledge_left stairs ui_dialog_box ui_tab
door ledge_right torch ui_health_bar ui_tooltip
ground pillar ui_button ui_panel wall
assets/hero:
draft.png frames master.m8.json master.png| Path | What it is |
|---|---|
mode8.toml | The project settings: its name, default palette, default sprite size and ComfyUI address |
assets/<name>/ | One folder per piece of art. master.png is the approved image; master.m8.json records how it was made, its frames and their timing; the hero also keeps its draft.png and frames/ |
godot/ | A Godot 4 project: main.tscn is the level, player.gd the hero controller, art/ the exported sprites, tiles, props, UI theme and font |
palettes/ | The project's palette, nes_master_gothic |
README.md, preview.png | How to run and change the starter, and a picture of the level |
Projects explains each file.
3. Play it#
Open the Godot project and press F5:
godot -e --path godotWalk with the arrows or A/D, jump with Space, attack with J. The game renders at 480x270 and scales by whole numbers only, so pixels stay square.

4. Change the hero#
Open the project in the Studio, Mode 8's pixel editor:
$ mode8 --json studio .
{
"ok": true,
"url": "http://127.0.0.1:8420/?token=osyXmmTieEvbcGqvzYyg6ntSBp9SuOBm",
"lan_url": null,
"allowed_hosts": ["127.0.0.1", "::1", "localhost"],
"host": "127.0.0.1",
"port": 8420,
"token": "osyXmmTieEvbcGqvzYyg6ntSBp9SuOBm",
"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"
}Your browser opens on the project. Pick hero in the Assets panel and paint on it with B: every tool keeps to the project's palette. There is no Save button: each stroke is written to assets/hero/master.png as you finish it and recorded in the project's history, so Ctrl+Z takes it back. The Studio covers the tools.

5. Export it again#
The hero's frames were made from the old master, so the Studio's timeline now marks them Out of date. Click Rebuild frames there: the rig makes the frames again from your new master, and any frame you fixed by hand keeps its fix. Leave the Studio running, or stop it with Ctrl+C in its terminal, and export the hero back into the Godot project with the command the init summary printed:
$ mode8 export assets/hero/frames --out-dir godot/art/hero --name hero --formats godot,godot_scene --animations assets/hero/master.m8.json
✓ Exported hero (15 frames) → godot/art/hero/
godot, godot_scene · 4 files
animations attack, hurt, idle, jump, walk
Godot godot/art/hero/hero.tres
scene godot/art/hero/hero.tscn (CharacterBody2D, mode8_actor.gd)
palette nes_master_gothic from mode8.toml
Next:
mode8 verify --assets-dir godot/art/hero--animations reads the timing recorded in the hero's master.m8.json, so the walk keeps its speed and the attack plays once. Go back to Godot: the hero in the level is your new one. Exporting lists every format, from PixiJS to Unity.
6. Add something new#
Everything that is not a character is drawn by code, on the CPU. Make a gem pickup in the project's palette, straight into the Godot project:
$ mode8 tile gem --out godot/art/props/gem.png
✓ Tile gem (13x12) → godot/art/props/gem.png
prop
palette nes_master_gothic from mode8.toml
Next:
mode8 lint godot/art/props/gem.png --qualityThen check that everything in the Godot project still keeps to the palette:
$ mode8 verify --assets-dir godot/art
✓ 48 assets checked: all goodNext#
- Starters: the top-down, isometric and sci-fi starters.
- Set up local AI: ComfyUI and the models, to generate new characters.
- Your first character: draft, generate, animate and export a hero of your own.
- Terrain and props: tiles, autotiles and the rest of the props.