@oasis-engine/tool-atlas-lottie

0.7.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/tool-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/tool-atlas-lottie --save
  1. Call api
const lottieTransform = require("@oasis-engine/tool-atlas-lottie");

lottieTransform('lottieFile.json'); 

Readme

Keywords

Package Sidebar

Install

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

Weekly Downloads

1

Version

0.7.0

License

MIT

Unpacked Size

5.33 kB

Total Files

5

Last publish

Collaborators

  • mrkou47
  • eyworldwide
  • johanzhu
  • chengkong.zxx
  • zhuxudong
  • czizzy
  • husong
  • gl3336563
  • luzhuang
  • zhanyingwei