最近在研究 MOG_LMBS.js
发现他调用动画库里面的角色技能动画都是相反的...
如何让LMBS的动画变成正的?
//==============================
// * playAnimation
//==============================
LMBS_Skill.prototype.playAnimation = function() {
this._playAnimation[0] = false;
animation = $dataAnimations[this._animationID];
if (animation && this._animationID > 0) {
var mirror = this._direction === 2 ? true : false;
this.startAnimation(animation,mirror,0);
for (var i = 0; i < this._animationSprites.length; i++) {
var sprite = this._animationSprites;
sprite._zIndex = this._zIndex + i;
};
};
};
=========================================
本帖来自P1论坛作者play337,因Project1站服务器在国外有时候访问缓慢不方便作者交流学习,经联系P1站长fux2同意署名转载一起分享游戏制作经验,共同为国内独立游戏作者共同创造良好交流环境,原文地址: https://rpg.blue/forum.php?mod=viewthread&tid=490289 若有侵权,发帖作者可联系底部站长QQ在线咨询功能删除,谢谢。 |