Huge issues with charset lag

Would you mind sending me your Mapxxx.json file from that project please?

Also, what is your rpg_core.js version?
Would you mind sending me your Mapxxx.json file from that project please?

http://cdn.astrojone.com/hotlink/Map001.json

Also, what is your rpg_core.js version?

v1.6.2.
Bump.
Bump.
Bump.
I just tried it out and I don't have the same problem. @quackgyver
The weird warping when I move is only in this video. Probably because it's not a proper widescreen recording but yes, it's possible it's your video card settings that's the problem.

@Archeia I was able to reproduce it.

You've got to change the resolution via the community plugin to the settings indicated in the earlier posts, then interact with the boat to trigger the lag.

I believe @quackgyver may be correct in saying it's because the tileset and the characters are not drawn at the same time ... or there's a difference in the calculation of where things are drawn based on the character position and the map scroll. It only happens when you trigger the above and move up or down so the map is scrolling - as soon as the map stops scrolling up or down, the events align with the tileset and the tearing no longer happens.

I started to look at the code, but the drawing of the sprites isn't something I've had a lot to do with and I got lost pretty quickly. Unfortunately I didn't have a lot of time to spend on it.

I'm using 1.6.1 and the OP is using 1.6.2 I think.
@Archeia I was able to reproduce it.

You've got to change the resolution via the community plugin to the settings indicated in the earlier posts, then interact with the boat to trigger the lag.

I believe @quackgyver may be correct in saying it's because the tileset and the characters are not drawn at the same time ... or there's a difference in the calculation of where things are drawn based on the character position and the map scroll. It only happens when you trigger the above and move up or down so the map is scrolling - as soon as the map stops scrolling up or down, the events align with the tileset and the tearing no longer happens.

I started to look at the code, but the drawing of the sprites isn't something I've had a lot to do with and I got lost pretty quickly. Unfortunately I didn't have a lot of time to spend on it.

I'm using 1.6.1 and the OP is using 1.6.2 I think.

If it's the community plugin that's causing it then it's better to use YEP_Core Engine if your only goal is to change the screen resolution. @quackgyver
I just tried it out and I don't have the same problem.

You need to also follow these steps:

lowered the resolution to 480x320px using Community_Basic, created lag by increasing the map size, number of events and on-screen effects


@ArcheiaI believe @quackgyver may be correct in saying it's because the tileset and the characters are not drawn at the same time ... or there's a difference in the calculation of where things are drawn based on the character position and the map scroll. It only happens when you trigger the above and move up or down so the map is scrolling - as soon as the map stops scrolling up or down, the events align with the tileset and the tearing no longer happens.

To add to this, this glitch can also occur at random, independently of the character walking. So, a map will be loaded, and events will be glitched out by the default. They will then flicker in- and out of position when the character walks in any direction (whether it's up- or down, or left- or right).

So, there are two issues related to the same bug:'
  • The glitch can be triggered by walking when frame rate drops.
  • The glitch can be arbitrarily triggered by default, and will flicker when walking.
If I can offer some hypotheses, I think the development team should look into pixel rounding and delta time, because this seems like the kind of bug that would be caused by such a development oversight.

If it's the community plugin that's causing it then it's better to use YEP_Core Engine if your only goal is to change the screen resolution. @quackgyver

I've tried using both as well as a number of other solutions as part of troubleshooting. The issue is always reproducable no matter what.
delta time

Definitely not an option. I'll see what I can do but don't expect much at all.
There's a strong possibility it's like this bug: https://forums.rpgmakerweb.com/index.php?threads/event-jitter-fix-display-rounding-error-fix.17448/
Definitely not an option. I'll see what I can do but don't expect much at all.

How do you mean? Why would they refuse to fix such an important bug in the toolkit? It's seemingly a programmatic issue, and I'm not using anything that didn't come with my RPG Maker MV purchase.
How do you mean? Why would they refuse to fix such an important bug in the toolkit? It's seemingly a programmatic issue, and I'm not using anything that didn't come with my RPG Maker MV purchase.

Adding Delta time will destroy a lot of plugins. When I say don't expect much at all, it means we need time and manpower to fix it. The usual stuff.
Adding Delta time will destroy a lot of plugins. When I say don't expect much at all, it means we need time and manpower to fix it. The usual stuff.

Oh well, when I said delta time I didn't mean that it should be added, I was just guessing that if delta time is already being used, the issue could be that it's being applied inconsistently. The pixel rounding could also be off. Another possibility could be that the rendering algorithms for the tilesets and charsets are inconsistent.

In either case, we've been working on this game since 2015 and we've announced a July 2019 release date, so it's critical for us that this gets fixed.
I tried this out with friends and we're all getting mixed results. Some of us get it, some of us don't get it at all.
As you can see here the bug is not being triggered. But I have seen some people managed to trigger it. Do you see why this is hard to fix? @quackgyver
@Archeia if it helps this also can occur in ace with resolution changes. So you may want to look into code that is the same as ace that was only changed to javascript of mv
@Archeia if it helps this also can occur in ace with resolution changes. So you may want to look into code that is the same as ace that was only changed to javascript of mv

Ace had a fix with rounding errors that MV already has. I linked it on this thread too and had to check the code if it was already in. If it doesn't happen on some PCs then it means the problem is something completely different. The question is if the error is on RMMV level, PIXI.js level, Shader Level or even in the Driver. We have no idea.

But based on data I have gathered so far, it's more likely driver related. Maybe Vsync or something. The video already showed that even with his test map that someone else can replicate the jittering, it does not occur at all.
Its not the rounding error. I've gotten this to occur on down movement with 640 x 480 in ace with that script installed. It's hard to see though unless you look for it but there's a stutter step that occurs about every 15th step.
Its not the rounding error. I've gotten this to occur on down movement with 640 x 480 in ace with that script installed. It's hard to see though unless you look for it but there's a stutter step that occurs about every 15th step.

Even with Neonblack's fix?
But even then, I already said why it may not be the case with the MV issue right now. Because here are two vids from two different computers with the same setup to replicate the bug quack is having.




One has it happening, one doesn't have it at all.
Yep. Even with Neonblack's fix. The exact conditions I got this kind of stuff to occur were (again in ACE so may or may not help here):

-Move Down or sometimes left/right. Must move many steps at once (usually 15 or so), and must scroll the screen.
-Play time > 10 hours
-Step counter > 60,000 steps.

It took all three to get it to happen though. And strangely enough I got it to go away by getting rid of the step counter. It's almost like the engine is doing this as it is trying to update too many things at once, so it causes either a stutter step (in ACE) or a screen tear (in MV) while it catches up. And maybe that is why not everyone is reproducing it is due to computer specs.

Oddly I did once get it to occur without meeting all three conditions on a new project too. Empty map too except for like 1 event. No idea why that one map and project was special though. So yep, aren't bugs fun?
It took all three to get it to happen though. And strangely enough I got it to go away by getting rid of the step counter. It's almost like the engine is doing this as it is trying to update too many things at once, so it causes either a stutter step (in ACE) or a screen tear (in MV) while it catches up. And maybe that is why not everyone is reproducing it is due to computer specs.

My friend and I have the same specs. That's the thing.
Hopefully it's just Pixi-tilemap though.

@quackgyver try this fix

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