大约有 430 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0051 秒)
Laya_社区(197) Laya2.0_示例(103) Laya_示例(81) Laya2.0_文档(45) laya_api(1) Laya3.0_api(1) Laya2.0_api(1) Laya3.0_文档(1)
...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { var list = new List(); list.itemRender = Item; list.repeatX = 1; list.repeatY = 4; list.x = (Laya.stage.width - WID) / 2; list...
来源: Laya2.0_文档 发布时间: 20210714
...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.setup(); } private setup(): void { var list: List = new List(); list.itemRender = Item; list.repeatX = 1; list.repeatY = 4; list.x = (Laya.stage.width - It...
来源: Laya2.0_文档 发布时间: 20210715
... Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#ffffff"; Stat.show(); setup(); } private fun...
来源: Laya_社区 发布时间: 20170822
...对齐 Laya.stage.alignH = Stage.ALIGN_CENTER; //等比缩放 Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //创建列表 createList(); } /***创建list列表**/ private function createList():void { //实例化列表 var list:List = new List(); //设置...
来源: Laya2.0_文档 发布时间: 20210715
...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; // 初始化蛇 this.initSnake(); // 监视加速器状态 Accelerator.instance.on(Event.CHANGE, this, this.monitorAccelerator); // 游戏循环 Laya.timer.fram...
来源: Laya2.0_示例 发布时间: 20241119
... { //初始化引擎 Laya.init(1136, 640,WebGL); //等比缩放 Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //帧循环 Laya.timer.frameLoop(1,this,onFrame); } private function onFrame():void { //如果创建对象时间为100帧间隔后 if(createTime>...
来源: Laya2.0_文档 发布时间: 20210715
...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; roleAni = new Animation(); Laya.loader.load(AniConfPath, Handler.create(this, onLoaded), null, Loader.ATLAS); } private function onLoaded(_e:*=null):void { Animation.crea...
来源: Laya2.0_文档 发布时间: 20210715
... mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleMode scaleX scaleY scene screenMode scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent a...
来源: Laya3.0_api 发布时间: 20231115
...始化引擎 Laya.init(1136, 640, Laya.WebGL); //等比缩放 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //帧循环 Laya.timer.frameLoop(1, this, onFrame); this.createTime = 0; function onFrame() { //如果创建对象时间为100帧间隔后 if ...
来源: Laya2.0_文档 发布时间: 20210715
...请查看附件): Main.tsLaya.init(750, 1334, Laya.WebGL); Laya.stage.scaleMode = "showall"; Laya.stage.screenMode = "none"; Laya.stage.alignH = "center"; Laya.stage.alignV = "middle"; const spine: Laya.Skeleton = new Laya.Skeleton(); spine.pos(100, 400); spine.load('res/spine/princess1.sk', new...
来源: Laya_社区 发布时间: 20181120