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

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

51. 官网的微信小游戏2D例子,发布以后无法运行 [ 90%]

...riptError Laya is not defined ReferenceError: Laya is not defined     at http://127.0.0.1:16026/game/code.js:29:15     at require (http://127.0.0.1:16026/game/__ ... :96033)     at http://127.0.0.1:16026/game/__ ... 95643     at http://127.0.0.1:16026/game/game.js:3:30     at require (http...

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

52. 小程序不支持matter.js吗 [ 90%]

...ScriptError Matter is not defined ReferenceError: Matter is not defined at http://xxx.xxx.x.x:14680/game/code.js:1:839076 at http://xxx.xxx.x.x:14680/game/code.js:1:843108 at require (http://xxx.xxx.x.x:14680/game/ ... :77964) at http://xxx.xxx.x.x:14680/game/ ... 77573 at http://xxx.xxx.x.x:14680/g...

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

53. 微信加载proto文件 [ 90%]

... 请教下用哪个工具转的 我盼乙卯 • 2018-07-04 17:26 @cike007:https://www.sohu.com/a/218456675_609455 Laya_Aaron • 2018-03-13 17:11 多发一些信息 xiongxin11 • 2018-03-13 17:13 WAGame.js:3 gameThirdScriptError module "bytebuffer.js" is not defined Error: module "b...

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

54. Browser.window.open 手机浏览器打不开网页 [ 90%]

...,安卓苹果均打不开网页。。   //Browser.window.location.href="http://www.baidu.com"; Browser.window.open("http://116.113.30.2:8090/onlin ... ot%3B + data.order);   手机浏览器打不开网页。。。PC浏览器可以打开网页。。。 附件 : --> 2017-03-26 添加评论 免费...

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

55. 怎么使用http请求 [ 89%]

怎么使用http请求 httpRequest: function (url, data) { var xhr = cc.loader.getXMLHttpRequest(); if (!xhr.onreadystatechange) { xhr.onreadystatechange = function () { if (xhr.readyState == 4 && (xhr.status >= 200 && xhr.status <= 207)) { //cc.log("response:\n" + xhr.respons...

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

56. 微信小游戏IDE加载位图字体,提示错误 [ 89%]

...ElementsByTagName is not a function     at BitmapFont.__proto.parseFont (http://127.0.0.1:61385/game/code.js:803:17)     at Loader.__proto.onLoaded (http://127.0.0.1:61385/game/code.js:12700:11)     at HTMLImage.onload (http://127.0.0.1:61385/game/code.js:21213:15)     at Image._source._sour...

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

57. 发布为微信小游戏,加载字体失败 [ 89%]

...ElementsByTagName is not a function     at BitmapFont.__proto.parseFont (http://127.0.0.1:53804/game/code.js:803:17)     at Loader.__proto.onLoaded (http://127.0.0.1:53804/game/code.js:12700:11)     at HTMLImage.onload (http://127.0.0.1:53804/game/code.js:21213:15)     at Image._source._sour...

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

58. ios打包单机版本问题,显示conchShader找不到和Status bar could not find cached time string image. 然后直接黑屏!!!!!! [ 88%]

...来自: 05-04 14:56:52.020 23894-24011/com.layabox.game I/LayaBox: alert=http://stand.alone.version/libs/laya.d3.js:1: ReferenceError: ConchShader is not defined                                                            .particleShuriKen.module.shape.SphereShape",e);va...

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

59. Android打包后运行报错 [ 88%]

...报错了。。 index.js:282  apploader.js:5279 HTMLScriptElement set srchttp://stand.alone.version/Main.max.js apploader.js:5917 _downloadAysn:temp.srchttp://stand.alone.version/Main.max.js ../../../../include/common/downloadCache/JCAndroidFileSource.h:238 found the file in the package:cache/stand...

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

60. Laya打包微信小游戏的时候,引入的外部js访问不到 [ 88%]

...如下: math is not defined ReferenceError: math is not defined     at http://127.0.0.1:19768/game/code.js:60:1     at require (http://127.0.0.1:19768/game/__ ... :78871)     at http://127.0.0.1:19768/game/__ ... 78480     at http://127.0.0.1:19768/game/game.js:4:1     at require (http:/...

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