The public repo keeps only the current artwork inputs:
references/style/Dubs.png: visual style anchorreferences/source-sheets/: current 4 x 2, eight-frame animation sheets
Generated files are ignored by git:
generated/dist/release/assets/processed/docs/rendered/
npm install
npm run build
npm run verifynpm run build:
- Reads the reference sheets from
references/source-sheets/. - Removes connected white/checkerboard backgrounds.
- Slices each 4 x 2 sheet into eight frames.
- Normalizes frame position, baseline, and transparency.
- Generates the Codex spritesheet at
dist/dubs-buddy/spritesheet.png. - Writes
pet.json,VERSION.txt, install notes, contact sheet, galleries, transition previews, and demo WebP.
npm run verify validates:
pet.jsonid and relative spritesheet pathVERSION.txt- PNG format, alpha channel, and
1536 x 1872size - eight nonblank and nonduplicate frames per row
- transparent corners
- transition endpoint drift
- tiny isolated alpha specks
- animated WebP previews and gallery files
For new artwork, use an 8-frame 4 x 2 sheet:
- Four frames on the top row, four frames on the bottom row
- Consistent character size across frames
- Transparent background preferred
- If the generator adds a checkerboard/white background, the build tries to remove it
- Keep generous spacing between frames so neighboring elements do not enter the crop
- Keep Dubs in the same visual style as
references/style/Dubs.png
npm run prepare:releaseThis runs:
npm run buildnpm run verifynpm run package:zip
The release zip is generated at:
release/uw-dubs-codex-pet-v3.1.0.zip