大约有 387 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0035 秒)
Laya_社区(149) Laya2.0_示例(113) Laya_示例(82) Laya2.0_文档(40) laya_api(1) Laya3.0_api(1) Laya2.0_api(1)
... WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { createParagraph(); // 代码创建 } function createParagraph() { var p = new HTMLDivElement(); Laya.stage.addC...
来源: Laya_社区 发布时间: 20180808
...,WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(["./comp/progress.png", "./comp/progress$bar.png"], Handler.create(this, onLoadComplete)); } console.log(1); Laya.clas...
来源: Laya_社区 发布时间: 20171230
...a.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_社区 发布时间: 20170711
...; Laya.stage.screenMode = Stage.SCREEN_VERTICAL; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.loader.load([{url:"image/comp.json", type:Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { createList(); createItems(); createLoa...
来源: Laya_社区 发布时间: 20170323
...bGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Laya.loader.load(apePath, Handler.create(this, setup)); })(); function setup() { createApe(); applayFilter(); } function createApe() ...
来源: Laya_社区 发布时间: 20181012
...nV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; //激活资源版本控制 ResourceVersion.ena...
来源: Laya_社区 发布时间: 20180725
... WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; // 无加载失败重试 Laya.loader.retryNum = 0; var urls = ["do not exist", "res/fighter/fighter.png", "res/legend/map.jpg"]; Laya.l...
来源: Laya2.0_示例 发布时间: 20241118
... WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#eeffcc"; UIConfig.closeDialogOnSide=false;//在dialog显示之前提前设置 assets = ["res/ui/dialog (1).png", "res/ui/close.png"]; Laya.loade...
来源: Laya_社区 发布时间: 20170706
... WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.bgColor = "#ffffff"; new A(); } } }package { import laya.utils.Handler; public class A { public var completeHandler:Handler; public function A() { completeHandler = Handler.create(this,onComplete,[thi...
来源: Laya_社区 发布时间: 20170330
...00,852); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; showApe(); // Laya.timer.frameLoop(1,this,myLoop) })(); function showApe() { // 方法1:使用loadImage加载背景1 var bg1 = new Sprite(); bg...
来源: Laya_社区 发布时间: 20191017