2d-inc / Nima-Flutter

MIT License
198 stars 37 forks source link

Export generates a .nma instead of .nima? #6

Closed sebstr1 closed 5 years ago

sebstr1 commented 5 years ago

I followed the steps for exporting to flutter, selecting export to engine, type generic, leaving the rest as default. This generates a zip with a .nma file instead of a .nima file which does not seem to be usable in flutter.

Update: I tried to manually change the file ending from .nma to .nima and then it works.

luigi-rosso commented 5 years ago

I've published the updated package to Dart Pub which should fix this issue. Make sure you reference the full filename when providing the asset to the actor widget!

luigi-rosso commented 5 years ago

Closing but feel free to reopen if you're still having problems.

luigi-rosso commented 5 years ago

Call “flutter pub upgrade” from the terminal to update your packages. That should grab the latest flare_flutter dependency.

Idan-BM commented 5 years ago

You ment "nima_flutter"? Also when running my .nima file on your example i get animation for 0.5s and then pause for couple of seconds and continues, you know why?

Access denied finding property "vendor.debug.egl.swapinterval running on oneplus6, i see its an issue, but does something else could be the problem?