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

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

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

...error @ VM163:1 Browser.__init__ @ code.js:7131 (anonymous) @ 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 ...

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

12. 微信加载proto文件 [ 91%]

...ffer.js") window.ProtoBuf = require("./protobuf.js") require("./code.js"); game.js 里面这样引入试试。 2018-03-13 0 1 分享 微博 QZONE 微信 xiongxin11 赞同来自: 这样改了。但是报另外的错误module "bytebuffer.js" is not defined 2018-03-13 0 3 分享 微博 QZONE 微信 xio...

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

13. 飞机大战源码发微信小游戏提示VM122:1 gameThirdScriptError [ 91%]

飞机大战源码发微信小游戏提示VM122:1 gameThirdScriptError VM122:1 gameThirdScriptError window.focus is not a function TypeError: window.focus is not a function at Function.t.__init__ (http://127.0.0.1:62307/game/code.js:1881:1176) at Object.Laya.init (http://127.0.0.1:62307/game/code.j...

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

14. "Background is not defined"怎么会没定义呢???求救 [ 91%]

...因为你在html中引用的顺序问题,先引用background.js再引用game.js 2017-05-25 1 0 分享 微博 QZONE 微信 A846353427 赞同来自: 就没个人回答下吗 2017-04-20 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: Game.jsvar Game = (function(){ (function Game(){ Laya.init(...

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

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

...7:14:31.721: build task in 17 s 619 ms 17:14:31.724: Launching com.layabox.game 17:14:31.729: $ hdc shell aa force-stop com.layabox.game 17:14:32.091: $ hdc shell mkdir data/local/tmp/a8cdde5615e44ded8e1065458d8e3917 17:14:34.282: $ hdc file send /Users/HonestQiao/Documents/Laya/LayaProject1/release...

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

16. 关于微信小游戏渲染子域图的问题 [ 90%]

...的问题 new Texture(Browser.window.sharedCanvas); 上面这句报错: gameThirdScriptError value._addReference is not a function TypeError: value._addReference is not a function     at Texture.<anonymous> (http://127.0.0.1:10656/game/js/bundle.js:15188:19)     at Texture.__proto.setTo ...

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

17. 微信小游戏打包后SFS2X.d.ts没有打包成js文件 导致运行报错未找到 [ 89%]

...rror: SFS2X is not defined     at Server.initSFS (http://127.0.0.1:17168/game/code.js:130617:26)     at GameMain.initGame (http://127.0.0.1:17168/game/code.js:176074:20)     at EventHandler.__proto.runWith (http://127.0.0.1:17168/game/code.js:19043:41)     at ResInfo.__proto.event (http://12...

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

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

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

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

19. 微信小游戏,请先初始化小游戏适配库 [ 88%]

...s:7057 (anonymous) @ code.js:53348 (anonymous) @ code.js:53360 require @ WAGame.js:3 (anonymous) @ WAGame.js:3 (anonymous) @ game.js? [sm]:2 require @ WAGame.js:3 (anonymous) @ gamePage.html:156 WAGame.js:3 gameThirdScriptError window.focus is not a function TypeError: window.focus is not a function...

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

20. 微信小游戏怎么引入DOMParser? [ 88%]

...none.js如果 window.Parser=require('./domparserinone.js')会导致报错WAGame.js:3 gameThirdScriptErrorSaxO is not definedReferenceError: SaxO is not defined    at http://127.0.0.1:60730/game/do ... 270:6    at require (http://127.0.0.1:60730/game/__ ... :13675)    at http://127.0.0.1:60730/...

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