Graphics flickering/tearing

Hi there. Does anyone know if there is a way to reduce/remove flicker that happens when zoom is used?

It only happens when the camera is moving/following the player.
I'm using the MapZoom plugin.

Thanks.
please link to the zoom plugin and tell us what zoom you're using.
we can't tell you what you did wrong without seeing what you did.


That said, one of the probable causes is using the wrong zoom level. ONLY full multiples of 100%, 200%, 300% and so on can be lossless(and then only if done right).
If you're using a partial zoom level like 150% or 166% or so, then you WILL get quality loss, and absolutely nothing can prevent that.
Hey thanks for your reply. I figured the case to be as much.
It's the MBS - Map Zoom (v1.3.5) plugin.
I tried out what you said, and it worked perfectly, just a shame there is no in between.

EDIT: My original number was 1.3, which didn't work. but I just did some playing about and got the number 1.333333, which so far seems to have no flickers or tears and is very close to what I wanted. Hopefully this won't cause any other issues?
Hopefully this won't cause any other issues?
yes and no - the problem is the number of full pixels that are created outside a direct transformation.

example: with a zoom of 150%, a two-pixel-picture is turned into a three pixel picture. If the original picture had one white and one black pixel, what color should the new middle pixel in the 3-pixel-picture get? black or white would both distort the picture because the divider is no longer in the middle but to the 2/3 side. mixed color grey would keep the geometry but look as if the previously crisp line is blurred.
so there is no perfect solution.

1.3 would create three new pixels for every ten original pixels. 1.33333 period creates one new pixel for every three original pixels.
the second case is easier to handle than the first case, which is why the distortions and blurs are reduced - but it does not eliminate them.

only 200% (four pixel in the example above, two black and two white with the divider still crisp in the middle) is without quality loss when set to preserve pixel art.
Thanks for the info. It looks pretty decent, although you can see a blur when the camera moves, there are no obvious artifacts, such as screen tearing. My guess is because that number is very close to dividing a 100 into 75, and 75*4 is 300 which is an acceptable ratio, is why it works?

Original thread: https://forums.rpgmakerweb.com/threads/graphics-flickering-tearing.144754/