MV SRD Menu Backgrounds (or something similar)

Hello, I am making some menus and using a background image for the menu backgrounds.
However, I would still like the map to show through underneath. Whenever I use a png the space is filled with black rather than showing the map. (mog hunter backgrounds does the same thing)
make the png the size of of the window, the best way is to implement that
in the plugin itself to draw teh background so it can show the map part.

similair to my MenuCustomiser that has that, and evented main menu.
as MrTs and MOG's doesn't support it some how.

so target the size alone, implementing a background is fairly easy.
my SSBG plugin that target the savescene, that tiny part that draws the
background can be used in mostly all plugins to draw a custom background.

altMenu3 I believe (dlc of MV) can allow menu backgrounds as well, not
sure if that helps, but it also has a small bug, easy to fix.
make the png the size of of the window, the best way is to implement that
in the plugin itself to draw teh background so it can show the map part.

similair to my MenuCustomiser that has that, and evented main menu.
as MrTs and MOG's doesn't support it some how.

so target the size alone, implementing a background is fairly easy.
my SSBG plugin that target the savescene, that tiny part that draws the
background can be used in mostly all plugins to draw a custom background.

altMenu3 I believe (dlc of MV) can allow menu backgrounds as well, not
sure if that helps, but it also has a small bug, easy to fix.
Hi.
I think I'm sort of following what you're saying.
So there is no plugin that does this already, and I would need to edit one or make one of my own to get this effect?

I will try Alt Menu 3 as well. and get back.
[EDIT]
It seems AltMenu3 isn't very compatible with SRD Supertools (for menu manipulation)
I dont know if it need to be above or below SRD_SuperToolsEngine.
but what menu plugin are you currently using?
I dont know if it need to be above or below SRD_SuperToolsEngine.
but what menu plugin are you currently using?
Yeah I did try above and below.
I'm using Srd_menubackgrounds for consistency sake. Shame it didn't have this feature.
I mean menu plugin, not background, which means, you go with
default menu?

I think the black part is because of the TilingSprite?

what you can do, go into the SRD_MenuBackgrounds and find this function
and change it to the following:
JavaScript:
_.Scene_MenuBase_createBackground = Scene_MenuBase.prototype.createBackground;
Scene_MenuBase.prototype.createBackground = function() {
    if(_.backgrounds[this._menuBackgroundConstructorName]) {
        this._backgroundSprite = new Sprite(); //new TilingSprite();
        this._backgroundSprite.anchor.x = 0.5;

keep in mind that it is only a part of the code, where I change and
rule out "new Tilingsprite()" and set "new Sprite()" which should
take transparant with it (as it works for me at least).

if it does not work, I can give you a snippet that let you change the background
of the scene by implimenting it into the plugin or use it over and over for
each scene, (might not be as clean as the plugin creators) but it works at least.

I can create a plugin to take effect that hopefully 🙂
I mean menu plugin, not background, which means, you go with
default menu?

I think the black part is because of the TilingSprite?

what you can do, go into the SRD_MenuBackgrounds and find this function
and change it to the following:
JavaScript:
_.Scene_MenuBase_createBackground = Scene_MenuBase.prototype.createBackground;
Scene_MenuBase.prototype.createBackground = function() {
    if(_.backgrounds[this._menuBackgroundConstructorName]) {
        this._backgroundSprite = new Sprite(); //new TilingSprite();
        this._backgroundSprite.anchor.x = 0.5;

keep in mind that it is only a part of the code, where I change and
rule out "new Tilingsprite()" and set "new Sprite()" which should
take transparant with it (as it works for me at least).

if it does not work, I can give you a snippet that let you change the background
of the scene by implimenting it into the plugin or use it over and over for
each scene, (might not be as clean as the plugin creators) but it works at least.

I can create a plugin to take effect that hopefully 🙂
Thank you for trying to help!
I do use yanfly main menu manager plugin as well if that's what you're referring to.
The code you gave me produces an error for me (assuming I am implementing it correctly)
from what I can tell you're changing just one line?

Code:
this._backgroundSprite = new TilingSprite();
to
Code:
this._backgroundSprite = new Sprite(); //new TilingSprite();

I get an error.
than it's best to impliment the background instantly into the plugin
to create the backgrounds as that works with transparant images.

this is just an example, so you need to place it inside the plugin and
place it inside the create function:

JavaScript:
        this._function1.opacity = 0;
        this._function2.opacity = 0;
        this._function3.opacity = 0;
        this._function4.opacity = 0;
        this._function5.opacity = 0;
};

The function Name can be found on what function it create, so you need
to check how it is called to make the window.opacity to 0, to make the
window skin window transparant.

the next code is place under the create function.
JavaScript:
ALIAS_FUNCTION.createBackgrounds = Scene_Equip.prototype.createBackground;
Scene_Equip.prototype.createBackground = function() {
    ALIAS_FUNCTION.createBackgrounds.call(this);
        this._backgroundSprite = new Sprite();
        this._backgroundSprite.bitmap = ImageManager.loadPicture("Scene_Equip");
        this.addChild(this._backgroundSprite);
        return;
};

ALIAS_FUNCTION is the name of the plugin that uses it, so replace those.
as if you just copy paste this, it will throw out the error.

Name the background image to your liking, change Scene_Equip
to the proper name of the scene you want to change.

you can use this methode in each plugin to change the background easely,
which I use too.

this is garanteed that it is working 🙂
than it's best to impliment the background instantly into the plugin
to create the backgrounds as that works with transparant images.

this is just an example, so you need to place it inside the plugin and
place it inside the create function:

JavaScript:
        this._function1.opacity = 0;
        this._function2.opacity = 0;
        this._function3.opacity = 0;
        this._function4.opacity = 0;
        this._function5.opacity = 0;
};

The function Name can be found on what function it create, so you need
to check how it is called to make the window.opacity to 0, to make the
window skin window transparant.

the next code is place under the create function.
JavaScript:
ALIAS_FUNCTION.createBackgrounds = Scene_Equip.prototype.createBackground;
Scene_Equip.prototype.createBackground = function() {
    ALIAS_FUNCTION.createBackgrounds.call(this);
        this._backgroundSprite = new Sprite();
        this._backgroundSprite.bitmap = ImageManager.loadPicture("Scene_Equip");
        this.addChild(this._backgroundSprite);
        return;
};

ALIAS_FUNCTION is the name of the plugin that uses it, so replace those.
as if you just copy paste this, it will throw out the error.

Name the background image to your liking, change Scene_Equip
to the proper name of the scene you want to change.

you can use this methode in each plugin to change the background easely,
which I use too.

this is garanteed that it is working 🙂
Thank you for your time and for trying to help. but this seems a bit too advanced for me.
I was hoping there would already be a plugin available that would use background images with transparency.

I may have to commission someone or do a plugin request if this doesn't exist.
implimenting in the plugin itself makes it transparant,
the plugin I tried always leaves to black packground somehow.

adding it to the plugin is relative easy, I dont mind helping you
with that part so it always draw the background.

it's either black or full resolution size background.
if part of it, impliment it with the code above.
implimenting in the plugin itself makes it transparant,
the plugin I tried always leaves to black packground somehow.

adding it to the plugin is relative easy, I dont mind helping you
with that part so it always draw the background.

it's either black or full resolution size background.
if part of it, impliment it with the code above.
Sure, thank you!
If you think you can implement it directly into the plugin that would be great!

I'm ok with a fully transparent background if that's possible. (showing the map underneath the ui)

Here's a link to the file of the plugin.
with directly into the plugin is not the background plugin 🙂
for example, if you want a background on a custom scene item plugin,
that we need to use that one to impliment it.

for default, it might not work, unless you take the entire part I think,
as I dont see how it could be done otherwise.

if you have rpgmv on steam, there is an AltMenuScreen3, but it has an issue
as well, it depends what plugins for what scenes you use.

I cant help you directly this day or tomorrow, but can on monday.
unless you manage to do it on your own or an advanced coder that knows
how to make black dissapear.

I believe there was a way for that though, something to with PIXI and canvas.
but I need to search for that part, or check forum who had that issue.
with directly into the plugin is not the background plugin 🙂
for example, if you want a background on a custom scene item plugin,
that we need to use that one to impliment it.

for default, it might not work, unless you take the entire part I think,
as I dont see how it could be done otherwise.

if you have rpgmv on steam, there is an AltMenuScreen3, but it has an issue
as well, it depends what plugins for what scenes you use.

I cant help you directly this day or tomorrow, but can on monday.
unless you manage to do it on your own or an advanced coder that knows
how to make black dissapear.

I believe there was a way for that though, something to with PIXI and canvas.
but I need to search for that part, or check forum who had that issue.
A background plugin is fine too!
Whatever you think will work haha

Honestly the fact that you're trying to help is enough.
Whenever you get some time or a chance I would be grateful.
Monday, I can impliment the code into the plugins directly for you,
if you want a seperate plugin, or a modification in 1 of the background plugins
that exist, than someone else need to do that with more knowledge.

I keep it more to a bit basics and small modification I can do better (for now).
so if no-one helped you before that, DM me with the plugins or link to it
where you want a background on it, and I fix that for you.
Monday, I can impliment the code into the plugins directly for you,
if you want a seperate plugin, or a modification in 1 of the background plugins
that exist, than someone else need to do that with more knowledge.

I keep it more to a bit basics and small modification I can do better (for now).
so if no-one helped you before that, DM me with the plugins or link to it
where you want a background on it, and I fix that for you.
I will wait until Monday then and send you a DM with more information!
DM me with the plugin, where you want a background in it.
and will fix that for you, with the edits that you can do after.
so it can fit your needs.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/srd-menu-backgrounds-or-something-similar.150626/