Tiles Leave Orange Trailing Edge While Moving

Hello,

I couldn't find anything on this, not sure if its a bug with MV or just that chrome browser thing it comes with.
I notice for some reason certain tiles will leave a trailing edge on them when the character moves. the edge appears on the side of the tiles dependent on the players direction of movement. the edge is approximately 2 to 8 pixels wide and orange for some reason.

here's a video showing exactly what happens. pay attention to the cobblestone path.
you may notice the dark grey wall is also affected.


does anyone know the actual cause of this?
-I tried using Yanfly's Core Plugin that apparently fixed screen tearing issues but it didn't seem to help in this case.
-removing Weather effects does not effect it.
-Removing all Plugins still produces it.
-RPGMaker MV Core Scripts are at 1.6.1
-Using a NVidia GTX 1080i graphics card



Sorry if this was already addressed somewhere else, I couldn't find anything via Google Search.
Those orange lines, are that appears at the edge of the green tileset, right?
I can see in the cobblestone to.
But i think this a problem of MV. Similar to this problem(see screenshots in the post):
https://forums.rpgmakerweb.com/index.php?threads/black-lines-on-android-deployment.99037/
So if this is the problem... good luck, because they will dont fix it for now.
For confirmation, try to use the orangemapshot.js and take a screenshot of your map. Then, open a new map in blank and add the screenshot as a parallax. See if the orange lines still appear. If does not appear, then the problem is as i said in the link above =/
I know that the above problem that i show to you was related to android, but I've seen some cases of this same problem happen in pc and in browsers, not as often as android, but happens to.
Anyway, I hope I have helped.
I had a feeling it was a rendering problem like that.
i just hope its not PIXI again because fixing that is outta of my league.

I believe the black lines may have been fixiable via Yanfly's core engine since it looks like some Tiles were rendered in the ever so slightly worng position that usually causes those types of lines to appear (they are quite common in 3d). Javascript is Notorious for poor precision on decimals which again can cause that.

However, when trying to get them to show up in those screen shots via OrangemapShot.js, they do not appear, which is part of the reason i had to use a video. (i just used GIMP last time, but i gave the plugin a crack as well)

Spoiler: Image
2018_12_16_21_43_22_919_2676.png



it maybe because the player is frozen during that frame.
I believe that I did not express myself right (or I did not understand what you said xD)
But I told you to use the orangemapshot, so you could use your map as a parallax.
Having done this, you start the game and walk the player around the map and see if the problem persists.

If I misunderstand, ignore the above message.

In my case, I tried to use the yanfly core engine because it says it fixes some things. Also, on his site I had an update from an older version of rpg maker mv 1.3.5 if I'm not mistaken, and in the notes of that update it contained a written part saying "fix the black lines on android".
Anyway, until today it has not fixed = /
In this topic I sent you, I tried many things. Different Deployments, Plugins etc. But nothing solved. The only thing that made the lines disappear was by using a parallax map. That did not fix the problem, but I managed to at least not find it.
I can't really see the video good enough to judge which is the cause for the effect, but there are two different things that are known to cause disruptions and distortions in the tiles of the game.

1) using a screen size that is not a multiple of the tilesize.
The display functions aren't written to handle partial tile on screen, and something in them tries to compensate by shifting and resizing the tiles if there is no exact fit. And that problem is too deep inside the engine, I don't know of anyone who even tried to write a plugin to change that - especially not because it is rather simple to remove the effect by using only specific screen sizes.
For example a screen size that ends on 1080 is NOT a valid screen size, because 1080 divided by 48 is 22.5 - not a full tile.
So you need to use a screen size of 1056 for monitors that have a physical maximum of 1080, and the distortions will be gone if they were caused by this problem.

2) using incomplete tilesheets
For example the B-E tilesheets have a size of 768x768 pixels.
If you make your own sheets by copying tiles together from the forum and other sources, then you need to make sure that the tilesheet pictures have this size, filling them up with transparent tiles if you don't have enough tiles for a full tilesheet.
If you create smaller tilesheets because you don't have other tiles to add, that smaller size will also cause the engine to "stumble" and cause distortions on the map - which vanish if you simply fill up the tilesheet with transparent tiles to the required size.
@Andar those are technically bugs, but i checked the solutions you provided for them and they didn't affect the orange trail.

Lookingat the Source Code for TileMap and Shader Tilemap see if i can find anything. from what i can tell MV creates a Tilemap as a PIXI Container and has two Bitmaps it uses for for upper and lower layer. it then creates the Map using recursive block transfers which it seemly does from within Update Transfrom. However this is For normal Tilemap.

My PC is using ShaderTilemap which means MV handballs to the PIXI Tilemap to handle the rendering. interesting though, ShaderTilemap looks for a plugin also called ShaderTilemap when selecting a shader. this one creates two "Zlayers" that have a "tileLayerRect" object as there children.
instead of using Block transfers, this calls "AddRect" on the layers in the same manner.

Ive also discovered that the orange line only appear while the map is scrolling and scales of how fast it is scrolling. From memeory, RMMV scrolls the 'camera' by moving the entire Map (aka the Tilemap) in the revserse direction of the player giving the illusion of the camera following the player. now whenever this happens, I'm assuming "paintAllTiles" is being called from within Tilemap.
Using some hackery with console.log, i can prove that it does intact get called each time MV makes the Tile map Move. this is when those orange lines appear. (and i just noticed some rooftops darken!)

Ive also noticed being adjacent to Autotiles and Greyness seem to make them worse.
it does seem to be a PIXI related issue as far as i know of now. whether if its PIXI or PIXI-Tilemap remains to be seen.

Original thread: https://forums.rpgmakerweb.com/threads/tiles-leave-orange-trailing-edge-while-moving.103329/