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

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

191. 资源加载问题 [ 69%]

...re.js:13173)     at LayaGame.<anonymous> (LayaGame.ts:60)     at EventHandler.__proto.runWith (laya.core.js:724)     at ResInfo.__proto.event (laya.core.js:494)     at LoaderManager.__proto._endLoad (laya.core.js:13377)     at Loader.onLoaded (laya.core.js:13353)     at EventHandle...

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

192. 如何在layaair 上使用get方法的xml ,获得节点属性? [ 69%]

...               hr = new HttpRequest();             hr.once(Event.PROGRESS, this, onHttpRequestProgress);             hr.once(Event.COMPLETE, this, onHttpRequestComplete);             hr.once(Event.ERROR, this, onHttpRequestError);             hr.send(NameJo...

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

193. LocalStorage 接口适配问题 [ 69%]

...8 json图集加载问题 ios原生回调问题 (此问题已经无效) event自定义事件的问题 问题状态 最新活动: 2019-10-18 16:02 浏览: 959 关注: 1 人

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

194. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 69%]

...; a.pos(200, 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void {     console.log("touch a"); } 因为需要将mouseThrough=true才可以,蛋疼的api描叙你能相信是这个熟悉么? “mouseThrough : Boolean = false,指...

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

195. 批量预加载如果是图片或者声音类型,不会触发加载错误事件 [ 69%]

...如果加载错误,并不会触发错误事件。   Laya.loader.on(Laya.Event.ERROR, this, function(){ console.log("err"); }); Laya.loader.load([{url:"res/general/test.png",type:laya.net.Loader.IMAGE}]);   如果指定的类型时json或者atlas是会触发错误事件的。 2018-09-26 添加评...

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

196. request failed status:0 text: IOS HttpRequest [ 69%]

...erId:"533", } alert(JSON.stringify(data)); hr = new HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestError); var headers = []; headers.push("Content-Type"); headers.push("application/jso...

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

197. web和微信端没有问题,打包成apk后 httprequest报Request failed Status:404 text:undefined [ 69%]

...相关的链接 提交 2 个回复 金风 赞同来自: this.xhr.once(Laya.Event.COMPLETE, this, this.CompleteHandler); this.xhr.once(Laya.Event.ERROR, this, this.ErrorHandler); this.xhr.on(Laya.Event.PROGRESS, this, this.ProgressHandler); this.xhr.send(Global.WebHost+this.currentRequest.url, this.c...

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

198. socket报错,on: reserved1 = 1, reserved2 = 1, reserved3 = 0 [ 69%]

...读取到的数据是错的,然后就报错了。package { import laya.events.Event; import laya.net.Socket; import laya.utils.Byte; import laya.webgl.WebGL; public class SocketSample { public var socket:Socket; private var byte:Byte; public function SocketSample() { //初始化引擎 this.byte = ...

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

199. 微信小游戏加载问题 [ 69%]

...ileMgr.filesListObj[sourceUrl];                 thisLoader.event(Laya.Event.ERROR, "Load image failed");             }; 附件 : --> 2020-04-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 ...

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

200. 接入玩一玩用socketIo出现的问题 [ 69%]

... 写了个边缘光的自定义shader,有很多问题,帮忙看一下 event自定义事件的问题 问题状态 最新活动: 2018-03-05 15:45 浏览: 825 关注: 2 人

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