Hey folks,
So I'm creating a custom menu scene in one of my plugins, but when I go to .push the scene, the background goes completely black instead of blurring.
Is there perhaps something that I am missing?
I'm using the standard structure so I figured the blurred background would follow through with the prototype.
So I'm creating a custom menu scene in one of my plugins, but when I go to .push the scene, the background goes completely black instead of blurring.
Is there perhaps something that I am missing?
I'm using the standard structure so I figured the blurred background would follow through with the prototype.
function Levels_Menu() {
this.initialize.apply(this, arguments);
}
Levels_Menu.prototype = Object.create(Scene_Base.prototype);
Levels_Menu.prototype.constructor = Levels_Menu;
Levels_Menu.prototype.initialize = function() {
Scene_Base.prototype.initialize.call(this);
};
Levels_Menu.prototype.create = function() {
Scene_Base.prototype.create.call(this);
this._titleWindow = new Title_Window(0, 0, Graphics.boxWidth, Graphics.boxHeight / 6);
this.addChild(this._titleWindow);
}
Levels_Menu.prototype.update = function() {
if(!this.drawnWindows) {
this._titleWindow.drawAllItems();
this.drawnWindows = true;
}
}
function Title_Window() {
this.initialize.apply(this, arguments);
}
Title_Window.prototype = Object.create(Window_Base.prototype);
Title_Window.prototype.constructor = Title_Window;
Title_Window.prototype.initialize = function(x, y, width, height) {
Window_Base.prototype.initialize.call(this, x, y, width, height)
this.drawAllItems();
}
Title_Window.prototype.drawAllItems = function() {
this.contents.clear();
this.drawText("Skill Levels", (Graphics.boxWidth / 2) - 100, (Graphics.boxWidth / 6) / 2, 200);
}