动画+按钮 [英] Animation + buttons

查看:95
本文介绍了动画+按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须制作这样的动画:

I have to make animation like this:

开头的圆圈切成两半并着色绿色和红色。当用户点击红色时,圆圈应以一种方式制作动画,当用户点击绿色部分圆圈时,应以第二种方式制作动画。

At the beginning  circle cut on half and colored on green and red. When user click on red, the circle should animate in one way and when user click on green part circle should animate in second way.

我知道如何使用动画,但我是混合中还没有进步。我应该使用州吗?

I know how to work with animations, but I'm not advanced yet in blend. Should I use states?

您能给我发送任何建议或寄给我文章吗?

could you send me any suggestions or send me like to article?

问候

kazik

 

推荐答案

使它们成为两个不同的半圆,并使动画独立。要创建半圈,您可以使用笔。

Make them two different half circles and make the animations independant. To create a half circle you can use the Pen.

 


  1. 点击并按住并一直拖动像5厘米一样,释放鼠标。
  2. 点击您创建第一个点的第二个点(也是5个字节),但不要释放点击。
  3. 向下拖动5cms并释放
  4. 现在按alt并单击向下线为第一个点和释放画一条直线。
  5. 点击第一个点并完成半圆。

将其绘制为绿色,然后通过使用选择工具按住alt并将半圆拖动来复制它。旋转它直到它适合。

Paint it green and now duplicate it by holding alt with the selection tool and drag the half circle. Rotate it until it fits.

用绿色动画制作动画,然后为红色动画做一个新动画。

Do the animation with the green one, and do a new animation for the red one.

没有复杂性,没有代码,只是动画和gui事件。

No complexity, No code, just the animation and the events with gui.


这篇关于动画+按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆