docs(atlas-baker): add v0.3.0 lede + language-cleanup sprite-row

This commit is contained in:
Axel Meyer
2026-06-16 21:41:00 +02:00
parent 0780f90c58
commit 8bc4797145

View File

@@ -7,6 +7,10 @@ validation (E1), a `collision.json` sidecar (E2 validation + pass-through), and
alpha-analysis that sets a per-tile `tile.opaque` flag. Source tiles may be
PNG, WebP, or JPG (decoded via jimp).
**v0.3.0** adds `--mode sprite` for diffuse-only atlases of irregularly-sized
sprites with an alias→UV-table sidecar (`sprites.uv.json`) + stable alias-set
lock for re-bakes. Tilemap-mode remains the default for backward compatibility.
## Usage
```bash
@@ -30,7 +34,7 @@ The baker supports two output topologies:
| Mode | Default | Output |
|---|---|---|
| `tilemap` (default) | Paired diffuse + height tiles on a fixed grid (blob-14 + collision sidecar supported) | `<atlas>.diffuse.png` + `<atlas>.height.png` + `<atlas>.atlas.json` + `<atlas>.atlas.lock.json` |
| `sprite` | Diffuse-only, unregelmäßige Einzel-Sprites | `<atlas>/sprites.diffuse.atlas.png` + `<atlas>/sprites.uv.json` + `<atlas>/sprites.atlas.lock.json` |
| `sprite` | Diffuse-only, irregularly-sized standalone sprites | `<atlas>/sprites.diffuse.atlas.png` + `<atlas>/sprites.uv.json` + `<atlas>/sprites.atlas.lock.json` |
Select via `--mode {tilemap|sprite}`. tilemap-mode is the default for
backward compatibility with v0.2.0 call-sites.