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

大约有 50 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0063 秒)

1. Laya中Button等组件lose skin的问题 [ 100%]

...th(content);                 _$this._loaderCount || _$this.event(/*laya.events.Event.COMPLETE*/"complete");             });             }else {             var info=LoaderManager._resMap;             if (!info){             ...

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

2. Cannot read property 'offCanplay' of null [ 98%]

...地方,用到,在laya.wxmini.js onCanPlay() { this.loaded = true; this.event(Laya.Event.COMPLETE); this._sound.offCanplay(null); } 估计是因网络比较满的情况,在文件下载完毕之后,sound对象已经被销毁了,所以自己加了一个判断。 onCanPlay() { this.loaded = t...

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

3. mac 开放域 发布失败 [ 89%]

...pp/Contents/Resources/electron.asar/browser/rpc-server.js:257:11)     at EventEmitter.<anonymous> (/Applications/LayaAirIDE.app/Contents/Resources/electron.asar/browser/rpc-server.js:357:5)     at emitMany (events.js:127:13)     at EventEmitter.emit (events.js:204:7)     at WebContents...

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

4. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 89%]

...(this.x + this.width) < this.maxRight){ this.isOutComplete = true; this.event(Floor.OUT_COMPLETE, this); }else if((this.x + this.width) < 0){ //判断整个floor是否不在屏幕里面了 如果不在了 移除当前floor Laya.timer.clear(this, this.onLoop); this.visible = false; this.event(F...

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

5. 跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 [ 89%]

...js:15946)     at Texture.__proto._onLoaded (laya.core.js:15750)     at EventHandler.__proto.runWith (laya.core.js:1410)     at ResInfo.__proto.event (laya.core.js:1166)     at LoaderManager.__proto._endLoad (laya.core.js:14880)     at Loader.onLoaded (laya.core.js:14850)     at EventHand...

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

6. 针对2.0.0 beta5 setLoadingPage 做增强 [ 88%]

...ndler otherHandler().then(res => { // 默认进度加1% this._loadScene.event("progress", .01) if (res) param = .concat((param || ), [res]) Laya.Scene.open(url, closeOther, param, complete, progress) }) } /** * 清除loading page */ clearLoadingPage() { this._loadScene = null Laya.Scene.setLoadin...

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

7. swf转成H5资源显示超出原有范围 [ 88%]

...tageAlign;     import flash.display.StageScaleMode;     import flash.events.Event;     import flash.net.URLRequest;     import flash.system.ApplicationDomain;     import flash.system.LoaderContext;     import flash.system.Capabilities;     public class Main extends Sprite    ...

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

8. 关于UI与3D场景的问题 [ 88%]

...相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: button.on(Laya.Event.CLICK, this, function(event:Laya.Event){ console.log("点击到了UI"); event.stopPropagation(); }); 完整代码 2018-05-30 0 17 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 你这个问题描述的很明确,...

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

9. Socket能连接到服务器,客户端发请求也能收到服务端的数据,但是服务端主动推送数据,客户端就是收不到数据? [ 87%]

...Scripts.Core { import laya.net.Socket; import laya.utils.Byte; import laya.events.Event; import Scripts.Core.MsgManger; import Scripts.Core.IHandler; import Scripts.Core.TipsManager; import laya.utils.Browser; /** * ... * @author */ public class Socketmanger{ private static var _I:Socketmanger; publ...

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

10. 小游戏环境下 声音的缓存机制导致更换声音文件失败 [ 84%]

...niSound._audioCache[this.readyUrl]) {                 this.event(/*laya.events.Event.COMPLETE*/"complete");                 return;             }             console.log(url);             if (MiniAdpter.autoCacheFile && Mini...

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