Strange Visual Bug With Events Alignment On Map

Hello! I'm having some trouble with getting events to align with the map in my game.
1716224764560.png

In my game, these lamps around the first town turn on, and I have this handled with events and switches, and it works just fine! But, whenever I move, the events become misaligned.












1716224835304.png



<-- pay attention to the left side of this lamp, it's offset by a few pixels












This only seems to happen when I move diagonally, (I'm using Altimit Pixel Movement) Is there anything I can do to fix this?
Thank you!
What are the dimensions of your game window?

I've seen other threads where there are glitches like this from the window not being an (odd) integer number of tiles in each dimension.
What are the dimensions of your game window?

I've seen other threads where there are glitches like this from the window not being an (odd) integer number of tiles in each dimension.
624x384
You could try bumping the vertical 48 pixels higher so the center tile is properly centered in the screen, see if that makes a difference (384/48 = 8).
You could try bumping the vertical 48 pixels higher so the center tile is properly centered in the screen, see if that makes a difference (384/48 = 8).
Not much of a difference. Though it is slightly less prevalent, It's a little more inconsistent with moving usually only going about 2 pixels left instead of 3.

Would you know of a way to fix this without changing resolution? Nothing in my battle scene scales with resolution so I'd rather not change it and have to readjust everything.
How is this set up exactly... there seems to be another sprite underneath for the illumination...?
How is this set up exactly... there seems to be another sprite underneath for the illumination...?
It's just an event on a tile.
1716252647224.png
Ah, I see. The top of the lamppost is set to ☆ passability so that the lamp sprite seems to appear underneath it.

More like a workaround but perhaps it may be an idea to use only a halo sprite for the illumination, instead of the top of the lamp plus illumination? That way the few pixels offset would be much less noticeable.

Or alternatively use a looping animation of a halo in place of a sprite?
I would personally make that entire lamppost be an event, rather than having it be drawn in tiles with an event overlaying it.

You might still have some artifacting from the diagonal movement granted by your plugins, but that's my suggestion regardless of anything else in your project - it doesn't make immediate sense to me to have the same thing mapped and evented.

Original thread: https://forums.rpgmakerweb.com/threads/strange-visual-bug-with-events-alignment-on-map.168860/