Hey guys, just got into rpg maker MV/MZ, and have been porting plugins. Let me know if you have any questions on how to port, or need help with porting.
Biggest breaking changes I've found so far:
isAnimationPlaying() Example
hit me up if you find any other big breaking changes, or need help with porting code over.
Biggest breaking changes I've found so far:
- Sprite_Base in MV has its methods moved to Sprite
- Window_Command initializers use a rectangle object as an argument now instead of x,y
- method isAnimationPlaying() is now replaced by Game_CharacterBase.prototype._animationPlaying (yes I know its direct access to a protected variable but there's no other way around it unless you override the function)
JavaScript:
let mx = FS.GAME.menu.x;
let my = FS.GAME.menu.y;
let cwin = FS.GAME.Window;
let width = FS.GAME.menu.width;
let height = cwin.height + 30;
let rect = new Rectangle(mx,my,width,height);
Window_Command.prototype.initialize.call(this,rect);
isAnimationPlaying() Example
JavaScript:
if (!Game_CharacterBase.prototype._animationPlaying) {
this._player.endAnimation();
}
hit me up if you find any other big breaking changes, or need help with porting code over.