Install
Optional Zdog avatar renderer and portable scene authoring
For a published npm release:
npm install @fungi.computer/sprite-zdogpnpm, Yarn and Bun work the same way.
Entrypoints
Section titled “Entrypoints”@fungi.computer/sprite-zdog@fungi.computer/sprite-zdog/author@fungi.computer/sprite-zdog/portable@fungi.computer/sprite-zdog/builtins@fungi.computer/sprite-zdog/builtins/base@fungi.computer/sprite-zdog/builtins/mushroom@fungi.computer/sprite-zdog/builtins/cat@fungi.computer/sprite-zdog/builtins/burger@fungi.computer/sprite-zdog/mushroom@fungi.computer/sprite-zdog/cat@fungi.computer/sprite-zdog/burger@fungi.computer/sprite-zdog/catalog@fungi.computer/sprite-zdog/avatar
What comes with it
Section titled “What comes with it”Installing @fungi.computer/sprite-zdog also installs @fungi.computer/sprite, effect, animejs, zdog, zod.
Install or set up
Section titled “Install or set up”npm install @fungi.computer/sprite-zdogThe package ships ESM only and depends on Effect, Zod, animejs, zdog, and
Sprite at runtime. Add it only to a host that already
uses Sprite and renders with Zdog. The parent Sprite host still owns the player
and asset policy. The root entrypoint exports the Zdog renderer. ./author and
./portable support scene authoring. ./builtins (and the individual
./builtins/base, ./builtins/mushroom, ./builtins/cat, and
./builtins/burger subpaths) expose the bundled authoring definitions.
./mushroom, ./cat and ./burger provide ready-to-load local characters,
each with its document and renderer. ./catalog and ./avatar provide pure
avatar validation and derivation without importing the Canvas renderer.