lottiefy
lottiefy copied to clipboard
Lottie with cocos creator Javascript (ES5)
I'm very happy that you can integrate lottie into cocos2d-x
I am using Cocos creator to build my application and want to use lottie to do some effects for the application
I tried to get your code at project https://github.com/pd4d10/lottie-cocos2dx and integrated into my project but it does not work
Can you give me a hint or tutorial so I can integrate lottie into my project. Thank you very much
Thanks for your report. Is there any error message when using lottie-cocos2dx?
In addition, it would be helpful for debugging if you could upload your JSON file exported by Bodymovin
Thank you for the reply.
lottie-cocos2dx use ES6, But my project is written with javascript code ES5, and it does not work.
This is the JSON file I downloaded from the home page https://www.lottiefiles.com/ favorite_star.json.zip
if you can let me guide the lottie take on the Cocos creator with the javascript code ES5
Thank you very much.
The code published to NPM is already compiled to ES5
Seems the JSON file you use has shape animation, which is not supported currently. See roadmap. We need to do more work to implement this