MV Fixing Display Rounding Error for different sized tiles & sprites

So this wonderful plugin by Archeia has helped a lot of people, including myself. https://forums.rpgmakerweb.com/index.php?threads/bug-fix-event-jitter-display-rounding-error.107752/

Basically, there was this weird jitter that would happen to events and sprites during slow camera panning, but the plugin in that link successfully fixes it as long as you put in the size of the your tiles.

However, my issue this that my tiles and sprites are DIFFERENT sizes. My tile size is 48x48 pixels but my character sprites are all different sizes. Some are 48x48, some are 64x64 and others are even bigger or more unusual sizes. This is because I have a lot of big monsters, vehicles, and other objects that require me to increase the default 48x48.

So although the tile events have stopped jittering now, as well as the characters that are 48x48, anything that is a different size from that STILL jitters...

I have absolutely no idea how to begin making this work for the different sized sprites so they don't jitter. If anyone has any suggestions, hacks, or alterations that could possibly be made to the code, I'd super super appreciate it. The code for the jitter fix is here:


var Liquidize = Liquidize || {}; Liquidize.JitterFix = {}; Liquidize.JitterFix.Parameters = PluginManager.parameters('JitterFix'); Liquidize.JitterFix.TileSize = Number(Liquidize.JitterFix.Parameters["Tile Size"]) || 48; Game_Map.prototype.displayX = function() { return Math.floor(this._displayX * Liquidize.JitterFix.TileSize) / Liquidize.JitterFix.TileSize; }; Game_Map.prototype.displayY = function() { return Math.floor(this._displayY * Liquidize.JitterFix.TileSize) / Liquidize.JitterFix.TileSize; }; Game_Map.prototype.adjustX = function(x) { if (this.isLoopHorizontal() && x < (this.displayX() - (this.width() - Liquidize.JitterFix.TileSize) / 2)) { x -= this.displayX() + this.width(); } else { x -= this.displayX(); } return x; }; Game_Map.prototype.adjustY = function(y) { if (this.isLoopVertical() && y < (this.displayY() - (this.height() - Liquidize.JitterFix.TileSize) / 2)) { y -= this.displayY() + this.height(); } else { y -= this.displayY(); } return y; };
Hey @ladylannistarth try using one of these two plugins.
Unfortunately FUKU deleted it from their site but since it's under MIT license it should be ok to be redistributed. I'm pretty sure testpack should be the best one but give them both a try.

Original thread: https://forums.rpgmakerweb.com/threads/fixing-display-rounding-error-for-different-sized-tiles-sprites.139662/