Improved harness - with card selection
@@ -1,21 +0,0 @@
|
||||
# Card Art Drop Folder
|
||||
|
||||
Add each card as one PNG artwork and one matching PNG finish mask:
|
||||
|
||||
```text
|
||||
david.png
|
||||
david-mask.png
|
||||
```
|
||||
|
||||
The filename before `.png` is the card name shown in the harness. Names are
|
||||
case-sensitive. Artwork and mask must:
|
||||
|
||||
- have identical dimensions;
|
||||
- use a 5:7 aspect ratio;
|
||||
- be fully opaque;
|
||||
- use an opaque grayscale mask.
|
||||
|
||||
During `npm run dev`, adding or replacing either PNG refreshes the searchable
|
||||
card catalog automatically. Reopening or focusing the Card field also forces a
|
||||
rescan. Production builds generate `manifest.json` from this folder and fail if
|
||||
any pair is missing or invalid.
|
||||
|
Before Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 2.3 MiB |
@@ -1,33 +0,0 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"cards": [
|
||||
{
|
||||
"name": "david",
|
||||
"artwork": "/card-art/david.png?v=cc45a552b6516d2b",
|
||||
"mask": "/card-art/david-mask.png?v=cc45a552b6516d2b",
|
||||
"textMask": "/card-art/david-text-mask.png?v=cc45a552b6516d2b",
|
||||
"revision": "cc45a552b6516d2b",
|
||||
"width": 1000,
|
||||
"height": 1400
|
||||
},
|
||||
{
|
||||
"name": "the-fall",
|
||||
"artwork": "/card-art/the-fall.png?v=ff92f7967bf1217b",
|
||||
"mask": "/card-art/the-fall-mask.png?v=ff92f7967bf1217b",
|
||||
"textMask": "/card-art/the-fall-text-mask.png?v=ff92f7967bf1217b",
|
||||
"revision": "ff92f7967bf1217b",
|
||||
"width": 1000,
|
||||
"height": 1400
|
||||
},
|
||||
{
|
||||
"name": "timothy",
|
||||
"artwork": "/card-art/timothy.png?v=04a57871358d4c6d",
|
||||
"mask": "/card-art/timothy-mask.png?v=04a57871358d4c6d",
|
||||
"textMask": "/card-art/timothy-text-mask.png?v=04a57871358d4c6d",
|
||||
"revision": "04a57871358d4c6d",
|
||||
"width": 2000,
|
||||
"height": 2800
|
||||
}
|
||||
],
|
||||
"errors": []
|
||||
}
|
||||
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 1.9 MiB |
|
Before Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 149 KiB |
|
Before Width: | Height: | Size: 4.9 MiB |