大约有 262 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
...浏览器跟平板上效果不一样? public function Main() { Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.bgColor = "#232628"; Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.alignV ...
来源: Laya_社区 发布时间: 20171124
...D\src\script' at D:\Program Files\LayaAirIDE2.0\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\async.js:55:21 at load (D:\Program Files\LayaAirIDE2.0\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\async.js:69:43) at onex (D:\Program Files\LayaAirIDE2.0\resou...
来源: Laya_社区 发布时间: 20190220
关于微信小游戏渲染子域图的问题 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:1518...
来源: Laya_社区 发布时间: 20181123
...ace\LayaAir\6\bin\h5\LayaSample.max.js:7277 Browser._window.addEventListener('message',function(e){ ^ TypeError: Browser._window.addEventListener is not a function at Function.Browser.__init__ (D:\wo...
来源: Laya_社区 发布时间: 20180727
...ickshao 、qq771472501 Laya.timer.once(4000,this,function(){ console.log(Browser.window.sharedCanvas) var rankTexture=new Texture(Browser.window.sharedCanvas); rankTexture.bitmap.alwaysChange=true; console.log(rankTexture) LayaUISample.scoreview.graphics.drawTex...
来源: Laya_社区 发布时间: 20180310
...D: Texture has not been initialized prior to a partial upload, forcing the browser to clear it. This may be slow. async.race.0._hash.e3a9c451.js%20line%20297%20%3E%20eval:4:30925 Error: WebGL: texSubImage2D: This operation requires zeroing texture data. This is slow. 如题 这可能是什么引起...
来源: Laya_社区 发布时间: 20171120
...t fontName = "diyFont"; class Text_BitmapFont { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.s...
来源: Laya_社区 发布时间: 20190221
...始运行就报错: 找到源码部分是: onInitRender() { if ((t.Browser.onAlipayMiniGame || t.Browser.onTBMiniGame) && t.LayaGL.renderEngine._supportCapatable.turnOffSRGB(), t.Browser.onTBMiniGame && !t.PAL.g.isIDE) { let e = t.LayaGL.renderEngine._context; e.pixelStorei(e...
来源: Laya_社区 发布时间: 20250625
...xxxxxx\src\gameParts' at D:\LayaAirIDE_200_beta\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\async.js:55:21 at load (D:\LayaAirIDE_200_beta\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\async.js:69:43) at onex (D:\LayaAirIDE_200_beta\resources\app\node_mo...
来源: Laya_社区 发布时间: 20181024
...法使用。代码是使用的2.12.2beta1引擎示例的源码。 var Browser = Laya.Browser; var WebGL = Laya.WebGL; var Stage = Laya.Stage; var Event = Laya.Event; var Stat = Laya.Stat; var SpineTemplet = Laya.SpineTemplet; class SpineBinary { constructor() { this.aniPath = "r...
来源: Laya_社区 发布时间: 20211013