- Joined
- Feb 3, 2019
- Messages
- 529
- Reaction score
- 275
- First Language
- thai
- Primarily Uses
- RMMV
hi
I edit some simple plugin to create hud
http://gameface101.forumotion.com/t2037-simple-hud-plugin
but found out that it's use same window layer as show text hud
can I change it's layer or insert it in another layer
because I want to use the show choice for player
and it just blend with my hud
thank you

I edit some simple plugin to create hud
http://gameface101.forumotion.com/t2037-simple-hud-plugin
but found out that it's use same window layer as show text hud
can I change it's layer or insert it in another layer
because I want to use the show choice for player
and it just blend with my hud
thank you
Code:
//--------------------------------------------------------------------------------
// Window HUD
//--------------------------------------------------------------------------------
function Window_HUD() { // Set function call initialize before object is created.
this.initialize.apply(this, arguments);
}
// Inherit parrent class functions.
Window_HUD.prototype = Object.create(Window_Base.prototype);
Window_HUD.prototype.constructor = Window_HUD;
// class variables
//------------------------------------------
// Initialize Window HUD object
//------------------------------------------
Window_HUD.prototype.initialize = function(x, y) {
Window_Base.prototype.initialize.call(this, 0, 0, Graphics.boxWidth, 480);//Graphics.boxHeight); // *super()
//this.opacity = 0;
this._updateWait = 0;
this.refresh(); // refresh window contients.
this.activate(); // *@active = true
};

