Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rive exported animation showing up blank #44

Open
ifelse- opened this issue Jul 9, 2020 · 5 comments
Open

Rive exported animation showing up blank #44

ifelse- opened this issue Jul 9, 2020 · 5 comments

Comments

@ifelse-
Copy link

ifelse- commented Jul 9, 2020

Hello, I'm currently working with an animation exporting from Rive app.

The export is in Json flr format. I was recommended to use a 2d-inc runtime engine to run my animation using Javascript.

I have clone the repo and installed required npm dependencies. I can get the example animation to work fine. When I try to use the same code from js and html changing the flr file. My animation doesn't appear. I've checked the console and file loaded correct. The issue is that the js and html data is not the same.

Where can I find documentation on how to setup the html and js code to work with my exported flr animation from Rive?

Thanks

@umberto-sonnino
Copy link
Contributor

The example folder should provide a basic setup for setting everything up in your app..!
Would you mind sharing your .flr file, as well as your public file url? I can try taking a look

@ifelse-
Copy link
Author

ifelse- commented Jul 10, 2020

Hey thanks for your reply. I have attached gif here. You will need to change to flr file. I needed to do that in order to upload it here. I have the flr2 as while.
TestAnimation

@umberto-sonnino
Copy link
Contributor

That link doesn't seem to work for me. If your file is public on Rive, could you share its url?

@ifelse-
Copy link
Author

ifelse- commented Jul 13, 2020

That link doesn't seem to work for me. If your file is public on Rive, could you share its url?

https://rive.app/a/melmore/files/flare/basic-banking

@19Qingfeng
Copy link

Hello, I'm currently working with an animation exporting from Rive app.

The export is in Json flr format. I was recommended to use a 2d-inc runtime engine to run my animation using Javascript.

I have clone the repo and installed required npm dependencies. I can get the example animation to work fine. When I try to use the same code from js and html changing the flr file. My animation doesn't appear. I've checked the console and file loaded correct. The issue is that the js and html data is not the same.

Where can I find documentation on how to setup the html and js code to work with my exported flr animation from Rive?

Thanks

please,How can the case file run.
I still can't run according to the operation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants