Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.31 KB

README.md

File metadata and controls

54 lines (36 loc) · 1.31 KB

Lottity

✨ Bringing Lottie Animations to Unity using ThorVG!

Melting

⚠️ Disclaimer

This is to a Proof of Concept, there are still many features missing such as:

  • Better animation controls
    • Speed
    • Loop Points
    • Pause / Resume
  • Able to easily swap animations on the fly

How to Use

  • Add the LottieSprite component to any object. It will then be rendered using SpriteComponent. It's that simple!

Supported Platforms

  • Windows
  • MacOS

Development

Compiling ThorVG

ThorVG has already been included in the plugin, but in case you want to build it yourself, here's how:

  • Install Meson and Ninja

    • Windows: pip install meson ninja
    • MacOS: brew install meson
    • Linux: sudo apt install meson
  • Download ThorVG:

git clone https://github.com/thorvg/thorvg.git
cd thorvg
git checkout v1.0-pre8
  • Compile ThorVG:
meson setup builddir -Dbindings="capi" --wipe
meson compile -C builddir
  • Copy the built library from builddir/src to Assets/Lottie/Plugins in your Unity Project

Demo

demo.mp4