Thanks for the great plugin!
I would like to suggest two additions to it:
First, after the line "Fomar.TileSize.tileSize = [...];", I would add:
Then, before "ImageManager.loadTileset = [...]", I would add:
This scales the character Y shift according to the new tile size, as well as the jump height. While I was using the plugin, I noticed that these parameters did not appear properly with the new tile size, that's why.
I would like to suggest two additions to it:
First, after the line "Fomar.TileSize.tileSize = [...];", I would add:
Fomar.TileSize.factor = 48 / Fomar.TileSize.tileSize;Then, before "ImageManager.loadTileset = [...]", I would add:
Game_CharacterBase.prototype.shiftY = function() {
return this.isObjectCharacter() ? 0 : Math.round(Fomar.TileSize.tileSize/8);
};
Game_CharacterBase.prototype.jumpHeight = function() {
return (
(this._jumpPeak * this._jumpPeak -
Math.pow(Math.abs(this._jumpCount - this._jumpPeak), 2)) / (2*Fomar.TileSize.factor)
);
};
This scales the character Y shift according to the new tile size, as well as the jump height. While I was using the plugin, I noticed that these parameters did not appear properly with the new tile size, that's why.