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

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

101. 2.0.1beta ctx.getImageData is not a function [ 54%]

... 0, this._mbW, this._mbH)', 'ctx.getImageData' is undefined) url:undefined line:67259 column:43 id:1300147 TypeError: ctx.getImageData is not a function. (In 'ctx.getImageData(0, 0, this._mbW, this._mbH)', 'ctx.getImageData' is undefined)   这是什么原因?原生ios打包运行后,web方式...

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

102. 进行预加载,每次进入游戏都会重新加载一次 [ 54%]

...一次 ar images = ["res/atlas/" + lang + "/shz_images.png","res/atlas/shz_line.png", "res/atlas/" + lang + "/shz_nav.png"。。。。。。。】 用这个进行预加载 Laya.loader.load(images, null, Laya.Handler.create(this, onImagesProgress, null, false), Laya.Loader.IMAGE); 但是每次进入...

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

103. styles.xml报错 [ 54%]

...t;/h3> <div style="font-family:monospace;font-size:12px">error on line 1 at column 53: attributes construct error </div> <h3>Below is a rendering of the page up to the first error. </h3> </parsererror> </body> </html> 2017-11-30 添加评论 免费帖 -->...

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

104. TiledMap 地图纹理加载问题 [ 53%]

...试的时候,查看了一下获取地图纹理的函数(laya.tiledmap.js line498)实现: 是根据索引值去加载纹理的,然后我又对照了Tiledmap导出的json中的索引值,具体的数值如下:   按照API函数的实现,json中纹理的索引值不能超过纹理集总个...

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

105. alertexception info: [Typeerror: null is not object (evaluating this. vaoext createvertexarrayoes"] [ 53%]

...rror: null is not object (evaluating this. vaoext createvertexarrayoes"]at line 10279OK 附件 : --> 2019-12-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: laya的引擎和 native 版...

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

106. es6代码发布时如果勾选压缩混淆 JS, 则发布报错 [ 53%]

...js/Hello.js {"message":"Unexpected token: keyword (const)","filename":"0","line":1,"col":0,"pos":0} 补充说明: 尝试将 jsconfig.json 中的compilerOptions.target的值改为ES6, 报错依旧. 环境: 系统: mac, IDE: LayaAirIDE 1.7.18, 2018-06-12 添加评论 免费帖 --> 分享 微博 QZONE ...

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

107. 火狐浏览器上webgl异常 [ 53%]

...he browser to clear it. This may be slow. async.race.0._hash.e3a9c451.js%20line%20297%20%3E%20eval:4:30925 Error: WebGL: texSubImage2D: This operation requires zeroing texture data. This is slow. 如题 这可能是什么引起的? 2017-11-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

108. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 53%]

...@mali_gles_fb_module_api_nx.cpp:227] sprddebug gles_fb_surfaces_changed_nx line=227, ctx=0x0x5effcfc260 01-06 17:34:41.530 1574 1809 E C01406/WRAP: 01-06 17:34:41.530 1574 1809 E C01406/WRAP: [gles_fb_surfaces_changed_nx@mali_gles_fb_module_api_nx.cpp:260] sprddebug gles_fb_surfaces_changed_nx line=...

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

109. 发布小游戏压缩js的时候报错误,请问是什么原因呢?正常发布可以的 [ 53%]

...?正常发布可以的 {"message":"Invalid assignment","filename":"0","line":21203,"col":39,"pos":571094} 2018-08-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 是有不能压缩的...

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

110. ios打包时xcode报错无法进入游戏 [ 53%]

...错[TypeError:undefined is not an object(evaluating ‘text.length')] at line 338.然后我根据朋友的提示,把laya.core.js里的this._testWord改成了Text._testWord,然后重新编译构建,但结果还是报这个错,请问应该怎么办呢?谢谢 陌熙 黯夜 • 2019-09-28 20:03 ...

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