MZ Changing a menu background in game.

I'm planning to add a menu background for each menu screen. The problem is the menu screens will include playable characters, and i don't want to spoil their appearance through the menu. So i was wondering if there was a plugin or javascript code that could change the menu background through an event. so i can add in an empty version of the menu at the start of the game. and replace it with a version showing the characters in the background once that character has joined. I am using Visustella main menu core if that makes a difference.

I did find this thread
https://forums.rpgmakerweb.com/index.php?threads/change-menu-background-using-switches.170398/
For MV but since i use MZ i doubt it will be of too much use.

Thank you for reading.
While many MV plugins don't work with MZ, several do.

Instead of assuming it won't and asking strangers to do your homework for you, at least try the plugin you did find and let us know how/if it fails you.

Thx.
While many MV plugins don't work with MZ, several do.

Instead of assuming it won't and asking strangers to do your homework for you, at least try the plugin you did find and let us know how/if it fails you.

Thx.
I've tried installing the plugin into the game. As expected it did not work, the plugin commands didnt even show up in the engine. And i did go through a whole checklist of things to make sure i didn't do anything wrong when installing it.
@Eliaquim's Background Manager has been ported to MZ:
I assume the "background change" feature is still part of the free sample project version.
@Eliaquim's Background Manager has been ported to MZ:
I assume the "background change" feature is still part of the free sample project version.
Thanks so much. I'll look into it.
I have no problem spending money on quality plugins so it existing at all is great

@Eliaquim's Background Manager has been ported to MZ:
I assume the "background change" feature is still part of the free sample project version.
This did not work. As the post stated i need a way to change the events mid game, as far as i can see this plugin does not offer that feature. It is also incompatible with the visustella plugins as the game simply crashes upon opening the menu
This did not work. As the post stated i need a way to change the events mid game, as far as i can see this plugin does not offer that feature. It is also incompatible with the visustella plugins as the game simply crashes upon opening the menu
Hi there!
I believe I did add a way to change backgrounda via plugin command. If not, I could add it no problem.

Besides that, if you could share the crash report, maybe I can try fix the issue. When the crash happens, press F12 and go to the CONSOLE tab of the browser windows that will open. Send me a screenshot of this.

But compatibility with Visustella is always tricky...
Hi there!
I believe I did add a way to change backgrounda via plugin command. If not, I could add it no problem.

Besides that, if you could share the crash report, maybe I can try fix the issue. When the crash happens, press F12 and go to the CONSOLE tab of the browser windows that will open. Send me a screenshot of this.

But compatibility with Visustella is always tricky...
I will send a screenshot of the problem soon once i manage to recreate the crash.
as for plugin commands, when i opened the plugin command tab inside the event menu. your plugin simply was not listed as an option
Or if you don't want to spoil the looks of the characters you can change their faces to something like a place holder image.
Or if you don't want to spoil the looks of the characters you can change their faces to something like a place holder image.
I would still need to change the backgrounds in-game to do this. Wheter it's changing a character or removing them entirely untill they are recruited, both still need a change in the background to occur mid-game
Sigh...

VS compatibility is practically the reason I don't make MZ plugins...

Blah...
Hi there!
I believe I did add a way to change backgrounda via plugin command. If not, I could add it no problem.

Besides that, if you could share the crash report, maybe I can try fix the issue. When the crash happens, press F12 and go to the CONSOLE tab of the browser windows that will open. Send me a screenshot of this.

But compatibility with Visustella is always tricky...
1726150030276.png
1726150053263.png
This one line is the only thing that shows up in the console. My guees is that it's trying to pull from the wrong folder.
View attachment 317611View attachment 317612This one line is the only thing that shows up in the console. My guees is that it's trying to pull from the wrong folder.
The problem here is that the plugin is not finding the specified background.png inside the folder. So, you need to put that file "Worldman4.png" inside the img/menuBackgrounds folder.

You should consider that both folder and filename are case sensitive. So they need to match exactly each letter, upper and lowercase.
1726158541883.png


Did you create the menuBackground folder inside the img folder?
If yes, can you show me a screenshot of the folder, something like I did above?

I will send a screenshot of the problem soon once i manage to recreate the crash.
as for plugin commands, when i opened the plugin command tab inside the event menu. your plugin simply was not listed as an option
- I will add this feature then!
The problem here is that the plugin is not finding the specified background.png inside the folder. So, you need to put that file "Worldman4.png" inside the img/menuBackgrounds folder.

You should consider that both folder and filename are case sensitive. So they need to match exactly each letter, upper and lowercase.
View attachment 317615

Did you create the menuBackground folder inside the img folder?
If yes, can you show me a screenshot of the folder, something like I did above?


- I will add this feature then!
I'll create the proper menuBackgrounds folder in the game then. I find it a little odd that it prompts me to select a file from the battlebacks 1 folder but i suppose it doesn't matter that much since i know what to do now. Thank you!
I'll create the proper menuBackgrounds folder in the game then. I find it a little odd that it prompts me to select a file from the battlebacks 1 folder but i suppose it doesn't matter that much since i know what to do now. Thank you!
Yeah, it prompts you the battlebacks 1 folder, probably because you didn't create the menuBackground folder. I guess battlebacks 1 folder is the one that opens on the plugin parameter when the maker cannot find the proper folder.
Yeah, it prompts you the battlebacks 1 folder, probably because you didn't create the menuBackground folder. I guess battlebacks 1 folder is the one that opens on the plugin parameter when the maker cannot find the proper folder.
Good to know, maybe you should add a note in the requirements section of the plugin help tab to create the proper folder. Unless that's already in there somewhere and i'm just blind ^^;
I was going to look, but...am I blind? The product page (linked by caethyril above) has a link to download the MZ sample project, or purchase the pro version of the plugin; but the sample project doesn't have any Background Manager plugin in it.

1726162481269.png
I was going to look, but...am I blind? The product page (linked by caethyril above) has a link to download the MZ sample project, or purchase the pro version of the plugin; but the sample project doesn't have any Background Manager plugin in it.

View attachment 317626
I personally just directly bought the plugin as the dev seemed like a trustworthy one and 8 bucks isnt much to spend on my project, at least for me. I don't see the need to take a second look at the plugin though as it does work now, all that's left is the update eliaquim said they would add.

​

Good to know, maybe you should add a note in the requirements section of the plugin help tab to create the proper folder. Unless that's already in there somewhere and i'm just blind ^^;
- Yes, it is there on the help file ^^''
1726164150578.png

I was going to look, but...am I blind? The product page (linked by caethyril above) has a link to download the MZ sample project, or purchase the pro version of the plugin; but the sample project doesn't have any Background Manager plugin in it.

View attachment 317626
- Yes, that is correct. Since it is a paid plugin, the plugin file itself does not come inside the sample project, because the sample project is free. Only the free plugins come on the sample project plugin folder.
But, all the paid plugins are already configured on the plugin manager of the sample project, but they are deactivate.
When someone brough a paid plugin, they should drag and drop that plugin inside the sample project, and then just activate it, set to ON, on the plugin manager.

If I don't do that, well, the paid plugins would be all free inside the sample project xD
I personally just directly bought the plugin as the dev seemed like a trustworthy one and 8 bucks isnt much to spend on my project, at least for me. I don't see the need to take a second look at the plugin though as it does work now, all that's left is the update eliaquim said they would add.

​

- Thanks for the words ^^
I will do this update and let you know!
- Yes, that is correct. Since it is a paid plugin, the plugin file itself does not come inside the sample project, because the sample project is free. Only the free plugins come on the sample project plugin folder.
Then I suggest the product page is set up confusingly.

It looks to me like there is a free version in the sample project, then a pro version for $8.

If there's no free version, I don't think there's any reason to be providing links to the sample project on that page.

But maybe that's just me having too few brain cells 😀
@BeanmanBowen I took a look into the plugin and remembered why I didn't add this feature as an option: There is a way for you to achieve that with the current plugin version.

On the plugin parameters, specifically on the Background List, you can setup a condition for a background to show by using javascript:
1726175238614.png

The idea is, that you can create as many backgrounds as you want. And inside game, you just need to fulfill the condition to make the background appear.

For example:

return $gameVariables.value(20) === 3

This would make the background appear if the variable 20 has a value equal to 3.
I believe that could work for you.

If not, let me know that I will add a plugin command so you can create a background by using it.

Original thread: https://forums.rpgmakerweb.com/threads/changing-a-menu-background-in-game.171852/