Event Distortion

Hello all, I'm getting some kind of weird event distortion whenever the camera is a certain distance away from the event. Is it because I've screwed with the default sizes for sprites and stuff? 😛 (I made them larger)

As you can see here the door on the wall is distorted and looks teared or something:
14tv3fq.png


And when the camera moves it goes back to how it SHOULD look:
2r6yus0.png


This is something that might actually be effecting my NPCs as well.
Inb4 suggestion, I was originally using a door that was on my tileset so there was no distortion, but I wanted the door to be highlighted when you go near it and the only way to accomplish that was to make it a character event.
no, that is zoom mathematics. Nothing can prevent that, unless you limit yourself too full zoom numbers only.

100%, 200% and so on will not be distorted (not unless you use a bad formula for zoom), but 150% for example will usually be a problem.

let's say the doorframe is 3 pixel wide and you use a 150% zoom - mathematically that would result in 4.5 pixels, but you can't place half a pixel. so the display has either to be 4 pixels or 5 pixels - and depending on the formula used it might end one way or the other or both (on different lines like here).

Then let's say you have one black and one white pixel and the zoom results in three pixels. What color will the one in the middle will be? black or white or gray? different zoom formulae will give different results and it would be either distorted (black/white selected) or blurred (grey).

and so on.
I'm fairly certain the zoom is at 100% :/ I even disabled my zoom plugin. Would adjusting the size of the door help?
no - with that effect, you have a zoom somewhere.

the size of event sprites doesn't matter for RM because they are not fixed. And they can't temporarily change into that way unless you have somehow created partial pixel numbers.

and that can only happen on either a zoom that is not 100%, or if you reposition a sprite off the grid (something like using a script to position a sprite to X= 10.4 instead of full numbers)

As for disabling your zoom plugin: have you started a new game or did you load a savedgame after disabling the plugin? If loading a savedgame, the plugin is probably still active in the savefile...
Did you maximize (or change the size at all) your game window? Because that will force your graphics card to zoom the image, resulting in what Andar described, depending on your particular graphics card and how it's rendering the image.
I used Yanflys engine to change the resolution (1280x720)
you should only use a screen size that is multiple of tilesizes, the display engine has problems with displaying partial tiles on the screen - and those problems can also result in such distortions.
Either 1248x720 or 1296x720 (that is minimum map size 26x15 or 27x15).

on a 1280 display you have to use 1248x720.
Okay fair enough. Thanks for the help 🙂

Original thread: https://forums.rpgmakerweb.com/threads/event-distortion.91068/