• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 5 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0025 秒)

1. 如何能监听到TouchStart和TouchEnd事件 [ 100%]

...值。*/         static DISPLAY: string;         /** 定义 undisplay 事件对象的 type 属性值。*/         static UNDISPLAY: string;         /** 定义 error 事件对象的 type 属性值。*/         static ERROR: string;         /** 定义 complete...

来源: Laya_社区 发布时间: 20170601

2. 关于显隐事件监听 [ 95%]

...置一个对象的visible,但是不知道监听那个事件,display和undisplay,并未触发 removed和add更不是了 2018-08-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Libertas 赞同来自: 你说...

来源: Laya_社区 发布时间: 20180823

3. 分享一个自己做的游戏公告功能,跑马灯效果 [ 73%]

... this._createHorn() this._createBg() this._createView() this.on(Laya.Event.UNDISPLAY,this,this.stop) this.on(Laya.Event.DISPLAY,this,this.play) } /** 创建滚动区域 */ _createView() { this.hornBox = new Box() let _rectangle = new Laya.Rectangle(0,0,this.defaultX,55) this.hornBox.scrollRect = _re...

来源: Laya_社区 发布时间: 20180314

4. 微信小游戏渲染开放域卡顿处理 [ 52%]

...vent.DISPLAY, this, this.onCreate);             this.once(Laya.Event.UNDISPLAY, this, this.onDestroy);         }         /**          * 加入场景          */         protected onCreate(): void {             var self = this;             // 纹理        ...

来源: Laya_社区 发布时间: 20181114

5. 微信小游戏加载资源问题 [ 16%]

...ya.stage.frameRate = data.rate || Laya.Stage.FRAME_FAST; break; case "undisplay": Laya.Laya.stage.frameRate = Laya.Stage.FRAME_SLEEP; break; } if (data['isLoad'] == "opendatacontext") { if (data.url) { MiniFileMgr.ziyuFileData[data.url] = data.atlasdata; MiniFileMgr.ziyuFileTextu...

来源: Laya_社区 发布时间: 20200103