MZ GALV'S Layers question.

Hi everyone, can anyone help me to figure out this behavior?

I've created layers, etc. and it looks good, like I wanted:
Spoiler: image
2.png

But as soon as I move one square down, this happens:
Spoiler: image
Untitled-2.png

The question is how to avoid that without making my maps smaller?

Here's my settings:
Spoiler
Untitled-1.png
Are the dimensions of the images the same as the map?

I was able to reproduce and resolve a ~similar issue~.
The bottom layer was disappearing when I walked out of the bounds of the Z=5 image area, the Z=0 image disappeared.

Spoiler: Difference in My Error
I had to set the map event to Parallel instead of Autorun or my character could not move.
(Perhaps due to my image size?)

I replicated the error with z=5 image that was smaller than the dimensions of the map and a z=0 ==> z=1 image that was the same size as the map.

When replicating and solving with the Map Notetag versions, I had to remove the event from the map.

Setting the Z=0 image to Z=1 (or even a decimal between 0 and 1).

I believe the tiles that are placed on the map act as Z=0.

Also, if you do not want the images to change, you can try using the Map Notetag versions:

Spoiler: Galv's Layer Graphics Map Notetag Format
Keep LAYER or LAYER_S but replace the rest of the following format with the appropriate numbers (found in the plugin help text).

According to the Help file, the Map Notetag layers can still be changed with the plugin commands.

LAYER is for repeating layers (parallax)
LAYER_S is for static layers

Code:
// The Galv's Layer Graphics MZ Map Notetag Format
LAYER ID GRAPHIC XSPEED YSPEED OPACITY Z XSHIFT YSHIFT BLEND
LAYER_S ID GRAPHIC X Y OPACITY Z BLEND XANCHOR YANCHOR CHARACTER ROTATE

// Example of your Current Settings in Notetag Form
LAYER_S 1 map8-under 0 0 255 0 0 0 0 0
LAYER_S 2 map8-top 0 0 255 5 0 0 0 0

// Example of your Settings Changed to Z=1 to hopefully fix disapearing error
LAYER_S 1 map8-under 0 0 255 1 0 0 0 0
LAYER_S 2 map8-top 0 0 255 5 0 0 0 0

I found the Notetag version seemed to work better for my test, but it could have been image size related as well..

I hope this helps and makes sense!
I was able to reproduce and resolve a ~similar issue~.
The bottom layer was disappearing when I walked out of the bounds of the Z=5 image area, the Z=0 image disappeared.

Spoiler: Difference in My Error
I had to set the map event to Parallel instead of Autorun or my character could not move.
(Perhaps due to my image size?)

I replicated the error with z=5 image that was smaller than the dimensions of the map and a z=0 ==> z=1 image that was the same size as the map.

When replicating and solving with the Map Notetag versions, I had to remove the event from the map.

Setting the Z=0 image to Z=1 (or even a decimal between 0 and 1).

I believe the tiles that are placed on the map act as Z=0.

Also, if you do not want the images to change, you can try using the Map Notetag versions:

Spoiler: Galv's Layer Graphics Map Notetag Format
Keep LAYER or LAYER_S but replace the rest of the following format with the appropriate numbers (found in the plugin help text).

According to the Help file, the Map Notetag layers can still be changed with the plugin commands.

LAYER is for repeating layers (parallax)
LAYER_S is for static layers

Code:
// The Galv's Layer Graphics MZ Map Notetag Format
LAYER ID GRAPHIC XSPEED YSPEED OPACITY Z XSHIFT YSHIFT BLEND
LAYER_S ID GRAPHIC X Y OPACITY Z BLEND XANCHOR YANCHOR CHARACTER ROTATE

// Example of your Current Settings in Notetag Form
LAYER_S 1 map8-under 0 0 255 0 0 0 0 0
LAYER_S 2 map8-top 0 0 255 5 0 0 0 0

// Example of your Settings Changed to Z=1 to hopefully fix disapearing error
LAYER_S 1 map8-under 0 0 255 1 0 0 0 0
LAYER_S 2 map8-top 0 0 255 5 0 0 0 0

I found the Notetag version seemed to work better for my test, but it could have been image size related as well..

I hope this helps and makes sense!
OMG, thank you so much for helping me with that! You went the extra mile just to help me figure this out, and I really appreciate it. Honestly, you even wrote down the codes. Basically, adding the settings in the note tags did the trick, and there are no more bugs. Thanks again! I'm stull a bit confused as to why it worked trough notes and wouldn't work as an event.
Thanks again! I'm stull a bit confused as to why it worked trough notes and wouldn't work as an event.
Happy to help!

From what I could tell, the map notetags worked because the notetags act as an instance of the code running at the creation of the map. This (likely) happens prior to any of the event code being activated in the game. (Order of the codes execution.)

Spoiler: Using Plugin Events
The events should work for changing the established notetag maps. This is where any of the plugin commands for adding or changing layers and the “Refresh” plugin command would be used.

For example, you could (most likely) combine conditionally statements, region ids, and the plugins to enter and exit rooms on a map. ~The example is theoretical at this point and requires many more steps to work.~

Spoiler: Possible Ways of Easing Plugin Use
I would recommend copying your most used sections of any plugins into a separate text file for easy reference.

Right clicking also brings up a plugin help option. This is quite useful, but I believe it only works in the events.

Original thread: https://forums.rpgmakerweb.com/threads/galvs-layers-question.173711/