大约有 375 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0039 秒)
Laya_社区(137) Laya2.0_示例(113) Laya_示例(82) Laya2.0_文档(40) laya_api(1) Laya3.0_api(1) Laya2.0_api(1)
...; // 不支持WebGL时自动切换至Canvas Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_HEIGHT; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; <meta name="laya" screenorientation="portrait"> 请...
来源: Laya_社区 发布时间: 20180723
...owser.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 setup() { createParagraph(); // 代码创建 } function createParagraph() { var p...
来源: Laya_社区 发布时间: 20180808
...GL; var progressBar; Laya.init(1024, 600,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, onLoa...
来源: Laya_社区 发布时间: 20171230
... Laya.init(740, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; drawSomething(); })(); function drawSomething...
来源: Laya_社区 发布时间: 20170711
...ERTICAL; 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(); createLoading(); _list.addChild(_loadingBg); Laya...
来源: Laya_社区 发布时间: 20170323
...er.clientWidth, Browser.clientHeight, WebGL); 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(); ap...
来源: Laya_社区 发布时间: 20181012
...ya.init(600, 400,WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; ...
来源: Laya_社区 发布时间: 20180725
...owser.clientWidth, Browser.clientHeight, 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/fig...
来源: Laya2.0_示例 发布时间: 20241118
...动切换至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 = "#eeffcc"; UIConfig.closeDialogOnSide=false;//在dialog显示之前提前设置 assets = ["res/ui/dialog (1)...
来源: Laya_社区 发布时间: 20170706
...unction testlaya() { Laya.init(100, 100, 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() { completeHandl...
来源: Laya_社区 发布时间: 20170330