简体   繁体   English

如何更改 Lottie 的动画

[英]How to make changes into animation of Lottie

I am stuck with a problem.我遇到了一个问题。 I have a project in which I need to implement an animation from Lottie.我有一个项目,我需要在其中实现 Lottie 的动画。 So I made the animation with an animation available from Lottie but when I show the app to the client, they requested that the lines be some what bolder.所以我用 Lottie 提供的动画制作了动画,但是当我向客户展示应用程序时,他们要求线条更粗一些。 Also they want changes in the movement.他们也希望运动发生变化。 I have no experience of Adobe after effect.我没有 Adob​​e after effect 的经验。 Is there any way to do these all in Android Studio?有什么办法可以在 Android Studio 中做到这些吗?

I tried the Lottie editor but it is not giving me the control I need.我尝试了 Lottie 编辑器,但它没有给我所需的控制。 I also want to find some other way, but I found no way to edit the Lottie animation file (.json file )我也想找其他方法,但是我发现没有办法编辑 Lottie 动画文件(.json 文件)

The Lottie plugin exports all texts and shapes as paths. Lottie 插件将所有文本和形状导出为路径。 Hence it is not possible to edit a shape (in your case) or text.因此,无法编辑形状(在您的情况下)或文本。

But still you can always use Lottie Editor for editing colors or change speed of animation.但是您仍然可以始终使用Lottie Editor来编辑颜色或更改动画速度。

Hope this helps.希望这可以帮助。

You can change text but text character can only be that are already present Eg: If your lottie animation has text: welcome You can edit it to :您可以更改文本,但文本字符只能是已经存在的例如:如果您的彩票动画有文本:欢迎您可以将其编辑为:

  • come
  • wel
  • comewel来来往往
  • wlcm微信
  • omw But trying to edit it to : welfare will return : wele ie you can only use that text character that are already used inside. omw 但是尝试将其编辑为:福利将返回:wele 即您只能使用内部已使用的文本字符。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM