大约有 770 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0046 秒)
Laya_社区(428) Laya3.0_api(62) Laya2.0_api(58) Laya2.0_文档(57) laya_api(53) Laya_示例(49) Laya2.0_示例(48) Laya3.0_文档(15)
...rIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Text = Laya.Text; var Shake = Laya.Shake; var Browser = Laya.Browser; var Handler = Laya.Handler; var picW = 824; var picH = 484; var console; var shakeCount = 0; (function() { Laya.init(picW, Browser....
来源: Laya_示例 发布时间: 20241124
..._Shake { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(700, 1024, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.s...
来源: Laya2.0_示例 发布时间: 20241124
...肤 skeleton0.showSkinByIndex(1); //播放 skeleton0.play(0, true); Laya.stage.addChild(skeleton0); //创建第二个动画 var skeleton1: Laya.Skeleton; skeleton1 = this.templet.buildArmature(0); skeleton1.pos(500, 700); skeleton1.showSkinByIndex(1); skeleton1.play(0, true); Laya.stage.addChild(ske...
来源: Laya2.0_文档 发布时间: 20210715
...exture { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode =...
来源: Laya2.0_示例 发布时间: 20241124
...unction() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); })(); function startFun() { mAniPath = "res/spine/spineRes1/dragon.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, ...
来源: Laya_社区 发布时间: 20181120
...Handle { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Event = Laya.Event, Loader = Laya.Loader; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV ...
来源: Laya2.0_示例 发布时间: 20241124
...rIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Rectangle = Laya.Rectangle; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var ApePath = "../../res/apes/monkey2.png...
来源: Laya_示例 发布时间: 20241124
...皮肤 skeleton0.showSkinByIndex(1); //播放 skeleton0.play(0,true); Laya.stage.addChild(skeleton0); //创建第二个动画 var skeleton1:Skeleton; skeleton1 = templet.buildArmature(0); skeleton1.pos(500, 700); skeleton1.showSkinByIndex(1); skeleton1.play(0,true); Laya.stage.addChild(skeleton1); }...
来源: Laya2.0_文档 发布时间: 20210715
...n_Drag { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = ...
来源: Laya2.0_示例 发布时间: 20241124
... module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import SoundManager = Laya.SoundManager; import Browser = Laya.Browser; import Handler = Laya.Hand...
来源: Laya_社区 发布时间: 20201203