/pad-resources

Primary LanguageTypeScript

pad-resources

P&D card image renderer

Requirement

  • Node 18 & Yarn

Usage

yarn update  # download image data from server
yarn extract --out data/HT/out data/HT/bin/mons_5203.bin # extract image data from a data file

Rendering

For simple cards, yarn extract output a simple PNG. For animated cards, yarn extract outputs Spine data JSON and atlas data. You can render them using any Spine-compatible renderer.

As an example, a web renderer is provided at /renderer directory of the repo. Note that usage of the web player is subjected to respective licenses of Spine runtime.

License

MIT