恭喜你成为UI中国推荐设计师 (详情)
//百度统计 20220402 uicn

您的意见是我们 UI 中国进步的动力!
点击立即反馈按钮,发表您的意见!
立即反馈
QQ群反馈
您也可以加入UI中国官方反馈群进行反馈!
群号:302892100
备注:反馈问题后@管理员能让我们及时了解您的意见

提交需求

赛事与广告咨询合作,请填写需求表单,我们会在第一时间与您联系!

0/20
0/200

设计大赛

  • 设计大赛
  • 发布广告
  • 发布招聘
  • 其它需求

提交完成
感谢您对UI中国的支持和信赖!
Framer 实例 02 弹性界面
0.0°
2016-04-27 原创文章 教程 举报 1586 8 12 1

Framer 实例 02 弹性界面

Image title

Image title



Image title


Image title


Image title


Image title


以下为本案例全部源代码


# Import file "location animation"
sketch = Framer.Importer.load("imported/location animation@1x")

# Set the Icon`s origin
sketch.icon.originX = 0.5
sketch.icon.originY = 0

# Set the Icon`s start state
sketch.icon.y = 570
sketch.icon.scale = 0
sketch.icon.opacity = 0

# Set the Icon`s animate
sketch.icon.animate
properties:
y: 175
scale: 1
opacity: 1
delay: 0.5
curve:"spring(100, 15, 10)"

# Set the Earth`s start sate
sketch.Earth.scale = 0
sketch.Earth.opacity =0

# Set the Icon`s animate
sketch.Earth.animate
properties:
scale: 1
opacity: 1
curve:"spring(100, 15, 10)"

# Set the location1`s State
sketch.location1.y = 876
sketch.location1.scale = 0
sketch.location1.opacity = 0

# Set the location1`s animate
sketch.location1.animate
properties:
y: 676
opacity: 1
scale: 1
time:0.5
delay: 0.6

# Set the text`s start state
sketch.text.y = 900
sketch.text.opacity = 0
sketch.text.scale = 0

# Set the text animate
sketch.text.animate
properties:
y: 769
opacity: 1
scale: 1
delay: 0.7

# Set the button`s State
sketch.button.scale = 0
sketch.button.opacity = 0

# Set the button`s animate
sketch.button.animate
properties:
scale: 1
opacity: 1
delay: 0.8
curve:"spring(100, 15, 10)"


Image title

更新:2016-04-27

收藏

8人已收藏

粉红色的鸡叔

蓝色,我要更多的蓝色。

  • 62

    作品

  • 2072

    粉丝

  • 14

    关注

  • MG动画与游戏动效
  • 和平精英LOGO演绎
  • 动效笔记
  • 游戏动效基础---Day06.U3D粒子篝火
相关标签
动效MGFamerjs

    猜你喜欢

      2016-04-27 原创文章 教程 举报 1586 8 12 1

      Framer 实例 02 弹性界面

      0.0°

      你确定要举报Framer 实例 02 弹性界面

      如果查出恶意举报,十天内禁止提交任何举报申请。

      0/200

      上传证据: 超过10M的附件请使用网盘地址

      点击上传附件

      对谁可见:

      全部设计师
      • 全部设计师
      • 推荐设计师和认证设计师

      您确认要推荐?

      该作品发布时间:2016年04月27日

      评分

      完整度

      启发性

      勤奋性

      排版布局

      推荐心得

      建议20-200字以内

      0/200

      12
      8
      1

      账号或密码错误,请重新输入

      账号或密码错误,请重新输入

      登录

      手机号

      发送验证码 120s 验证码错误

      登录
      第三方账号登录