当前位置:网站首页>Using eating in cocos Creator
Using eating in cocos Creator
2022-07-07 15:39:00 【Vegetable chicken on the road】
Mainly used for animation , Example :
cc.tween(this.stretch)
.to(0.1,{}).call(()=>{this.arrow.scale = scale})
.to(0.5, { x: x },{easing:"sineOut"})
.call(() => {
this.inOrOut = !this.inOrOut;
})
.start();
For the specific effect of official documents, please refer to the address :http://docs.cocos.com/creator/api/zh/classes/Easing.html#elasticout
Replace "sineOut" that will do
边栏推荐
- 【数字IC验证快速入门】18、SystemVerilog学习之基本语法5(并发线程...内含实践练习)
- MongoDB数据库基础知识整理
- @Introduction and three usages of controlleradvice
- 简述keepalived工作原理
- 什么是pv和uv? pv、uv
- Window环境下配置Mongodb数据库
- 【數字IC驗證快速入門】20、SystemVerilog學習之基本語法7(覆蓋率驅動...內含實踐練習)
- Guangzhou Development Zone enables geographical indication products to help rural revitalization
- #HPDC智能基座人才发展峰会随笔
- Whether runnable can be interrupted
猜你喜欢
2. Heap sort "hard to understand sort"
What is Base64?
【跟着江科大学Stm32】STM32F103C8T6_PWM控制直流电机_代码
Yunxiaoduo software internal test distribution test platform description document
With 8 modules and 40 thinking models, you can break the shackles of thinking and meet the thinking needs of different stages and scenes of your work. Collect it quickly and learn it slowly
[understanding of opportunity -40]: direction, rules, choice, effort, fairness, cognition, ability, action, read the five layers of perception of 3GPP 6G white paper
【数字IC验证快速入门】26、SystemVerilog项目实践之AHB-SRAMC(6)(APB协议基本要点)
【搞船日记】【Shapr3D的STL格式转Gcode】
MySQL bit type resolution
15. Using the text editing tool VIM
随机推荐
Nacos一致性协议 CP/AP/JRaft/Distro协议
什么是pv和uv? pv、uv
HW primary flow monitoring, what should we do
【数字IC验证快速入门】22、SystemVerilog项目实践之AHB-SRAMC(2)(AMBA总线介绍)
There is a cow, which gives birth to a heifer at the beginning of each year. Each heifer has a heifer at the beginning of each year since the fourth year. Please program how many cows are there in the
Qu'est - ce qu'une violation de données
Comparable and comparator of sorting
银行需要搭建智能客服模块的中台能力,驱动全场景智能客服务升级
简述keepalived工作原理
Bye, Dachang! I'm going to the factory today
Nacos conformance protocol cp/ap/jraft/distro protocol
How to understand that binary complement represents negative numbers
TypeScript 发布 4.8 beta 版本
Unity's ASE achieves full screen sand blowing effect
【兰州大学】考研初试复试资料分享
Guangzhou Development Zone enables geographical indication products to help rural revitalization
Ctfshow, information collection: web8
Pit avoidance: description of null values in in and not in SQL
[understanding of opportunity -40]: direction, rules, choice, effort, fairness, cognition, ability, action, read the five layers of perception of 3GPP 6G white paper
Whether runnable can be interrupted