大约有 570 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0047 秒)
...= Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; setup(); })(); function...
来源: Laya_社区 发布时间: 20170515
...写。 */ //class Laya var ___Laya=(function(){ //function Laya(){} Laya.__init=function(_classs){} Laya.init=function(width,height,__plugins){} Laya.alertGlobalError=function(value){} Laya.enableDebugPanel=function(debugJsPath){} Laya.stage=null; Laya.systemTimer=null; Laya.startTimer=null; Laya.ph...
来源: Laya_社区 发布时间: 20200426
....WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { ...
来源: Laya_社区 发布时间: 20180731
...半径未能自适应调整 版本编号1.7.17 //初始化Laya引擎 Laya.init(720, 1280, Laya.WebGL); //stage水平对齐方式 Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; //stage竖直对齐方式 Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; //设置适配模式 Laya.stage.scaleMode = "showall"; ...
来源: Laya_社区 发布时间: 20180524
... Mac 2.0.0beta3 Chrome调试黑屏 启动引擎报错 mPlugin.game_plugin_init(3); app启动动画应该如何去掉 打包出来后的APP打开加载速度过慢,有黑屏,如何加入闪屏图片 关于发布oppo、vivo快游戏,无法生成Rpk问题 2.2.0: safari浏览器,iphone的谷歌浏...
来源: Laya_社区 发布时间: 20190531
...服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小时后才不会报这个错。。才能进去 ios升级到15.4后游戏会一直闪屏,可重现demo见附件 dialog 自定义关闭效果,效果执行完,弹窗无法关闭 问题状态...
来源: Laya_社区 发布时间: 20251127
... { fs_mkdir(sTempFontPath); } sTempFontPath += "layabox.ttf"; bRet = conch.initFreeTypeDefaultFontFromFile(sTempFontPath); if (bRet == false) { var data = ([b]yield asyncs.downloadSync[/b](location.fullpath + '/font/simhei.ttf', true, null)); if (!data) { data = ([b]yield asyncs.downloadSync[/b]('ht...
来源: Laya_社区 发布时间: 20170320
.../fairygui.js:13772:29) at i.createObject (libs/fairygui.js:13481:28) at oe.init (js/bundle.js:2:132456) at _e.LoadResourcesEnd (js/bundle.js:2:180579) at _e.updateProgress (js/bundle.js:2:179480) at _e.refreshProgress (js/bundle.js:2:179316) at TimerHandler.run (libs/lay
来源: Laya_社区 发布时间: 20200201
...a.Button; private skin: string = 'images/button.png'; constructor() { Laya.init(200, 300); Laya.loader.load(this.skin, Laya.Handler.create(this, () => { this.btn = this.createBtn(this.skin); this.btn.on(Laya.Event.CLICK, this, this.onClick); })); } /** * 创建btn */ private createBtn(skin: strin...
来源: Laya_社区 发布时间: 20170511
... 我开始创建的不是微信小游戏 只是后面加上了 MiniAdpter.init(); 这段代码。差距好大。。。多谢 大佬 Yangcy • 2018-06-11 16:08 @Laya_Aaron:然后现在 我就要去解决 项目大于4M的事情了
来源: Laya_社区 发布时间: 20180608