Hi guys xD !
Its me again x).
I need your help for resize and update position of Window_Help.
My code :
EDIT : In my Scene ^^
Why my code not work ?
Thanks for your reply ^^
Its me again x).
I need your help for resize and update position of Window_Help.
My code :
Code:
function Window_HelpSynthesis(){
this.initialize.apply(this, arguments);
}
Window_HelpSynthesis.prototype = Object.create(Window_Help.prototype);
Window_HelpSynthesis.prototype.constructor = Window_HelpSynthesis;
Window_HelpSynthesis.prototype.initialize = function(numLines){
var x = 0;
var y = 100;
var width = 300;
var height = this.fittingHeight(numLines || 4);
Window_Help.prototype.initialize.call(this, x, y, width, height);
this._text = '';
};
Code:
Scene_Synthesis.prototype.createHelpSynthesisWindow = function(){
this._window_helpSynthesis = new Window_HelpSynthesis();
this.addWindow(this._window_helpSynthesis);
};
Why my code not work ?
Thanks for your reply ^^