大约有 218 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0036 秒)
...内容相关的链接 提交 1 个回复 如果只是偶然 赞同来自: this.zombieAnimator = (zombie.getChildAt(0) as Sprite3D).getComponentByType(Laya.Animator); 2018-08-08 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zouv 相关...
来源: Laya_社区 发布时间: 20180807
...ions; skinAni.templet = Laya.AnimationTemplet.load(this.skinAniUrl[0]); skinAni.player.play(); } for (var i: number = 0, n: number = spirit3D._childs.length; i < n; i++) this.addSkinComponent(s...
来源: Laya_社区 发布时间: 20180724
...进的方法? 我尝试了如下方法,但是没有效果,求解。 this.clip_wpLevelup.on(Laya.Event.STOPPED, this, this.stopAndShowLvupResult); 2018-06-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Lay...
来源: Laya_社区 发布时间: 20180609
...乱掉? var WID = 80, HEI = 400; function Item1() { Item1.__super.call(this); this.size(WID, HEI); this.setImg = function(src) { var ani = new Animation(); ani.loadAtlas(src); // 加载图集动画 ani.interval = 100; // 设置播放间隔(单位:毫秒) ani.index = 1; // 当前播放索引 ...
来源: Laya_社区 发布时间: 20170627
...放音乐"); SoundManager.playMusic("res/sounds/bgm.mp3", 1, new Handler(this, onComplete)); } private function onPlaySound(e:Event=null):void { trace("播放音效"); SoundManager.playSound("res/sounds/btn.mp3", 1, new Handler(this, onComplete)); }播放声音或音效的第3个参数就是播放...
来源: Laya_社区 发布时间: 20170330
...ya.stage.bgColor = "#232628"; Laya.loader.load(AniConfPath, Handler.create(this, createAnimation), null, Loader.ATLAS); } private function createAnimation(_e:*=null):void { var ani:Animation = new Animation(); ani.loadAtlas(AniConfPath); // 加载图集动画 ani.interval = 30; // 设置播放间隔...
来源: Laya_社区 发布时间: 20170628
...sets/FBX/zj_nan_01/boy@animation-idle_show.lani",LayaWrap.creatHandlerCall(this,(aniClip)=>{ //创建动作状态 let state1 = new Laya.AnimatorState(); //动作名称 state1.name = "hello"; //动作播放起始时间 state1.clipStart = 0 / 90; //动作播放结束时间 state1.clipEnd = 90/ 90; ...
来源: Laya_社区 发布时间: 20190613
...邀请: 与内容相关的链接 提交 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
...ton; private onKeyDown(e):void{ if(e.keyCode == 49 || e.keyCode == 97){ if(this.te == null){ this.te = new Laya.Templet(); this.te.on(Laya.Event.COMPLETE, this, this.teComplete); this.te.loadAni("res/wing_01_side.sk"); } } else if(e.keyCode == 50 || e.keyCode == 98) { if(this.te != null){ this.te.de...
来源: Laya_社区 发布时间: 20190320
...start.json", type: Loader.ATLAS}); Laya.loader.load(assets, Handler.create(this, this.onComplete)); } private onComplete(): void { } } new GameMain(); ================================================================================================ json文件和代码都贴上来了 2017-03-29 添...
来源: Laya_社区 发布时间: 20170329