当前位置:网站首页>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
边栏推荐
- 一个需求温习到的所有知识,h5的表单被键盘遮挡,事件代理,事件委托
- 【数字IC验证快速入门】29、SystemVerilog项目实践之AHB-SRAMC(9)(AHB-SRAMC SVTB Overview)
- Write a ten thousand word long article "CAS spin lock" to send Jay's new album to the top of the hot list
- STM32F103C8T6 PWM驱动舵机(SG90)
- [markdown grammar advanced] make your blog more exciting (IV: set font style and color comparison table)
- Ctfshow, information collection: web13
- [server data recovery] data recovery case of raid failure of a Dell server
- Integer learning
- Guangzhou Development Zone enables geographical indication products to help rural revitalization
- 【数字IC验证快速入门】19、SystemVerilog学习之基本语法6(线程内部通信...内含实践练习)
猜你喜欢
Unity之ASE实现全屏风沙效果
Super simple and fully automated generation super signature system (cloud Xiaoduo minclouds.com cloud service instance), free application in-house test app distribution and hosting platform, maintenan
【服务器数据恢复】戴尔某型号服务器raid故障的数据恢复案例
[quick start of Digital IC Verification] 24. AHB sramc of SystemVerilog project practice (4) (AHB continues to deepen)
Ctfshow, information collection: Web3
居然从408改考自命题!211华北电力大学(北京)
Getting started with webgl (2)
[server data recovery] a case of RAID data recovery of a brand StorageWorks server
Ctfshow, information collection: web4
Use cpolar to build a business website (2)
随机推荐
2. Basic knowledge of golang
[quick start for Digital IC Validation] 26. Ahb - sramc (6) for system verilog project practice (Basic Points of APB Protocol)
Oracle控制文件丢失恢复归档模式方法
[Data Mining] Visual Pattern Mining: Hog Feature + cosinus Similarity / K - means Clustering
众昂矿业:萤石继续引领新能源市场增长
【数字IC验证快速入门】26、SystemVerilog项目实践之AHB-SRAMC(6)(APB协议基本要点)
Getting started with webgl (1)
Nacos conformance protocol cp/ap/jraft/distro protocol
Cocos uses custom material to display problems
Steps to create P8 certificate and warehousing account
【數據挖掘】視覺模式挖掘:Hog特征+餘弦相似度/k-means聚類
MySQL bit类型解析
[Lanzhou University] information sharing of postgraduate entrance examination and re examination
How to deploy the super signature distribution platform system?
【目标检测】YOLOv5跑通VOC2007数据集
The significance of XOR in embedded C language
Gd32 F3 pin mapping problem SW interface cannot be burned
Win10 or win11 taskbar, automatically hidden and transparent
Summer safety is very important! Emergency safety education enters kindergarten
Stm32f103c8t6 PWM drive steering gear (sg90)