大约有 2,991 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0104 秒)
Laya_社区(2265) Laya2.0_文档(235) Laya_示例(147) Laya2.0_示例(117) Laya3.0_api(70) Laya2.0_api(64) laya_api(59) Laya3.0_文档(34)
...aya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/color.png", Handler.create(this,onLoadComplete));//加载资源。 } private function...
来源: Laya_社区 发布时间: 20171120
...xtWidth customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea innerHTML is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect...
来源: Laya3.0_api 发布时间: 20231102
...读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node editable : Boolean 是否可编辑。 Input filters : Array滤镜集合。可以设置多个滤镜组合。Sprite focus : Boolean 表示焦点是...
来源: laya_api 发布时间: 20170929
...2-12-26 0 0 分享 微博 QZONE 微信 shiyang 赞同来自: mouseX / Laya.stage.clientScaleX mouseY / Laya.stage.clientScaleY 2023-01-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 151*****601 相关问题 Browser获取的运行...
来源: Laya_社区 发布时间: 20220117
...ture.x = mStartX; mArmature.y = mStartY; //mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); //mArmature.on(Event.LABEL, this, onEvent); mArmature.on(Event.STOPPED, this, completeHandler); mArmature.on(Event.CLICK, this, onChangeSkin); mArmature.showSkinByName(mSkinList[0]); play(); //chang...
来源: Laya_社区 发布时间: 20170818
...ment (game.js:10830:216090) at Context.flush (game.js:10830:216165) at Stage.render (game.js:10830:377311) at Stage._loop (game.js:10830:375823) 附件 : --> Game3DUP.zip FiveBox.zip 2019-09-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20190916
...w TiledMap(); var viewRect: Laya.Rectangle = new Laya.Rectangle(0, 0, Laya.stage.width, Laya.stage.height); this.tMap.createMap("res/mario_map/new_map2.json", viewRect, Laya.Handler.create(this,this.initMap)); } private initMap(): void { var layer = this.tMap.getLayerByIndex(9); var gs = layer.getOb...
来源: Laya_社区 发布时间: 20190214
...; testView.mc.play(0,true); Laya.stage.addChild(testView); Laya.timer.once(2000,this,onLoop,[testView]); } private function onLoop(testView:TestView):void { testView.mc.stop(...
来源: Laya_社区 发布时间: 20170608
...(Laya.Event.CLICK, this, () => { img.y -= 10; }) img.pos(100, 300) Laya.stage.addChild(img) } function createFlower() { var f = new Laya.Sprite(); var r = Math.random(); var s = r > 0.66 ? "img/flower1.jpg" : r > 0.33 ? "img/flower2.png" : "img/flower3.jpg" f.loadImage(s); f.on(Laya.Event.C...
来源: Laya_社区 发布时间: 20180412
...t.z > 1.0){ outE[0]=outE[1]=outE[2]=NaN; }else { outE[0]=outE[0] / Laya.stage.clientScaleX; outE[1]=outE[1] / Laya.stage.clientScaleY; } } 2017-12-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 LagField 赞...
来源: Laya_社区 发布时间: 20171229