API reference
sprite-zdog
Import
Section titled “Import”import * as api from "@fungi.computer/sprite-zdog";Exports
Section titled “Exports”| Kind | Export | Description |
|---|---|---|
| constant | builtinCharacters | Lazy loaders for the bundled local characters; no remote asset access. |
| constant | default | Optional native Zdog adapter. Scene data is decoded before creating the canvas. |
builtinCharactersconstant
Section titled “builtinCharacters”const builtinCharacters: Readonly<{ mushroom: () => Promise<LocalCharacter>; cat: () => Promise<LocalCharacter>; burger: () => Promise<LocalCharacter>;}>;Lazy loaders for the bundled local characters; no remote asset access.
defaultconstant
Section titled “default”const default: Renderer;Optional native Zdog adapter. Scene data is decoded before creating the canvas.