大约有 220 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0050 秒)
... = true):void 加载资源。 Laya.loader.load(AniConfPath, Handler.create(this, createAnimation), null, Loader.ATLAS); 这里的load只有三个参数,而事实上用到4个,不清楚。。。 还有ani.index = 1;我改成0,-1,2,可是在经过play后面自动变成1,还有经...
来源: Laya_社区 发布时间: 20160712
.../////////////wheelas.as public function wheel(){ this.graphics.drawCircle(0,0,40,"#fff"); _wheel= new Animation(); _wheel.loadAnimation("wheeling.ani"); } public function init():void{ this.addChild(_wheel); _wheel.play(); } 附件 : --> 相关链接 : https://ask.layabox...
来源: Laya_社区 发布时间: 20190312
...main函数里面 叔年心~厌世 • 2019-10-10 16:45 for(var i=0;i<this.moneyArr[rr].length;i++){ let sp=new Laya.Animation(); //添加金币 sp.loadAnimation('anis/money.ani'); sp.play(0,true); loadder.addChild(sp); loadder.name = 'money'; sp.pos(this.moneyArr[rr][i],-15); } 叔年心~厌...
来源: Laya_社区 发布时间: 20191010
...交 1 个回复 Monica - 知识达人 赞同来自: ani.on(Event.COMPLETE,this,onComplete); 2017-09-27 0 7 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 chenhuanqi23 相关问题 两个对象new了一个相同的...
来源: Laya_社区 发布时间: 20170927
...andler = Laya.Handler; class GameMain{ constructor() { Laya.init(600,400); this.hahaha(); } private hahaha(): void { var assets: Array<any> = []; assets.push({ url: "res/start.json", type: Loader.ATLAS}); Laya.loader.load(assets, Handler.create(this, this.onComplete)); } private onComplete(): ...
来源: Laya_社区 发布时间: 20170329
...ory.loadAni("NiuXingTianXia/spine/start2.sk"); mFactory.on(Event.COMPLETE, this, function () { mArmature = mFactory.buildArmature(); mArmature.pos(650, 330); mArmature.play(0, false); this.addChild(mArmature); }); 2017-11-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20171129
... girlsMc.play(0,true,"ani2"); this.cmc.addChild(girlsMc); 附件 : --> 2019-08-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 ayiui4566 赞同来自: 靠,动效名...
来源: Laya_社区 发布时间: 20190814
...资源版本控制 ResourceVersion.enable("version.json", Handler.create(this, beginLoad), ResourceVersion.FILENAME_VERSION); } private function beginLoad():void { //加载引擎需要的资源 Laya.load...
来源: Laya_社区 发布时间: 20180725
...enderNode.PAUSED 简单分析一下,_update 里调用了 stop(),将this._currentPlayTime = 0; 但是紧接着后面又将 this._currentPlayTime = state.getCurrentPlayTime(this.trackIndex); 此时 this._currentPlayTime 为非零,结果就是 if (this._currentPlayTime) return Spine2DRende...
来源: Laya_社区 发布时间: 20241202
...nimations"]; if (aniData && aniData[0]){ var data=aniData[0]; this._setUp({},data); if (data.nodes && data.nodes[0]){ this._aniKeys=data.nodes[0].keys; } } } });
来源: Laya_社区 发布时间: 20181019