大约有 732 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0074 秒)
Laya_社区(366) Laya_示例(77) Laya2.0_示例(64) Laya3.0_api(63) Laya2.0_api(58) laya_api(53) Laya2.0_文档(37) Laya3.0_文档(14)
...失效 //初始化引擎 Laya.init(600, 400); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoaded回调方法 Laya.loader.load("res/atlas/ui/boos.atlas", Laya.Handler.create(this, onLoaded)); function onLoaded() { // //创建一个Animation实例 // var t...
来源: Laya_社区 发布时间: 20190708
... }else if (type==="atlas"){ if (Laya.stage["support_gzip"]) { if (data != null && !data.url && !data._setContext) { var...
来源: Laya_社区 发布时间: 20200427
...微信小游戏里面如何知道用户是否焦点在游戏里面? Laya.stage.isFocused Laya.stage.isVisibility 永远是true 运用Sprite的属性blendMode为"destination-out"时得到黑圈,与引擎示例中的效果不同,想知道为什么 IDE中自动打包图集后最后在res/atlas中...
来源: Laya_社区 发布时间: 20170118
...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize editable filters focus font fontSize globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea html htmlParseOptions is3D italic leading lines mask maxChars maxScrollX maxScrollY maxWid...
来源: Laya3.0_api 发布时间: 20231115
... this.height = texture.height; this.pos((Laya.stage.width - this.width)/2, (Laya.stage.height - this.height)/2); } } 2017-10-20 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...
来源: Laya_社区 发布时间: 20171019
ui.TestPUI() 找不到 Laya.init(1334,750); Laya.stage.bgColor = "#ffffff"; Laya.loader.load("./res/atlas/blackMagic.atlas",Laya.Handler.create(this,onLoaded)); function onLoaded(){ var efc =new ui.TestPUI(); Laya.stage.addChild(efc); } //new ui.TestPUI(); 这个东西找不到。我是按照官...
来源: Laya_社区 发布时间: 20190424
... sprite0.cacheAsBitmap = true; Laya.stage.addChildAt(sprite0,0); var sprite1:Sprite = new Sprite(); sprite1.loadImage("creatRoom/background_bk.png"); sprite1.pos(Laya.stage._wi...
来源: Laya_社区 发布时间: 20170314
...prite = new Laya.Sprite(); sp.graphics.drawRect(0,0,50,50,"#ff8822"); Laya.stage.addChild(sp); var delay:number = 5000; var timeLine:Laya.TimeLine = new Laya.TimeLine(); timeLine.addLabel("0",delay).to(sp,{x:550},500,null,0); timeLine.addLabel("1",delay).to(sp,{y:350},500,null,0); timeLine.addLabel(...
来源: Laya_社区 发布时间: 20170410
...aSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray group height hideFlags hitArea index interval is3D isPlaying left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right ro...
来源: Laya3.0_api 发布时间: 20231115
...aSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D items labelBold labelColors labelFont labelPadding labelSize labelStroke labelStrokeColor labels left mask mo...
来源: Laya3.0_api 发布时间: 20231115