@oasis-engine-tools/atlas-lottie
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

tool-atlas-lottie

Transform lottie JSON file to atlas format in oasis engine. This tool will generate a folder which contains three files: a processed lottie JSON file, an atlas file and an image.

Usage in terminal

  1. Install
npm i @oasis-engine-tools/atlas-lottie -g
  1. Use command in terminal

if lottie file has base64 images:

oasis-atlas-lottie -s lottieFile.json

if lottie file has images in a directory:

oasis-atlas-lottie -s lottieFile.json -i ./images

Usage in node project

  1. Install
npm i @oasis-engine-tools/atlas-lottie --save
  1. Call api
const lottieTransform = require("@oasis-engine-tools/atlas-lottie");

lottieTransform("lottieFile.json");

Readme

Keywords

none

Package Sidebar

Install

npm i @oasis-engine-tools/atlas-lottie

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

41.5 kB

Total Files

6

Last publish

Collaborators

  • zhuxudong