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

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

11. 微信小游戏怎么引入DOMParser? [ 86%]

...ow.Parser,按照我能搜到的代码,你们的建议是 window.Parser=require('./domparser.js'); 但是, 我下载的laya库文件中只有 domparserinone.js如果 window.Parser=require('./domparserinone.js')会导致报错WAGame.js:3 gameThirdScriptErrorSaxO is not definedReferenceError: Sa...

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

12. 苹果上架有问题啊 , !!!!!! [ 86%]

...: 2017年12月8日 上午9:53 发件人 Apple2. 5 Performance: Software Requirements 4. Design: Preamble Guideline 2.5.2 - Performance - Software Requirements Your app, extension, or linked framework appears to contain code designed explicitly with the capability to change your app’s behavior or...

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

13. 微信小游戏示例打包之后出现问题 [ 85%]

...出现问题 (unknown) ReferenceError: ui is not defined at code.js:1 at require (WAGame.js:11) at WAGame.js:11 at game.js? [sm]:2 at require (WAGame.js:11) at gamePage.html:111 window.onerror WAGame.js:11 Uncaught ReferenceError: ui is not defined at code.js:1 at require (WAGame.js:11) at WAGame.js...

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

14. Laya发布微信包提示Uncaught ReferenceError: Laya is not defined [ 85%]

...Error: Laya is not defined    解决方法:在game.js  的第一行即require的最开始的位置,再添加一个require("libs/laya.core.js");    如果bin的里面没有game.js   就加入到发布后的微信包的game.js里面 附件 : --> 2020-05-04 添加评论 免费帖 --> 分享 ...

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

15. 微信小程序打包,提示“laya is not defined” [ 84%]

...  at code.js:11708     at code.js:11720     at code.js:18226     at require (WAGame.js:11)     at WAGame.js:11     at game.js? [sm]:4     at require (WAGame.js:11)     at gamePage.html:135 window.onerror -------------------------- 堆栈代码片段:         附件 : --> 2018-01...

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

16. 分包发布,static方法拿取不到。报错:类名.静态方法名 is not a function [ 84%]

... a function OPPO分包发布时遇到一个问题,当在index.js中最后require("./libs/laya.d3.js");时会报错Shader3D.propertyNameToID is not a function。将require该库的语句提前,则不会报错。但是后导入的类的静态方法会报同样的错误。例如:Laya.QGMiniAdapte...

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

17. 发布到微信小游戏,编译报错Laya is not defined [ 83%]

... 分享 微博 QZONE 微信 ITJacob 赞同来自: 在game.js文件中加上require("libs.js");即可,好像说微信小游戏自带了laya包,不过本地调试的时候加上这条就好了,把libs 里的require("./libs/laya.core.js");加上,本地环境里就有laya了。 2020-08-30 0 0 ...

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

18. 1.9LayairIDE创建的微信小游戏示例运行报错 [ 83%]

...ught ReferenceError: Laya is not defined     at code.js? [sm]:1     at require (VM32 WAGame.js:1)     at VM32 WAGame.js:1     at VM42 game.js:4     at require (VM32 WAGame.js:1)     at <anonymous>:1:1     at HTMLScriptElement.scriptLoaded (<anonymous>:18:21)     at HTMLSc...

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

19. 微信开发者工具,打开Laya发布的包。编译报请先初始化小游戏适配库,详细教程 [ 83%]

...onymous) @ code.js:7056 GameEx @ code.js:56322 (anonymous) @ code.js:56681 require @ WAGame.js:3 (anonymous) @ WAGame.js:3 (anonymous) @ game.js? [sm]:2 require @ WAGame.js:3 (anonymous) @ gamePage.html:148 VM163:1 gameThirdScriptError window.focus is not a function TypeError: window.focus is not a ...

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

20. 微信小游戏:Matter is not defined [ 82%]

...aya_Aaron: 好吧。谢谢。 冰水blue • 2018-06-13 11:54 let matter = require("./libs/matter.js"); window.Matter = matter; require("./code.js"); 确实可以了,麻烦看下,下面这个系统问题是什么原因,谢谢您!

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