大约有 2,461 项符合查询结果, 库内数据总量为 30,962 项。 (搜索耗时: 0.0082 秒)
Laya_社区(2315) Laya2.0_文档(54) Laya2.0_api(50) laya_api(21) Laya3.0_文档(10) Laya3.0_api(8) Laya_示例(2) Laya2.0_示例(1)
...Laya提供的方法Laya.window.innerWidth和Laya.window.innerHeight //[IF-JS]方法的使用请参考:LayaFlash宏编译//转换成h5项目后获取浏览器的宽度 //[IF-JS]sourceWidth = Laya.window.innerWidth; //转换成h5项目后获取浏览器的高度 //[IF-JS]sourceHeight = Laya.window.i...
来源: Laya_社区 发布时间: 20151028
... GameConfig_1.default.height, Laya["WebGL"]); 加了一些alert,bundle.js 这里的Laya["WebGL"]已经是undefined了: 虽然在core.js中强制使用了webgl,if (!isWebGLEnabled)/*__JS__ */{laya.webgl.WebGL.enable();} 但在webgl.js 中Layanative2D.__init__()里面 LayaGL.instance.ad...
来源: Laya_社区 发布时间: 20200218
...发域绘制list后 显示出来了 但点击会报下面的错误 WAGame.js:3 gameSubContextThirdScriptError this._stage._canvasTransform.invertTransformPoint is not a function;at requestAnimationFrame callback function TypeError: this._stage._canvasTransform.invertTransformPoint is not a function ...
来源: Laya_社区 发布时间: 20180404
...ned (reading 'btCollisionObject_create') at pi._onAdded (laya.d3.min.js:1:600219) at xr._addComponentInstance (laya.core.min.js:1:250112) at xr.addComponent (laya.core.min.js:1:251056) at Mi._createComponentInstance (laya.d3.min.js:1:818164) at Mi._createComponentInstan...
来源: Laya_社区 发布时间: 20230401
...ebug\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeConnection.js:56:28) at ChromeDebugAdapter.get chrome [as chrome] (d:\Program\LayaAirIDE_1.7.0\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeDebugAdapter.js:40:38) at ChromeDe...
来源: Laya_社区 发布时间: 20170416
... no buffer is bound to enabled attribute __proto.renderSubmit @ laya.webgl.js:7418 __proto.submitElement @ laya.webgl.js:5943 __proto.flush @ laya.webgl.js:5965 __proto.flush @ laya.core.js:5987 __proto.render @ laya.core.js:18644 __proto._loop @ laya.core.js:18570 loop @ laya.core.js:5447 重新...
来源: Laya_社区 发布时间: 20181123
...成了微信分享,有对应的API直接编写,还是只能是通过 __JS___来弄 2016-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: Laya_XS LayaFlash转换完成的h5游戏支...
来源: Laya_社区 发布时间: 20160110
... (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:130:41) at new GameScene (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/src/GameScene.js:4:19) at HomePageUI.onGameStart (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/src/HomePage.js:78:27) ...
来源: Laya_社区 发布时间: 20180709
...分包配置确认无误 如果代码中这样写: var module:Module = __JS__("new modules.LoginModule()"); module.run(); 编译后login.js里是空的,所有module都只有一个入口样函数,运行时当然就是报错,找不到定义,内容如下: (function(window,document,Laya){ va...
来源: Laya_社区 发布时间: 20170209
...not read property '_getSource' of undefined at we._uniform_sampler2D (game.js:34:223996) at t.uploadShaderUniforms (game.js:28:446232) at we.uploadUniforms (game.js:34:224675) at Ut._render (game.js:34:338289) at Yt._render (game.js:34:363882) at rr._renderScene (game.js:34:402140) at Rt.render (gam...
来源: Laya_社区 发布时间: 20200625