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

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

21. reflection error: can not find method signature 反射错误 [ 79%]

...x.js@ s=0 l=0 2020-05-16 23:46:23.946201+0800 Digital Warrior[557:53097]  xhr.GET url=https://10.10.31.23:8001/index.js 2020-05-16 23:46:23.947349+0800 Digital Warrior[557:53056] Download [  ]:https://10.10.31.23:8001/index.js 2020-05-16 23:46:23.948169+0800 Digital Warrior[557:53056] download err...

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

22. iOS真机运行报错--- 加载游戏失败,可能由于您的网络不稳定,请退出重进 [ 79%]

... xcode Log: 2018-03-15 11:24:58.264754+0800 MineSweeper6[7091:2932031] xhr.GET url=http://stand.alone.version/index.html 2018-03-15 11:24:58.265521+0800 MineSweeper6[7091:2932001] Download [ ]:http://stand.alone.version/index.html Creating context 1024, 768, 22018-03-15 11:24:58.270942+0800 MineSw...

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

23. 用最新版本的IDE开发,用AS语言开发,用HttpRequest加载图片报错,用JS语言开发却可以加载 [ 77%]

... //初始化引擎 Laya.init(1136, 640); var sp:Sprite = new Sprite(); var xhr:HttpRequest = new HttpRequest(); xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); } private function completeHandler(data:Object):...

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

24. httpRequest send返回Request failed Status:0 [ 77%]

...36, 640); for (var i = 0; i < 4; i++) { var sp = new Laya.Sprite(); var xhr = new Laya.HttpRequest(); var url = "http://thirdqq.qlogo.cn/g%3Fb% ... 3B%3B xhr.once(Laya.Event.COMPLETE, this, this.completeHandler, [url, 1]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); xhr.send(url, "", "ge...

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

25. 在native下 Laya.Browser.window.Blob不存在 [ 76%]

... 4 个回复 daibao520 赞同来自: donloadImageTest: function (ss) { var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE, this, completeHandler); xhr.once(Laya.Event.ERROR, this, errorHandler); xhr.send("http://192.168.10.108:35553/re ... ot%3B, "", "get", "arraybuffer"); function compl...

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

26. 使用二进制图片 · LayaAir3.0文档 · LAYABOX [ 75%]

...载试试。这里我们先用js脚本进行操作。代码如下: var xhr = new XMLHttpRequest(); xhr.open("get", "res/atlas/comp.png", true); xhr.responseType = "arraybuffer"; xhr.onload = function () { if (this.status == 200) { var blob = new Blob([this.response], { type: "image/png" }); var im...

来源: Laya3.0_文档 发布时间: 20230303

27. 提示“AtlasResourceManager:Dispose the inner Atlas。” [ 72%]

...p(150, this, showframe); })(); function showframe() { var self = this; var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE,this,completeHandler); xhr.once(Laya.Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); function completeHandler(data){ var url = Lay...

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

28. 打包native报错 [ 72%]

...Runtime::callMethod {} 2019-06-18 13:34:09.382030+0800 test1[6479:65523]  xhr.GET url=http://stand.alone.version/index.js 2019-06-18 13:34:09.383314+0800 test1[6479:65578] Download [  ]:http://stand.alone.version/index.js 2019-06-18 13:34:09.388180+0800 test1[6479:65578] curl_easy_perform failed, ...

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

29. 打成ios包,运行时显示的测试扫码界面 [ 71%]

...6ce0537a5949c98f85e 2020-04-22 18:21:19.450960+0800 layabox[3608:626785]  xhr.GET url=http://nativetest.layabox.com/layaplayer/index.js 2020-04-22 18:21:19.462824+0800 layabox[3608:626768] Download [  ]:http://nativetest.layabox.com/ ... 85b3d 2020-04-22 18:21:19.541038+0800 layabox[3608:626768] D...

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

30. 微信小游戏中不能加载proto文件 [ 71%]

...成https:/,微信下载就报错了。 在protobuf.js的function fetch_xhr方法最后把fileName改成//就可以load成功, var names=filename.split('/'); if(names[0]=="http:"||names[0]=="https:"){ filename=names[0]+"/"; for(var i=1;i<names.length;i++){ filename+=('/'+names[i]); } } xhr.ope...

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