Really fantastic plugin, but I'm getting a weird error. Whenever I use a layer graphic inside a battle and the battle ends the game crashes and I get "TypeError: Cannot read property 'graphic' of undefined". Disabling the layers before the battle ends gets the same result.
I'm not quite sure why this is happening.
Galv's Layer Graphics (fogs, parallaxes, mapping)
● ARCHIVED · READ-ONLY
-
-
didi you try to use the plugin command to remove the battle layers before the battle ends?
Not sure if I can help you, but I think this error is related to the name of the file layer graphic. It is case-sensitive.
Make sure if everything is correct and if you use plugin commands if you don't do any typos.
Send a screen of the console when the error happens, also helps(press f8 or f12 when the error occurs). -
didi you try to use the plugin command to remove the battle layers before the battle ends?
Not sure if I can help you, but I think this error is related to the name of the file layer graphic. It is case-sensitive.
Make sure if everything is correct and if you use plugin commands if you don't do any typos.
Send a screen of the console when the error happens, also helps(press f8 or f12 when the error occurs).
I'm not quite sure what's causing it.
I've double-checked the script calls to make sure everything is spelled correctly and all the files are correct.
As far as I'm aware there's no conflicts.
It doesn't happen when testing troops in the editor but when a battle finishes in a playtest the game just crashes, so I'm assuming something is happening in the transition from battle to map. -
Does it happen in the demo or fresh project?
-
Same thing is happening in a fresh project so I assume at this point I'm getting the syntax wrong.Does it happen in the demo or fresh project?
Spoiler


-
Ah I see - I never tested removing layers in battle. This is indeed a bug and one day (if I ever have time) I will look into it. Immediate solution is not to remove layers mid-battle, they can be added and removed outside of battle
-
That's a shame to hear, but thank you for the response and assisting me.Ah I see - I never tested removing layers in battle. This is indeed a bug and one day (if I ever have time) I will look into it. Immediate solution is not to remove layers mid-battle, they can be added and removed outside of battle
I'll have to find some away around this, but calling layers outside the battle still seems to trigger the same error. -
Hmm, can't get it to happen when modifying layers outside of battle. There's an example of that in the demo.
Edit: (Specially removing layers) -
Actually, disregard my last post. That only seems to be a conflict with a plugin I'm using for testing purposes. It works fine otherwise.Hmm, can't get it to happen when modifying layers outside of battle. There's an example of that in the demo.
Edit: (Specially removing layers) -
I was getting an error from the plugin when attempting to transfer the player to another map. I have noticed that this error only occurs when transferring the player using variable coordinates; direct designation transfers work fine. I have only encountered this error recently, so I'm still trying to figure out what changed to cause it now. Any know why variable transfers are causing this?
Edit: It seems like the problem occurs when transferring the player using variable coordinates but the variable designating which map to transfer to is 0. So all I really have to do is just find out why/how that variable is getting set to 0. -
@Chazareth your image has not been attached. Please send a screenshot of the console error and your event with this transfer using the variable.
-
@Chazareth your image has not been attached. Please send a screenshot of the console error and your event with this transfer using the variable.
I took down the screenshot, as I've figured out what the problem was. The plugin wasn't at fault, it was just a messed up variable on my end. -
Hey has anyone have the issue with the layers flickering on screen when you press "z"?
I tried moving tghe plugin order every way possible but still all my layers flicker when using
I am thinking there is a compatibly issue with Mog_ChronoEngine. As the layers from galv's plugin flicker when Attacking/using Tools. -
Compatibility Fix: Galv_LayerGraphics + Mog_ChronoEngine
If you are using this plugin along side Mog_ChronoEngine you may experience your LAYERS from Galv's plugin flickering when using tools,attacking etc.. I believe changing the layer to a higher position, it should fix the issue.
I was having this happen to any layers which I had set to "4" in the note box.
I just double checked and it is 100% fixed! :eswt2: -
Also, to add - you can use decimal numbers for the z value.
-
Is it bad practice that I use this plugin exclusively for all of my mapping? None of my maps are big (max size in my project being 25 x 25 MV tiles, and can't see them getting much bigger than that at all) and I've generally limited myself to around 5 layers p/map.
I just wondered if anyone has any experience of being heavily penalized - performance wise - for just using images for all maps (or any downside, for that matter). -
I have 2 questions:
First why does the overlay level (The shadows) offsets by one pixel??? it's set as 0 0 in the map notes.
LAYER_S 2 TwinsHouseOL 0 0 255 5 0 0 0 0 0 this is what I have set in the map notes btw
Second, if the parallax background has ! before the name, shouldn't that stop it from tiling? and yet as you can see it's start tiling on the edges, can anyone help me? -
Hello, Can anyone help me? I want to align these two static Layers into the screen which is set at 1280 x 720.
I keep trying different settings, But it keeps turning out this way and won't align properly...
EDIT: If it helps, the Picture file is at 640 x 480 and the Textured Background file is at 1280 x 720.
EDIT: If it helps, I want something similar to a Show Picture command that would encompass the X and Y coordinate based on the screen. A PNG Graphic Layer that would stick to the Screen and not the Map.
EDIT: I made a Request at JS Plugins request for a Plugin Command for this. The details can be found there, I hope someone can help me.
EDIT: The specific lines I am referring to for the two Static Layers is:
Plugin Command: LAYER_S v31 1 Mao_syokuin 35 35 255 5 0 0 0 0 0
Plugin Command: LAYER_S v31 2 Texture_Background_01 0 0 255 5 0 0 0 0 0 -
So the plugin applies layers to the map, not the screen. (Think of it like applying a big sticker to your map; once it's down, it's not moving.) So a static layer is going to be laid in one spot on the map, but isn't going to follow your player's screen when they move around the map. Because your map is taller than 720 pixels, the image isn't going to be centered on your screen.Hello, Can anyone help me? I want to align these two static Layers into the screen which is set at 1280 x 720.
I keep trying different settings, But it keeps turning out this way and won't align properly...
EDIT: If it helps, the Picture file is at 640 x 480 and the Textured Background file is at 1280 x 720.
EDIT: If it helps, I want something similar to a Show Picture command that would encompass the X and Y coordinate based on the screen. A Layer that would stick to the Screen and not the Map.
Since you want the image to display using the Screen coordinates, why not just use display picture command for that instead? -
Good suggestion with the display picture command. I can achieve the same results with it but unfortunately, in my case I am using Irina's Visual Novel Busts Plugin that has an issue with layer order when paired up with the Show Picture commands. I also extensively Galv's layer graphics as a separate "Background Picture" folder (for organizational purposes )as well because my Picture folder is now at 500+ images and it's getting hard to navigate what I need whenever I need a specific background image for a scene in an event.SpoilerSo the plugin applies layers to the map, not the screen. (Think of it like applying a big sticker to your map; once it's down, it's not moving.) So a static layer is going to be laid in one spot on the map, but isn't going to follow your player's screen when they move around the map. Because your map is taller than 720 pixels, the image isn't going to be centered on your screen.
Since you want the image to display using the Screen coordinates, why not just use display picture command for that instead?