简体   繁体   English

抽奖和用户响应动画

[英]lottie and user responsive animation

is there a way to make Lottie animation responsive to user action? 有没有办法使Lottie动画响应用户的操作?

ie: we have two shapes, shape A is morphing its bounds, shape B is moving by some closed path. 即:我们有两个形状,形状A正在改变其边界,形状B正在沿着某个闭合路径移动。 the user does drag, shape B must stop it's moving and start moving to shape B depending on user movement. 用户确实拖动时,形状B必须停止移动,并根据用户移动开始移动到形状B。 on some distance from shape A, shape B must start morphing it's bound and try to magnetize to shape A changing its bounds. 在距形状A一定距离的地方,形状B必须开始使其边界变形,并尝试磁化为形状A更改其边界。

Install Adobe After Effect CC above 2015 and Adobe Illustrator CC for creating vectors and paths. 安装高于2015的Adobe After Effects CC和Adobe Illustrator CC以创建矢量和路径。 And Install the ZXP installer and the BodyMovin Extension . 并安装ZXP安装程序BodyMovin Extension And start with the basics of paths. 并从路径的基础开始。 Try making the paths and shape morphing. 尝试使路径和形状变形。 You can't drag the shapes basically. 您基本上不能拖动形状。 But you can surely change the shapes of A and B. Wish they work on user interaction in the future versions. 但是您可以肯定地更改A和B的形状。希望它们在以后的版本中可以在用户交互中起作用。 Good Luck on that. 祝你好运。 :) :)

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

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