Align "Display Name" to the Center? (SOLVED)

TheGeekyDead

Villager
Member
Joined
Jan 19, 2013
Messages
10
Reaction score
1
First Language
en
Primarily Uses
I love the default Map Name, that pops up as you enter an area. but it's far left over the other HUD items and looks bad.


Can i align it center, or is it locked there?
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Window_MapName.prototype.initialize = function() {
var wight = this.windowWidth();
var height = this.windowHeight();
Window_Base.prototype.initialize.call(this, (Graphics.width - wight) / 2, 0, wight, height);
this.opacity = 0;
this.contentsOpacity = 0;
this._showCount = 0;
this.refresh();
};


Save that into a new file in your js/plugins folder.  Name doesn't matter, needs to have .js extension.  Then add to plugin manager.
 

TheGeekyDead

Villager
Member
Joined
Jan 19, 2013
Messages
10
Reaction score
1
First Language
en
Primarily Uses
Window_MapName.prototype.initialize = function() {
var wight = this.windowWidth();
var height = this.windowHeight();
Window_Base.prototype.initialize.call(this, (Graphics.width - wight) / 2, 0, wight, height);
this.opacity = 0;
this.contentsOpacity = 0;
this._showCount = 0;
this.refresh();
};


Save that into a new file in your js/plugins folder.  Name doesn't matter, needs to have .js extension.  Then add to plugin manager.


Wow thanks that did it, it was bugging me. I would think it had an option somewhere to do this.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,074
Members
137,578
Latest member
JamesLightning
Top