Huge issues with charset lag

Right, so, I knew it. I mentioned it earlier in this topic but it got buried with a lot of misleading info from a lot of testing on the base one but, this is known as the infamous event jitter bug. And there is no known fix to it. This is a bug that existed since RPG Maker 2000. And unfortunately, even with our attempts in RMVXA, it's also something that we still haven't fixed even though we thought we fixed it?

For the uninitiated this is how it looks on Vanilla VXA without our fix, Event Jitter Fix / Rounding Error Fix:


However, despite all attempts to fix the rounding errors, some users still get some problem?

How do we know this isn't related to PIXI? Simple. The same issue also happens in Canvas Mode. Which means it's not using PIXI shader whatsoever. This is not related at all to HTML5 engines or whatsoever.


As far as I know, there is a "fix" already in RPG Maker MV. That's why it's harder to emulate sometimes. The easiest way is just to pan the screen at the slowest speed. But it is not enough. So I can only give you some workarounds for the meantime. @quackgyver
  • Use Yanfly Doodads instead of events for your decoration. The only drawback is you won't see it in the map editor.
  • Alternatively, use Tiled Plugin and remake the maps in a literal better map editor. The only drawback is that you will need a 3rd party editor.
  • You can also use Quxios Map Plugins instead as well. The only drawback is that you will need a 3rd party editor.
  • Use a better camera system because this issue is related to that.
  • Find a way to clamp sprites somehow. We don't know.
  • Don't walk slow. Ever.
Those are your literal options. There had been numerous attempts to fix this issue already. And it is highly unlikely it will be fixed anytime soon or if at all.
Two thoughts after seeing the videos:

1) That's not the same thing I ran into in ACE, mine is a stutter-step where the engine literally stops for like a 1/10 to 1/20th of a second while scrolling. Though I think that's more a the CPU not being able to keep up with things as the game is played, so it pauses to catch up, though still no idea why it only occurs under those odd circumstances and why my fix of locking the step counter at a maximum # of steps fixed it. Maybe though that is more a case of how Ruby handles and increases huge variables more than anything, as it didn't occur until the step counter was over 16 bits in length (roughly).

2) I barely saw it in the MV video at all, had to watch it 2x to see it. So maybe there is something to the whole specs affect it side of things too.

Also does it occur when the play speed is only that slow? If so I'd suggest increasing the player speed myself, I'd hate to play a game where you move that slow regularly.
Yes, it only happens on slow speeds, panning, specific points of the player position. I'm not entirely sure why in MV it works way differently, but the core problem is the same. Like for example, if I use mouse movement, I don't see the events jitter at all. But one of my friends get it either way. The shader is probably doing something and I'm unsure if the same weirdass moments will happen in canvas mode too but this is one of those bugs that had been a thorn on my side for ages now. (the other one is looping on default map size and there's literally like no fix for it.)
You said that you were able to reproduce it earlier in the thread:

I was able to reproduce the issue when I changed to your non-standard resolution. Very early in this thread, I asked if you were able to reproduce it when you changed your resolution to a multiple of 48. You stated that you did change it to a multiple of 48, and that the issue still happened. I assumed you actually did try that and didn't just say that you did.

So, to clarify ...

at the default resolution, which is a multiple of 48 pixels in both directions, I have not been able to reproduce the issue. At your non-standard resolution, I am able to reproduce the issue. I'm sure someone said you need to have a resolution that's a multiple of 48.

To everyone asking, yes, it does happen on Windows as well, but only if you change to a non-standard (non multiple of 48) resolution, as far as I can tell.
Here's a fix for now:
https://forums.rpgmakerweb.com/index.php?threads/bug-fix-event-jitter-display-rounding-error.107752/

Gee! You were really fast!
That needed correct diagnosis and a workaround.
Awesome Archeia.

content removed by mod
@definite_lee That is really not necessary and only serves to promote drama, therefore I removed your comment. If you wish to further discuss it, you can pm me about it.
Sorry for the late response. This issue took up more time than expected for me, so I didn't have time to do a proper follow-up until now.

You had several people in this thread dedicating their time, for free, to help you solve this problem. I myself spent hours of my time to help you, testing on multiple computers in multiple projects and trying to replicate it based on the information we exchanged... and I don't even use MV. So honestly, I find this statement outright insulting.

We weren't discrediting the bug report. No one was able to reproduce based on the data you provided up until this last demo. We asked you consistently to provide a project and you consistently declined with "I provided you with all the data you needed" when we all explained we didn't see it under the instructions you provided.

I disagree with your comment, but just to clarify I'm very thankful for anyone who spent time attempting to help me. This issue was very important to us, so it means a lot.


This seems to have fixed the issue. I need to do some further testing but for now it looks like your script has resolved the problem. For this reason I'm going to hold off on testing- and reporting back on the other suggestions, in case this is the only necessary fix.

Question though, what's the license for using this plugin? Can it be used freely in commercial projects?

Thanks for the help!
Sorry for the late response. This issue took up more time than expected for me, so I didn't have time to do a proper follow-up until now.

This seems to have fixed the issue. I need to do some further testing but for now it looks like your script has resolved the problem. For this reason I'm going to hold off on testing- and reporting back on the other suggestions, in case this is the only necessary fix.

Question though, what's the license for using this plugin? Can it be used freely in commercial projects?

Thanks for the help!

It's a fix we had in 1.3.0-1.4.0 that disappeared for some reason then we ended up recreating and Yanfly ended up reactivating in his latest Core Engine update. You can also just grab Yanfly's.

Just use it as whatever.
It's a fix we had in 1.3.0-1.4.0 that disappeared for some reason. Just use it as whatever.
Okay. Thank you for taking the time to help!
Update:

Alight, I've been using the fix for a few months now, and it has worked flawlessly.

Not a single instance of the bug has occurred since the fix was implemented, so to anyone reading this who's having the same issue, try the script.

Thanks a lot to everyone who took the time to help (especially @Archeia ).

Original thread: https://forums.rpgmakerweb.com/threads/huge-issues-with-charset-lag.106617/