cute-cube
v0.1.2
Published
Framework-agnostic sprite character with named animation states (PixiJS)
Maintainers
Readme
cute-cube
Framework-agnostic sprite character with named animation states, built on PixiJS. Optional Vue 3 and React bindings are published as subpath exports.
Preview

Install
Install cute-cube and its required peer dependency pixi.js. Add Vue or React only if you use those bindings.
npm
npm install cute-cube pixi.jsOptional peers:
npm install cute-cube pixi.js vue
# or
npm install cute-cube pixi.js react react-domYarn (Classic / Berry)
yarn add cute-cube pixi.jsOptional peers:
yarn add cute-cube pixi.js vue
# or
yarn add cute-cube pixi.js react react-dompnpm
pnpm add cute-cube pixi.jsOptional peers:
pnpm add cute-cube pixi.js vue
# or
pnpm add cute-cube pixi.js react react-domBun
bun add cute-cube pixi.jsOptional peers:
bun add cute-cube pixi.js vue
# or
bun add cute-cube pixi.js react react-domUsage
Core API:
import { CharacterPlayer, createDefaultManifest } from "cute-cube";Vue (CharacterView component):
import { CharacterView } from "cute-cube/vue";React (CharacterView component):
import { CharacterView } from "cute-cube/react";See src/index.ts and the demo/ app for concrete examples.
