rive-cpp-legacy icon indicating copy to clipboard operation
rive-cpp-legacy copied to clipboard

Lottie to Rive

Open IeuanWalker opened this issue 1 year ago • 1 comments

Not sure if this is the right place to raise this issue or not.

I'm trying to migrate from Lottie to Rive using the desktop app to import the lottie file and then export riv file. But the Rive animation renders the lottie file incorrectly.

This is what the lottie animation looks like - image

This is what Rive generates - image

Here is the lottie file - Location.json

IeuanWalker avatar Aug 29 '24 11:08 IeuanWalker

BREAKING CHANGE!

I've consolidated the advance functions into one: bool advance(float). To determine whether the animation has looped, look at bool didLoop() after calling advance.

We're doing it this way now as our Wasm bindings can't handle reference parameters.

@umberto-sonnino the Android runtime will need updating to reflect the change.

mjohnsullivan avatar Jan 15 '21 21:01 mjohnsullivan

Rebasing master

mjohnsullivan avatar Jan 15 '21 22:01 mjohnsullivan