public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

MZ Help with changing Menu Backgrounds

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: MZ Help with changing Menu Backgrounds
  • Original author: Bejon
  • Original date: December 30, 2024
  • Source thread: https://forums.rpgmakerweb.com/threads/help-with-changing-menu-backgrounds.174283/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Javascript/Plugin Support

Summary

I'm trying to make a plugin to change the background of the default menu, based on a solution to a menu background problem from another thread: Scene_MenuBase.prototype.createBackground = function() { let pictureName = "Untitled"; if (!pictureName) {

Archived First Post

I'm trying to make a plugin to change the background of the default menu, based on a solution to a menu background problem from another thread:
Scene_MenuBase.prototype.createBackground = function() {

let pictureName = "Untitled";

if (!pictureName) {
// This is the fallback image when the code doesn't know which to show
pictureName = "ErrorPicture";
}

const bitmap = ImageManager.loadPicture(pictureName);
this._backgroundSprite = new Sprite(bitmap);

// stretch picture to screen size
bitmap.addLoadListener(() => {
this._backgroundSprite.scale.x = Graphics.width / bitmap.width;
this._backgroundSprite.scale.y = Graphics.height / bitmap.height;
});
this.addChild(this._backgroundSprite);
}
With "Untitled" being the name of the background a made.
However, when testing, it doesn't seem to work, and nothing changes. I made sure to add this plugins alongside the others, and the background is in the pictures folder, so I'm wondering if it's something wrong with the code or something else.

For context I want to create a simple menu similar to these:
View attachment 327379View attachment 327380

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#js-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar