Excuse me, maybe i did something wrong, but am I the only one who has the following message just before I encounter a battle? :
Cannot convert undefined or null object.
What could be the problem?
Did you start a new game after installing the plugin?
Does it happen in the demo?
I tested your demo : everything is fine.
So, i created my own "layers" file, put the picture (it's a png so it should be fine) put the same code you put in your demo (with the script function, of course) with the file name, etc... but then, there's the problem I said.
If you need pictures or precisions, do not hesitate.
Btw thx for your work, your plugins are clean and usefull.
Edit : it's about a layer in battle. I'm using "sideview" battle. Maybe it can help you to understand.
I have done tests with sideview but I cannot replicate this error. In order to help you out we'll need to be able to replicate this.
It could be a plugin conflict - to find this out (or rule it out as an issue) you will need to do tests in your project disabling your other plugins and testing to see if it still happens.
Other things I could look at is if you screenshot your plugin calls and the error (so I can see what line the error is appearing on at least)
Thanks that helped and I managed to replicate the issue. It was indeed a bug in the plugin, thanks for helping pinpoint it.
I've updated to version 1.8 with a fix for it, let me know if you have any issues with it
Just tested it, it works perfectly!
Thanks for your time.
By the way, I have a little question : do you plan to convert your RPG Maker VX Ace script "Menu Themes Engine" into a plugin for RPG Maker MV?
The menuing was amazing!
One day I will. So much to do, so little time 😀
It's totally understandable.
Good luck and keep on the good work! 🙂
Hi Galv!
Thank for the plugin 🙂
but in some maps it gives black screen when I set the blend mode of a fog to 2 (multiply)
Currently multiply doesn't seem to work. Waiting for an rpgmaker update to see if it helps.
It just shows you a block of color instead of the image?
Double check your plugin command parameters are correct. And if you can put your project somewhere that I can download it, I will take a look.
(The demo project you replicated the issue in I mean)
I have just noticed the game that worked fine with my script that the event command Transfer Player was all the way at the bottom. I then moved it all they way down the list and stopped getting blocks of color for images. So that is one issue solved on my side, but the other problem remains that the layer graphic only loads the initial time it is called by the layer_s command in the map note. Once the layer remove event runs, the graphic is removed and never comes back.
If you cannot replicate the previous issue in a new project or the demo, then I recommend doing tests to see if another plugin is causing conflict.
Like you said, when you remove a layer it gets removed permanently. If you want it back, you'll need to add it back with a plugin command.
This issue has been fixed on my main project and remain at a loss on how to break it again. If I later learn further isolate and replicate the issue I will be happy to share what I know.
Not compatible with the latest Yanfly YEP_BattleEngineCore v1.36. I applied the following event script for layered dust in fights without the said YEP engine and it looks fantastic.
Galv.LG.bLayer(1,'dust',0.5,0,255,0,0);
Galv.LG.bLayer(2,'bdust',1,0,150,2,0);
Galv.LG.bLayer(3,'fdust',3,0,150,3,0);
I later downloaded the said latest YEP battle engine and no matter of plugin order, if the YEP battle engine is enabled, the dust layers from Galv.LG.bLayer covers the entire battleback so it cannot be seen at all.
Thanks for letting me know. Had to wrap my head around it but I think I solved the issue.
I've updated to version 1.9 now, please grab it and make sure it's under Yanfly's Battle plugin. Let me know if any issues