大约有 486 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0122 秒)
...OWN, spe, onMouseDown); Laya.stage.on(Event.MOUSE_UP, this, onMouseUp); Laya.stage.on(Event.MOUSE_OUT, this, onMouseUp); } private function onMouseDown(e:Event):void { spe.startDrag(new Rectangle(0,0,800,800)); } 鼠标点击Sprite报...
来源: Laya_社区 发布时间: 20170407
...le(1,1); Tween.to(image,{scaleX:0.5,scaleY:0.5},600,null,new Handler(this,tweenGuide,[image]),500); } public function tweenGuide1(image:Image):void { Tween.to(image,{x:100,y:100},600,null,new Handler(this,tweenGuide1,[image]),500); } ********************************************【End...
来源: Laya_社区 发布时间: 20161216
... laya 引擎是2.5的 Laya.loader.load(cg_url,Laya.Handler.create(this,()=>{ let tur:Laya.Texture = Laya.loader.getRes(cg_url); if(tur)img_cg.graphics.drawImage(tur) }),null,Laya.Loader.IMAGE); 这段代码, 当 cg_...
来源: Laya_社区 发布时间: 20201130
...时候出问题了 //给男角色模型设定贴图动画 var manAni = this.roleMan.addComponent(SkinAnimations); manAni.url ="3d/man/hero.ani"; manAni.player.play(); 附件 : --> 2019-02-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20190221
... 但是 动画依然存在 private backindex():void{ this.removeSelf(); Laya.Scene.open("Gameindex.scene"); } 2019-12-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 ...
来源: Laya_社区 发布时间: 20191224
... StartPage=(function(_super){ function StartPage(){ StartPage.__super.call(this); } Laya.class(StartPage,'view.StartPage',_super); return StartPage; })(StartPageUI) LayaSample: var LayaSample = (function(){ (function(){ Laya.init(667,375); Laya.stage.bgColor = "#ffcccc"; Laya.loader.load("res/atla...
来源: Laya_社区 发布时间: 20181029
...nd._musicAudio; }else { /* if(MiniSound._audioCache[this.readyUrl]){ tSound=MiniSound._audioCache[this.readyUrl]._sound; }else{*/ tSound=MiniSound._createSound(); // } 改成这样就OK了 2018-08-20 0 0 分享 微博 ...
来源: Laya_社区 发布时间: 20180817
...载进度 Laya.loader.create(res,null,Laya.Handler.create(this,this.onProgress,null,false)); 2020-11-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 1605953523用户 赞同来自: 我把资源放...
来源: Laya_社区 发布时间: 20201130
...码大致如下: Laya.loader.load('player/player.json',Laya.Handler.create(this, this.onLoaded),null); ----onComplate: Laya.Animation.createFrames(['player-left.png'], "walk-left"); 2016-06-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20160610
...邀请: 与内容相关的链接 提交 1 个回复 赵滔 赞同来自: this._skeleon.play(0); //需要设置一次先才能获取大小 var boundsW: number = skeleon.getBounds().width; var boundsH: number = skeleon.getBounds().height; 2019-06-17 0 0 分享 微博 QZONE 微信 为什么被折叠...
来源: Laya_社区 发布时间: 20190606