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

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

61. laya3.0中jszip使用异常 [ 77%]

..../node_modules/jszip/dist/jszip"使用代码为: let zipUrl = "resources/files/config.zip";         Laya.loader.load([{ url: zipUrl, type: Laya.Loader.BUFFER }], null, Laya.Handler.create(this, this.onLoadCfg, null, false)).then(             (value) => {                 JSZip....

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

62. Laya.Loader.getRes("xxx.png")取出来的资源为什么是Texture2D,不是Texture [ 77%]

...堆栈 TypeError: tex.getIsReady is not a function at Graphics.loadImage (file:///D:/zxl/2.0_stable/lfGame2.0/bin/libs/laya.core.js:11477:26) at Function.createFrames (file:///D:/zxl/2.0_stable/lfGame2.0/bin/libs/laya.core.js:23134:23) at Animation.loadImages (file:///D:/zxl/2.0_stable/lfGame2.0/bin...

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

63. 3D模型旋转定位问题 [ 77%]

...ypeError: this.method.apply is not a function at EventHandler.__proto.run (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:697:26) at LoaderManager.__proto.event (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:483:52) at ResInfo.onLoaded (file:///E:/LayaWorkspace/javaScr...

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

64. h5发布后,访问不到图片? [ 76%]

...面这个是选择合并JS后的结果 Failed to load resource: net::ERR_FILE_NOT_FOUND EXIT.png Failed to load resource: net::ERR_FILE_NOT_FOUND laya.core.min.js:1 [warn]Retry to load: ../bin/res/btimg/START.png n._endLoad @ laya.core.min.js:1 laya.core.min.js:1 [warn]Retry to load: ../bin/res/btim...

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

65. layacmd 安装不成功 [ 76%]

...ng\npm `-- (empty) npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\ node_modules\\npm\\bin\\npm-cli.js" "install" "layacmd" "-g" npm ERR! node v6.9.5 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! electron@1.7.9 postinstall: `node...

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

66. warning:Laya.timer.once This variable is not defined. [ 76%]

warning:Laya.timer.once This variable is not defined. file:////Users/qykings/work/layaGame/src/view/game/logic/actors/actorClass/LocalPlayer.as (2000):warning:Laya.timer.once This variable is not defined.   更新到"1.7.16" mac layaAir 有这问题    win没有   好尴尬   2018-03-20 添加...

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

67. 1整天了,还是没解决加载本地文件问题 [ 75%]

1整天了,还是没解决加载本地文件问题 Access to Image at 'file:///E:/layawork/myLaya12/bin/h5/war/background.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed access. 加载本地文件总是报错, chrome 浏览器快...

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

68. 我照的列子做,Protobuf,结果报错! [ 75%]

...===== TypeError: Cannot read property 'ProtoBuf' of undefined at new Game (file:///D:/Projects/game/bin/js/main.js:8:47) at file:///D:/Projects/game/bin/js/main.js:39:12   附件 : --> 2017-02-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

69. html5发布iOS编译报错 [ 75%]

...iniuniu-anpukpjfwkheduhiexglvkluqjyw/Build/Products/Debug-iphonesimulator -filelist /Users/poss/Library/Developer/Xcode/DerivedData/wangpainiuniu-anpukpjfwkheduhiexglvkluqjyw/Build/Intermediates/wangpainiuniu.build/Debug-iphonesimulator/wangpainiuniu.build/Objects-normal/x86_64/wangpainiuniu.LinkFil...

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

70. laya2.0引入第三方库失败 [ 75%]

...t find module '../../libs/pb2' from 'E:\myLaya2D\src\script' at D:\Program Files\LayaAirIDE2.0\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\async.js:55:21 at load (D:\Program Files\LayaAirIDE2.0\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\async.js:69:43...

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