大约有 4,103 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0067 秒)
Laya_社区(3324) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...EEFFCC"; mc=new MovieClip(); mc.load("output/AAA.swf"); mc.on(Event.LOADED,this,onLoaded); Laya.stage.addChild(mc); } private function onLoaded():void { mc.addLabel("label01",19); mc.addLabel("label02",39); mc.addLabel("label03",59); mc.on(Event.LABEL,this,onLabel);//运行到对应的帧数,会...
来源: Laya_社区 发布时间: 20170705
...2018-03-28 10:33 var roleTemp = new Templet(); roleTemp.on(Event.COMPLETE, this, function(){ var roleAni = roleTemp.buildArmature(1); Laya.stage.addChild(roleAni); }) roleTemp.loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load(['res/spine/knight/effect1.png', 'res/...
来源: Laya_社区 发布时间: 20171116
...常,反之则异常 //_shape.cacheAsBitmap=true; pos(300,300); Tween.to(this,{rotation:360},3000); } override public function get width():Number{ return _shape.width; } override public function get height():Number{ return _shape.height; } } } BUG2:package ui.test { import laya.display.Sprite; impo...
来源: Laya_社区 发布时间: 20170124
...hange(eventType:String, property:String, value:Object):void { var data:* = this[property]; this[property] = value; if (value != data) { var result:Boolean = event(eventType , {oldValue:data , newValue:value}); } } }现在问题就出在Data这个类上面,如果将Data修改为继承Obejct,则Li...
来源: Laya_社区 发布时间: 20161223
...法显示,作为同级的就可以显示 camera = LayaWrap.getNodeChild(this.rootCamera,"Main Camera"); camera.removeLayer(ConstantsStarGame.LAYER_EFFECT); camera.renderingOrder = 0; cameraEffect = LayaWrap.getNodeChild(this.camera,"EffectCamera"); cameraEffect.renderingOrder = 1; cameraEffe...
来源: Laya_社区 发布时间: 20200111
...rl: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); q8196901 • 2017-10-25 17:07 可以了 ,谢谢
来源: Laya_社区 发布时间: 20171025
... if (!tex.loaded){ tex.once(/*laya.events.Event.LOADED*/"loaded",this,this._textureLoaded,[tex,args]); } 7、经过反复测试,不仅Sprite.loadImage 出错,Animation也要出错,凡是涉及图片资源载入的都要出错。 请问该如何解决此问题? 2017...
来源: Laya_社区 发布时间: 20171015
...r.load("https://piggy.q1.com/res//atlas/images.atlas", Laya.Handler.create(this, this.onLoaded2), null, Laya.Loader.ATLAS); // Laya.loader.load("map/tile_map.png"); 2018-05-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交...
来源: Laya_社区 发布时间: 20180528
..."res/Basics.json", type: Laya.Loader.BUFFER } ], Laya.Handler.create(this, this.onLoaded)); } onLoaded(): void { console.log('===================ss'); console.log('sssss', fgui.GRoot.inst.displayObject); Laya.stage.addChild(fgui.GRoot.inst.displayObject); fgui.UI...
来源: Laya_社区 发布时间: 20191030
...同来自: let box: Laya.Sprite = Laya.Pool.getItemByCreateFun("dropBox", this.dropBox.create, this.dropBox); 最新版本的引擎,创建预设只有这一个方法吗? 2018-12-14 0 1 分享 微博 QZONE 微信 潮巴巴 赞同来自: http://ask.layabox.com/question/44153 2019-10-22 0 0 分享 ...
来源: Laya_社区 发布时间: 20180607