大约有 633 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0041 秒)
Laya_社区(319) Laya2.0_示例(114) Laya_示例(88) Laya2.0_文档(50) laya_api(18) Laya3.0_文档(17) Laya2.0_api(16) Laya3.0_api(11)
... Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Stat.show(0,Browser.clientHeight * 0.6); 附件 : --> 2018-02-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20180223
...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.loader.load(skins, Handler.create(this, this.onSkinLoaded)); } onSkinLoaded() { let tabA = this.createTab(skins[0]); tabA.p...
来源: Laya2.0_示例 发布时间: 20241118
...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.flag = true; Laya.loader.load([monkey1Str, monkey2Str], Laya.Handler.create(this, this.onAssetsLoaded)); } onAssetsLoaded() { monkey1Res...
来源: Laya2.0_示例 发布时间: 20241118
...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; drawSomething(); })(); function drawSomething() { sp = new Sprite(); Laya.stage.addChild(sp); //画线 sp.graphics.drawLine(10, 58, 146, 58, "#ff0000",...
来源: Laya_示例 发布时间: 20241118
...00; letterText.height = 200; letterText.fontSize = 36; letterText.align = "center"; letterText.valign = "middle"; var offsetPos={offsetX:100,offsetY:100}; letterText.x = Laya.stage.width - letterText.width>>1 +offsetPos.offsetX; letterText.y = 400; Laya.Tween.from(letterText,{y:100},3,Laya .Ea...
来源: Laya_社区 发布时间: 20180620
... 30; text.style.color = color; text.style.width = 500; text.style.align = "center"; text.style.weight = "bold"; text.innerHTML = "中华人民共和国"; text.filters = [new GlowFilter("#000", 4, 2, 2)]; text.x = (ClientConfig.displayWidth-text.width)/2; text.y = (ClientConfig.displayHeight-text.con...
来源: Laya_社区 发布时间: 20170216
...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.drawSomething(); } drawSomething() { let sp = new Laya.Sprite(); Laya.stage.addChild(sp); //画线 sp.graphics.drawLine(10, 58, 146, 58,...
来源: Laya2.0_示例 发布时间: 20241118
...WebGL);//Laya.WebGL Laya.stage.scaleMode = "showall"; Laya.stage.alignH = "center"; Laya.stage.alignV = "center"; Laya.stage.useHDRendering = false; //高清 laya.utils.Stat.show(); //调试 图片: 其他: 内存浮动很大 一秒几十M上下 用graphics没有多少个就非常卡了 而一堆图...
来源: Laya_社区 发布时间: 20171005
...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; var skins = []; skins.push("../../res/ui/hslider.png", "../../res/ui/hslider$bar.png"); skins.push("../../res/ui/vslider.png", "../../res/ui/...
来源: Laya_示例 发布时间: 20241118
...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; skins = [ "res/ui/button-1.png", "res/ui/button-2.png", "res/ui/button-3.png", "res/ui/button-4.png", "res/ui/button-5.png", "res/ui/button-6...
来源: Laya2.0_示例 发布时间: 20241118