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

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

31. vs code launch.json调试配置 [ 66%]

...linkid=830387 "version": "0.2.0", "configurations": [ { "type": "chrome", "request": "launch", "name": "Launch Chrome", "url": "http://localhost:8080", "webRoot": "${workspaceFolder}", "runtimeExecutable": "C:/Program Files (x86)/Google/Chrome Dev/Application/chrome.exe", "runtimeArgs": [ "--allow-f...

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

32. HttpRequest在firefox里面执行正常在ios出现err [ 66%]

HttpRequest在firefox里面执行正常在ios出现err layaair使用了httpRequest获取json数据,在firefox里正常,但是用了ios自带的safari就出现err,报错是request failed status:0 我的学习作品地址是http://www.mubugu.com/test/poker/bin/index.html 大家可以试试看...

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

33. 请问我用下面的代码发送个简单的http get请求,为什么在电脑上能得到成功输出,在手机上总是得到失败输出呢? [ 65%]

...151.248/sf_serve ... 3B%3B alert("url=" + url); var req = new laya.net.HttpRequest(); req.on(laya.events.Event.COMPLETE, null, cb_onSuccess); req.on(laya.events.Event.ERROR, null, cb_onFail); req.send(url); } function cb_onSuccess(response) { alert("response=" + response); // 成功输出:{"ret":1...

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

34. 苹果手机来回关闭背景音乐以后会出现报错[已解决] [ 65%]

...过点击事件触发的 Unhandled Promise Rejection: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.   链接http://m.danlu.net/u/kezhiyu/game/4898/ 我不是用官方编辑器写的。 2018-07-06 ...

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

35. 在不开微信调试的情况下无法显示图集和用户头像信息 [ 64%]

...户的头像了, 听说需要配置一下微信小游戏的域名,其中有request 合法域名,socket 合法域名,uploadFile 合法域名,downloadFile 合法域名,项目中只做过世界排行榜需要的http短连和图片资源的远程加载,不知道该如何配置这些域名; 至于获取...

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

36. mac下面更新了laya2.4beta运行chrome黑屏... [ 63%]

...示 : from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.     我也根据提示退出chrome进程启动了,没用啊。。。求你们用mac多搞搞..希望哪位有经验教育一下...

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

37. socket大型项目回调 [ 62%]

...= null; private callbacks:any = {}; private handlers:any = {}; // Map from request id to route private routeMap = {}; private heartbeatInterval:number = 0; private heartbeatTimeout:number = 0; private nextHeartbeatTimeout:number = 0; private gapThreshold:number = 100; private heartbeatId:any = null;...

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

38. 关于LayaBox启动的问题。 [ 62%]

...: TBSEngine:_sendlog I/saveToStorage( 8298): TBSEngine:commit to storage I/request[transfer_data]( 8298): TBSEngine:skip[no logs] I/saveToStorage( 8298): TBSEngine:commit to storage D/Analytics.CommitTask.4888.1513( 4888): [run] CommitTask,check&commit event:65502 D/Analytics.CommitTask.4888.151...

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

39. 深入理解LayaAir引擎架构和实现原理(二)项目调试原理及完美开发调试方案 [ 60%]

... "0.2.0", "configurations": [ { "name": "chrome调试", "type": "chrome", "request": "launch", "file": "${workspaceRoot}/bin/index.html", // "换成自己的谷歌安装路径,": 比如 //window 默认安装路径为: "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe" //mac 系统上的...

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

40. laya2.0用FlashDevelop调用编译,总是打开bin\h5\index.html [ 59%]

...ion": "0.2.0", "configurations": [ { "name": "layaAir", "type": "chrome", "request": "launch", "file": "${workspaceRoot}/bin/index.html", "runtimeExecutable": "${execPath}", "useBuildInServer": true, "sourceMaps": false, "webRoot": "${workspaceRoot}", "port": 9222, "fixedPort":false, "sourceMapPathO...

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