![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CocosCreator
文章平均质量分 53
赵恒fegnze
一个疲于反抗自己的凡人
展开
-
CocosCreator插件笔记
生成Creator长短UUIDlet uuid=Editor.Utils.UuidUtils.uuid();Editor.log(uuid);//45p/Kon2hGs7gjNzbB8Xgglet decompressUuid=Editor.Utils.UuidUtils.decompressUuid(uuid);Editor.log(decompressUuid);//45a7f2a8-9f68-46b3-b823-3736c1f17820发送ipc消息// send ipc message原创 2021-06-17 14:58:17 · 507 阅读 · 0 评论 -
CocosCreator性能优化手册
# 优化加载速度* 优化包体大小 1. 资源 - 图片 <1> 减少使用大图,尽可能的使用九宫格 <2> 图片压缩 (1). 两套压缩,ios使用pvr,android使用etc1,未来可以统一使用etc2(部分旧机型不支持) (2).使用第三方压缩软件,直接图片本身,但要注意大部分压缩是有损的,比如近期使用过的tinypng,原理上大概与etc类...原创 2021-06-10 13:54:14 · 1121 阅读 · 2 评论 -
cocosCreator抽奖转盘效果实现,附缓动动作预览
cocosCreator3.0-抽奖-转盘效果利用缓动队列实现,tween利用缓动队列实现,tweentween(this.node) .to(3, { angle: 360 * 10 + 30 }, { easing: 'circIn' }) .call(() => { console.log('This is a callback'); }) .to(5, { angle: 360 * 2 + 30 }, { easing: 'circOut' }) .start();原创 2020-12-23 11:48:39 · 1449 阅读 · 1 评论