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

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

371. 微信小游戏使用位图字体报错 [ 78%]

...domparserinone.js, WAGame.js:1 gameThirdScriptError module "libs/entities" is not defined Error: module "libs/entities" is not defined at require (http://127.0.0.1:13507/game/__ ... :78730) at http://127.0.0.1:13507/game/__ ... 78480 at http://127.0.0.1:13507/game/li ... 52:18 at require (http://127...

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

372. 【分享】微信小游戏解析xml适配 [ 78%]

...式解析吗  类似这种 var rootNode = xml.firstChild ; var nodes:NodeList = rootNode.childNodes; 我导入后 还是报错 2018-02-06 1 2 分享 微博 QZONE 微信 qian 赞同来自: 谢谢分享~ 2018-01-04 0 2 分享 微博 QZONE 微信 longcjx 赞同来自: 谢谢分享~ 2018-01-18 0 0 分...

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

373. 【分享】通过命令行调用compile.js编译,不使用laya-cmd [ 78%]

...match(/^\s*Error\:/)){app.exit(1);return;}>>compile_temp.js echo let isTasksComplete = str.match(/^laya\.ide\.complete$/m)>>compile_temp.js echo if (isTasksComplete){>>compile_temp.js echo app.exit(0)}>>compile_temp.js echo })>>compile_temp.js echo fork1.stderr.on("data...

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

374. [LayaAirIDE3]3.3.1 UI点击区域异常,mouseThrough属性失效 [ 78%]

...e的mouseThrogh的注释,如下所示: /** * @en For non-UI component display object nodes (container objects or display objects without image resources), specifies whether the mouse events penetrate this object's collision detection. `true` means the object is penetrable, `false` means it is no...

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

375. 【laya2.0】请问drawToCanvas方法改了吗? [ 78%]

【laya2.0】请问drawToCanvas方法改了吗? var htmlCanvas=this.p6_work.drawToCanvas(575,1023,0,0); var canvas=htmlCanvas.getCanvas(); var base64=canvas.toDataURL("image/png"); 报错:Uncaught TypeError: Failed to execute 'bindTexture' on 'WebGLRenderingContext': parameter 2 is not of type ...

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

376. Uncaught RangeError:Array buffer allocation failed [ 78%]

...看看,这样可以私信发demo     The maximum heap size you can try is 2048MB - 16MB = 2032MB. Browsers currently don't support allocating anything larger than that. If you are running on a 32-bit browser, a HEAP size of 512MB or 768MB is about the maximum that is possible.   参照一下ue4...

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

377. 安卓微端弹出 LayaH5Market.js 的报错,应该怎么处理? [ 77%]

...带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined ide 2.4 layaair2-cmd 编译报错 微信小...

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

378. TypeError: Cannot read property 'length' of null [ 77%]

...制体hero.prefab 在a场景通过Laya.Pool.getItemByCreateFun("hero", this.pHero.create, this.pHero)创建对象,同时给对象设置位置,成功 跳转到b场景后,通过Laya.Pool.getItemByCreateFun("hero", this.pHero.create, this.pHero)获取这个对象时,获取成功,设置对象位置...

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

379. 微信加载proto文件 [ 77%]

微信加载proto文件 在Laya里用this.protobuf.load 可以正常加载,但是导出成微信小游戏就无法加载了。报错无效的URL,求解 2018-03-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回...

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

380. Laya.timer.loop() 报错 Cannot read property 'loop' of null [ 77%]

...roperty 'loop' of null import { Image } from "laya/ui/Image"; // import { List } from "laya/ui/List"; import { Laya } from "laya"; export default class test_move extends Image{ // /** @prop {name:move_img, tips:"用来移动的箭头", type:Image} */ // public _move_img: Image; // public _list: List...

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