pixelkiln 0.72.0 → 0.74.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +773 -516
- package/dist/cli.js.map +1 -1
- package/dist/client/gallery.css +16 -0
- package/dist/client/gallery.js +452 -0
- package/dist/index.cjs +476 -266
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1876 -259
- package/dist/index.d.ts +1876 -259
- package/dist/index.js +459 -249
- package/dist/index.js.map +1 -1
- package/docs/CHARACTERS.md +12 -0
- package/docs/CLI.md +4 -1
- package/docs/GENERATORS.md +1 -1
- package/docs/MANIFEST.md +1 -1
- package/package.json +1 -1
package/docs/CHARACTERS.md
CHANGED
|
@@ -448,6 +448,18 @@ reference image change alone also makes it stale.
|
|
|
448
448
|
new entry is generated, and `plan` reports it `blocked` until its parent
|
|
449
449
|
is downloaded, same as one added by hand. `objectPro` families get the
|
|
450
450
|
same two buttons; see [`objectPro`](./GENERATORS.md#objectpro).
|
|
451
|
+
- **The character studio.** With `--edit`, "+ New character" in the
|
|
452
|
+
gallery's header drafts a whole character in one sheet: a new character
|
|
453
|
+
style (engine, size, directions, body, view, folder) or an existing one,
|
|
454
|
+
the base with an optional sprite of your own (uploaded into `refs/`, so
|
|
455
|
+
only the rotations are billed), any number of loops (each a template
|
|
456
|
+
posed by `skeleton-v3` by default, or a plain template, v3, or pro loop,
|
|
457
|
+
in the directions you tick, mirrors added free), and a portrait. The
|
|
458
|
+
sheet prices the draft live, the way `plan` would, and warns when a new
|
|
459
|
+
style would also take in existing assets that name no styles. **Create**
|
|
460
|
+
saves everything in one validated write; with `--budget`, **Create &
|
|
461
|
+
generate** also starts one job for all of it, which generates the base
|
|
462
|
+
first and the loops and portrait as soon as it lands.
|
|
451
463
|
- `pack --format godot` and `--format aseprite` write each direction as a
|
|
452
464
|
still and each loop as a looping set at its fps; see
|
|
453
465
|
[engine formats](./ARTIFACTS.md).
|
package/docs/CLI.md
CHANGED
|
@@ -525,7 +525,10 @@ job strip under the filters; each job keeps the log lines the CLI would have
|
|
|
525
525
|
printed. Candidate sets stop in `review`: **Review** slides the `pick` sheet
|
|
526
526
|
out over the gallery, **Apply selections** writes the lockfile and downloads
|
|
527
527
|
the chosen art, and unchosen rows stay in review exactly as with `pick`. A
|
|
528
|
-
regeneration's sheet shows the current art beside the candidates.
|
|
528
|
+
regeneration's sheet shows the current art beside the candidates. A job
|
|
529
|
+
runs in waves, as `gen` does: when a wave lands, anything the job was asked
|
|
530
|
+
for that was waiting on it (a character's loops, a revision of the base)
|
|
531
|
+
goes next, under what is left of the session budget.
|
|
529
532
|
|
|
530
533
|
#### `--estimate-limit`: skeleton estimates from the page
|
|
531
534
|
|
package/docs/GENERATORS.md
CHANGED
|
@@ -274,7 +274,7 @@ and regenerating the parent makes the child stale.
|
|
|
274
274
|
| Asset | PixelLab call | Cost |
|
|
275
275
|
|---|---:|---:|
|
|
276
276
|
| base, `mode: standard` | create-character-with-4/8-directions | 1 |
|
|
277
|
-
| base, `mode: v3` | create-character-v3 | 1 + ceil(size² × 8 / 65536): 2 at 64px, 3 at 128px |
|
|
277
|
+
| base, `mode: v3` | create-character-v3 | 1 + ceil(size² × 8 / 65536): 2 at 64px, 3 at 128px; from a `reference`, the rotations alone on its canvas: 1 at 64px |
|
|
278
278
|
| base, `mode: pro` | create-character-pro | 20–40 by canvas |
|
|
279
279
|
| base, `mode: pro-flash` | create-character-pro-flash | image tier (5 to 96px, 6 to 208px, 9 above) + ceil(size² × 8 / 65536): 6 at 64px, 8 at 128px, 17 at 256px; rotations only from a `reference` |
|
|
280
280
|
| state | create-character-state | 20–40 by canvas |
|
package/docs/MANIFEST.md
CHANGED
|
@@ -56,7 +56,7 @@ not merely a label edit.
|
|
|
56
56
|
|
|
57
57
|
| Field | Type/default | Meaning |
|
|
58
58
|
|---|---|---|
|
|
59
|
-
| `prompt` | string, required unless `mirror`, `portrait`, or `
|
|
59
|
+
| `prompt` | string, required unless `mirror`, `portrait`, `outfit`, or a template loop (`animation.template`) | The subject wording wrapped by the selected style's prompt prefix and suffix. A template loop is described by its template; a v3 or pro loop still needs the motion in words. |
|
|
60
60
|
| `width` / `height` | integer 16–8192 | Per-asset dimensions for generators that accept rectangular output. Provider limits may be lower. |
|
|
61
61
|
| `size` | integer 16–8192 | Per-asset square size where the generator uses one dimension. |
|
|
62
62
|
| `file` | string | Output path below the style's `outDir`; defaults to `<category>/<assetId>.png`. |
|