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

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

891. 飞机大战出现的问题注册了类New的时候报错未定义 [ 67%]

...错未定义 var Game=(function(){ (function Game(){ Laya.init(400,852); this.bg = new BackGround(); //把背景添加到舞台上显示出来 Laya.stage.addChild(this.bg);  })();     })();   //循环滚动的游戏背景 var BackGround = (function(_super){ function BackGround(){ BackGround.sup...

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

892. Helloworld程序发布,为何勾选了JS合并,还是一大堆小JS文件? [ 67%]

...带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。 如何通过命令行工具构建和发布项目 请问下loader如何强制加载一个文件,避免...

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

893. layaair2-cmd安装报错 [ 67%]

...r.js:638     throw err;     ^ Error: Cannot find module 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\layaair2-cmd\node_modules\gulp-babel'     at Function.Module._load (internal/modules/cjs/loader.js:562:25)     at Module.require (internal/modules/cjs/loader.js:690:17)     at r...

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

894. IDE报错 [ 66%]

...\vscode-chrome-debug-core\out\src\chrome\chromeDebugAdapter.js:944:32) at dispatchRequest (c:\Program Files (x86)\LayaBox\LayaAirIDE\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeDebugSession.js:122:68) at ProtocolServer._handleData (c:\Program Files ...

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

895. 游戏运行在chrome里面 听不见声音 [ 66%]

...,地址栏输入 chrome://flags/#autoplay-policy 选择 No user gesture is required,之后重启浏览器即可,chrome浏览器更新版本后的新增的安全策略。 2018-05-14 2 0 分享 微博 QZONE 微信 rabbit 赞同来自: layabox 、ayiui4566 iOS下声音在没有交互的情况下...

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

896. XmlDom类没有了?解析xml时,报错Property 'attributes' does not exist on type 'Node & ChildNode'. [ 66%]

...XmlDom类没有了?解析xml时,报错Property 'attributes' does not exist on type 'Node & ChildNode'. XmlDom没有了吗?要用哪个类? 我只找到原生的XMLDocument,可是报错 Property 'attributes' does not exist on type 'Node & ChildNode'. 谁 遇到过?let local_config...

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

897. spine适配版微信开发者平台报错 [ 66%]

... 3 个回复 northTg 赞同来自: static init(par: fgui.GComponent) { this.parent = par; this.aniPath = "res/sk/pipei.skel"; this.index = -1; this.startFun(); } static startFun() { if (!this.templet) this.templet = new Laya.SpineTemplet(Laya.SpineVersion.v3_8); this.templet.loadAni(this.aniPath); t...

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

898. 构建报错,TypeScript error: node_modules/@types/node/base.d.ts' not found. [ 66%]

...laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined TypeScript下HttpRequest发送Post请求有Bug? 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined laya2 发布微信开放域工程,用微信开发者工...

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

899. Laya2.8.0 beta 创建一个新项目,然后添加laya.cannonPhysics.js库之类的就各种报错 [ 66%]

...就各种报错 laya.cannonPhysics.js:1454 Uncaught ReferenceError: CANNON is not defined     at laya.cannonPhysics.js:1454     at laya.cannonPhysics.js:1473 (anonymous) @ laya.cannonPhysics.js:1454 (anonymous) @ laya.cannonPhysics.js:1473 laya.physics3D.wasm.wasm:1 Uncaught SyntaxError: Invalid...

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

900. 发布的时候,报错 [ERROR] Cannot read property 'dom_parser' of undefined [ 66%]

...laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 如何通过命令行工具构建和发布项目 2.2.0beta4 发布微信小游戏,安卓设备加载场...

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