@pixelvibing/cli 0.48.0 → 0.49.1
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/README.md +3 -2
- package/dist/pixel-vibing-cli.js +1088 -951
- package/package.json +1 -1
- package/skills/pixelvibing/SKILL.md +24 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixelvibing/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.49.1",
|
|
4
4
|
"description": "PixelVibing: pixel art game assets from the command line, and the Skills that teach coding assistants to make them.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://pixelvibing.com",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: pixelvibing
|
|
3
|
-
description: Make pixel art for this game with pixel-vibing-cli — objects, creatures,
|
|
3
|
+
description: Make pixel art for this game with pixel-vibing-cli — objects, creatures, concept art and interface art (a UI laid out as JSON, skill and item icons) generated on the PixelVibing platform, listed, pulled into the project's art and its folder, and exported or sealed for the game. Use when the game needs a sprite, a prop, a creature, concept art to draw from, a level's art, its HUD or its icons, or art already made for it.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# PixelVibing art for this game
|
|
@@ -31,7 +31,8 @@ Progress and errors go to standard error, and a failure exits 1.
|
|
|
31
31
|
```bash
|
|
32
32
|
pixel-vibing-cli generate object --instruction "<what>" --size <cols>x<rows> --yes --json
|
|
33
33
|
pixel-vibing-cli generate creature --instruction "<what>" [--reference <png>]... --yes --json
|
|
34
|
-
pixel-vibing-cli generate
|
|
34
|
+
pixel-vibing-cli generate concept-art --instruction "<what>" [--size <w>x<h>] [--transparent] [--tag <tag>]... --yes --json
|
|
35
|
+
pixel-vibing-cli generate concept-art --instruction "<what>" --pixel-art --tiles <cols>x<rows> --yes --json
|
|
35
36
|
pixel-vibing-cli generate icons --names "<name>,<name>,..." --purpose <skill|item> [--size <16|32|64>] --yes --json
|
|
36
37
|
pixel-vibing-cli generate ui --sketch <file.json> --instruction "<the set, in a line>" --yes --json
|
|
37
38
|
```
|
|
@@ -44,12 +45,23 @@ Each generation uses part of the account's usage limit for the month.
|
|
|
44
45
|
it is for in the game. Describe the thing itself, not a prompt for a model.
|
|
45
46
|
- **The options.**
|
|
46
47
|
- `--size` is an object's footprint in whole tiles, `1x1` unless given.
|
|
47
|
-
- `--tiles` is how many tiles a
|
|
48
|
+
- `--tiles` is how many tiles a pixel-art concept art is across, `6x4` unless given.
|
|
48
49
|
- No quality is given: the platform draws each asset at the quality it needs. The share
|
|
49
50
|
printed is the most it may use, and what it does not use is given back.
|
|
50
|
-
- `--reference` is a PNG to draw from, repeated for several: at most 8 for an object
|
|
51
|
-
3 for a creature
|
|
51
|
+
- `--reference` is a PNG to draw from, repeated for several: at most 8 for an object
|
|
52
|
+
or a concept art, 3 for a creature or a UI, none for icons. A UI's references are a style
|
|
52
53
|
to follow (frames, materials, a way of drawing), never what to draw.
|
|
54
|
+
- **Concept art.** The free kind: reference art, a place, a character sheet, a sample menu —
|
|
55
|
+
whatever the instruction asks. It is drawn as ordinary art, not pixel art, to draw the
|
|
56
|
+
rest from: make one first, tagged `anchor`, and pass its pulled picture
|
|
57
|
+
(`pixelvibing/ref/<name>.png`) as `--reference` to what follows.
|
|
58
|
+
- `--size` is its size in px, `<w>x<h>`, multiples of 16 within `1536x1024` or
|
|
59
|
+
`1024x1536`, `1536x1024` unless given. `--transparent` cuts its background away, for
|
|
60
|
+
one thing alone.
|
|
61
|
+
- `--pixel-art` draws it as a level design instead: pixel art of an area some `--tiles`
|
|
62
|
+
across, which the editor takes apart into objects and terrain.
|
|
63
|
+
- `--tag` says what it is for, repeated for several, at most 8: `anchor`, `level-design`,
|
|
64
|
+
`ui`, `character`, `environment`, `prop`, or one of the project's own.
|
|
53
65
|
- **Interface art.** When the game shows the player something over the world, make it here
|
|
54
66
|
rather than drawing it in code:
|
|
55
67
|
- `icons` makes up to 16 icons that match, from `--names`: `--purpose skill` for a
|
|
@@ -74,17 +86,21 @@ Each generation uses part of the account's usage limit for the month.
|
|
|
74
86
|
## Listing and pulling
|
|
75
87
|
|
|
76
88
|
```bash
|
|
77
|
-
pixel-vibing-cli list [<kind>] --json
|
|
89
|
+
pixel-vibing-cli list [<kind>] [--tag <tag>] --json
|
|
78
90
|
pixel-vibing-cli pull <id|name> [--as <name>] --json
|
|
91
|
+
pixel-vibing-cli tag <id|name> [<tag>...] [--none] --json
|
|
79
92
|
```
|
|
80
93
|
|
|
81
94
|
- **Listing.** `list` answers the newest 50 assets. When there are more, it gives a
|
|
82
95
|
`next` id for `--before`. A kind is the generation that made the asset: `object`,
|
|
83
|
-
`creature`, `
|
|
96
|
+
`creature`, `concept-art`, `rotate`, `animate`… `--tag` lists only the concept art
|
|
97
|
+
carrying that tag, such as `anchor`.
|
|
98
|
+
- **Tags.** `tag` sets a concept art's tags, replacing the ones it had; with none given
|
|
99
|
+
it shows them and the project's tags, and `--none` takes them all off.
|
|
84
100
|
- **Pulling.** `pull` adds the asset to the project's art on the platform, where the editor
|
|
85
101
|
sees it too, and then writes the folder from the platform. An asset of one picture
|
|
86
102
|
lands as `<name>`, one of several as `<name>/<n>`; an icon set's pieces as `ui/icon/<name>`
|
|
87
|
-
and a UI's as `ui/sketch/<label>`, each under `pixelvibing/out/`. A
|
|
103
|
+
and a UI's as `ui/sketch/<label>`, each under `pixelvibing/out/`. A concept art is kept
|
|
88
104
|
as a reference, under
|
|
89
105
|
`pixelvibing/ref/`. Pulling again lands nothing while the art still holds it.
|
|
90
106
|
- **Collisions.** `pull` lands nothing under a name the art holds for something else. When
|