大约有 770 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0047 秒)
Laya_社区(428) Laya3.0_api(62) Laya2.0_api(58) Laya2.0_文档(57) laya_api(53) Laya_示例(49) Laya2.0_示例(48) Laya3.0_文档(15)
...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.E...
来源: Laya_示例 发布时间: 20241124
...ctory2; (function() { Laya.init(Browser.width, Browser.height,WebGL); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); })(); function startFun() { mAniPath = "../../res/spine/spineRes5/vine.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERR...
来源: Laya_示例 发布时间: 20241124
...ctory2; (function() { Laya.init(Browser.width, Browser.height,WebGL); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); })(); function startFun() { mAniPath = "../../res/spine/spineRes4/stretchyman.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Ev...
来源: Laya_示例 发布时间: 20241124
...nfig.isAlpha = true; Config.isAntialias = true; Laya.init(0, 0,true); Laya.stage.bgColor = "#000000"; ChangeSize(); Laya.timer.once(1000,this,function start():void{ Laya.stage.on(Event.RESIZE,this,onResize); }); } protected function HengPing(): void { trace("设置横屏" ); var layaCanvas:Object...
来源: Laya_社区 发布时间: 20190520
...unction() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); })(); function startFun() { mAniPath = "../../res/spine/spineRes2/goblins.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event....
来源: Laya_示例 发布时间: 20241124
...Sound; import laya.webgl.shapes.Ellipse; import laya.display.Stage; import laya.ui.Label; import laya.events.Event; import laya.utils.Browser; import laya.utils.Timer; import laya.display.Sprite; import laya.net.Loader; import laya.ui.Te...
来源: Laya_社区 发布时间: 20170921
...layaair.ldc.layabox.com/demo/h5/res/apes/monkey2.png',100,100,90,90); Laya.stage.addChild(img1); img1.on(Laya.Event.CLICK,this, function(name){ console.log(name);},['图1']); var img2 = new Laya.Sprite(); img2.loadImage('https://layaair.ldc.layabox.com/demo/h5/res/apes/monkey2.png',200,300,90,90); L...
来源: Laya_社区 发布时间: 20180621
...览: 956 关注: 2 人 15952728807 • 2017-12-05 15:44 (function() { var Stage = Laya.Stage; var Event = Laya.Event; var TiledMap = Laya.TiledMap; var Rectangle = Laya.Rectangle; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var tiledMap; var ...
来源: Laya_社区 发布时间: 20171205
..."res/swf/sheep3.swf"; Laya.init(1136, 640); // Laya.stage.alignV = Stage.ALIGN_MIDDLE; // Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; //设置水平对齐 ...
来源: Laya_社区 发布时间: 20170804
...各位指点一二: Laya.init(1334, 750, WebGL); Laya.stage.scaleMode = Stage.SCALE_FIXED_AUTO; Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.bgColor = '#0000ff'; Laya.stage.scaleMode = Stage.SCALE_SHOWA...
来源: Laya_社区 发布时间: 20180614