I have been having some problems with "choppy" or "jittery" movments when moving large pictures veery slowly over the screen. Digging into it, the reason lies solely in the following lines of rmmz_sprites.js:
Removing the Math.round fixes the problem
Which makes sense. However, I am wondering if there is a reason that was put there in the first place I'm not seeing and if that would break anything. My initial testing has not revealed any problems, but you never know...
I feel like this sounds like an issue someone else must have run into at some point but searching for it mostly revealed threads that seemed either unrelated to this or without resolution.
JavaScript:
Sprite_Picture.prototype.updatePosition = function() {
const picture = this.picture();
this.x = Math.round(picture.x());
this.y = Math.round(picture.y());
};
Removing the Math.round fixes the problem
JavaScript:
Sprite_Picture.prototype.updatePosition = function() {
const picture = this.picture();
this.x = picture.x();
this.y = picture.y();
};
Which makes sense. However, I am wondering if there is a reason that was put there in the first place I'm not seeing and if that would break anything. My initial testing has not revealed any problems, but you never know...
I feel like this sounds like an issue someone else must have run into at some point but searching for it mostly revealed threads that seemed either unrelated to this or without resolution.