![](https://img-blog.csdnimg.cn/20190918140213434.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
1.4 CocosCreator
CocosCreator 开发记录
哲学的天空
这个作者很懒,什么都没留下…
展开
-
cocoscreator 简单事件系统
enum UIGameMsgType { UINotify_1 = 0, UINotify_2 = 1, UINotify_3 = 2, } class EventMgr { constructor() { } dic = ...原创 2020-03-06 17:29:03 · 498 阅读 · 0 评论 -
cocos creator 事件队列
let Queue = require('./Queue');cc.Class({ extends: cc.Component, properties: { eventCount: 0, //被观察者总数目 count: 0, }, onLoad() { window.GameEvent = this; ...原创 2020-03-06 17:28:12 · 999 阅读 · 0 评论 -
cocos creator scrollView 优化 item重复利用
1. ListItem基类 const {ccclass, property} = cc._decorator;@ccclassexport default class ListViewItem extends cc.Component { itemId: number = 0; onLoad() { } /** ...原创 2020-03-07 15:47:06 · 2245 阅读 · 1 评论 -
cocos creator 安装及调试环境配置
1. 下载cocos creator软件并安装 https://www.cocos.com/creator2. 打开cocos creator 并创建新项目3. 点击运行,项目再默认浏览器中打开。4. 文件 (菜单)---设置(子菜单)中设置编辑器为VSCode,单击项目中代码文件 将打开VSCode进行编辑代码。5. 配置...原创 2020-01-14 21:02:18 · 3493 阅读 · 0 评论