大约有 632 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0045 秒)
Laya_社区(254) Laya2.0_示例(114) Laya2.0_文档(94) Laya_示例(92) Laya3.0_api(34) Laya2.0_api(21) Laya3.0_文档(15) laya_api(8)
...只凤凰的分辨率是550 * 400 phoenixWidth = 500, phoenixHeight = 400, bgColorChannels = { r: 99, g: 0, b: 0xFF }, gradientInterval = 2000; class BlendMode_Lighter { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Sprite = Laya.Sprite, Twee...
来源: Laya2.0_示例 发布时间: 20241119
....alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Laya.loader.load(this.ApePath, Handler.create(this, this.setup)); } private setup(): void { this.normalizeApe(); this.makeRedApe(); this.grayingApe(); } private normalizeApe(): void { var originalApe: Spr...
来源: Laya2.0_文档 发布时间: 20210715
....alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; this.init(); //显示性能统计信息 Stat.show(); } /** * 初始化场景 */ GameMain.prototype.init = function () { //创建背景 this.spBg = Sprite.fromImage(this.PathBg); Laya.stage.addChild(this.s...
来源: Laya_示例 发布时间: 20241119
... Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; createInput(); } private function createInput():void { panel = new Panel(); ...
来源: Laya_社区 发布时间: 20180612
....alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Laya.loader.load(ApePath, Handler.create(this, setup)); } private function setup(e:*=null):void { normalizeApe(); makeRedApe(); grayingApe(); } private function normalizeApe():void { var originalApe:Sprit...
来源: Laya2.0_文档 发布时间: 20210715
...台 Laya.init(1110, 1110,Laya.WebGL); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //原始位图 createImg(200,50); //红色滤镜 creteRedFilter(); //创建发光滤镜位图**/ createGlowFilter(); //创建阴影滤镜位图 createShadeFilter(); //创建糊滤滤镜位图 createBlurFilt...
来源: Laya_社区 发布时间: 20170811
....alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { createSprtie(); drawTrack(); } function createSprtie() { const w = 50; const h = 30; button = new Sprite(); button.graphics.drawRect(0, 0, w, h, "#FF7F50"); button.pivot(...
来源: Laya_示例 发布时间: 20241119
...Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { const List = Laya.List, Handler = Laya.Handler; let list = new List(); Laya.stage.addChild(list); list.itemRender = Item; list.repeatX = 1; list.repeatY = 4; list.x ...
来源: Laya2.0_示例 发布时间: 20241119
...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.y = (Laya.stage.height - HEI * list.repeatY...
来源: Laya_示例 发布时间: 20241119
...; Laya.Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_AUTO; Laya.Laya.stage.bgColor = "#232628"; this.createBridge(); this.eventListener(); } createBridge() { const startPosX = 250, startPosY = 450; let ground = new Laya.Sprite(); Laya.Laya.stage.addChild(ground); let groundBody = new Laya.RigidBody(...
来源: Laya2.0_示例 发布时间: 20241119