azchohfi / LottieUWP

UWP port of Lottie(https://github.com/airbnb/lottie-android)
Apache License 2.0
273 stars 45 forks source link

LottieUWP Animation Not Smooth #36

Closed hengsokvisal closed 6 years ago

hengsokvisal commented 6 years ago

I am a fan of lottie and before I only use it with IOS but right now , I am developing an UWP app and I want to try Lottie in my app as well but seem like the animation in UWP is not as Smooth as in IOS. I want to know is there anyway to improve its smoothness ?

Thing to note I am using the same animation.json in both IOS and UWP.

azchohfi commented 6 years ago

On UWP, we obey the file's frame rate, but we do interpolate if you increase it. So if, let's say your animation is at 15 fps, just change the LottieAnimationView.FrameRate to 30, or 60, or whatever makes it plays nicely for you.