Hello -- quick question. I am playing around with Moghunter's Battle HUD and the Visustella Battle Core. I was hoping someone could figure out what is causing the Actor's Name to not appear in my game's font, as seen in the below screenshot:
Link to Plugin: https://atelierrgss.wordpress.com/rmz-battle-hud/
I toggled the Battle HUD and Battle Core on and off to determine which plugin is causing the issue, and it seems that Battle HUD is the culprit (the name appears in the correct font when Battle Core is running alone, and in the incorrect font when Battle HUD is running either alone or with Battle Core). I also went through the Battle HUD plugin code and found the following sections that appear to reference font size, etc., but none that explicitly reference the font. I played around with disabling certain parts of them, but I couldn't figure out the cause of the issue.
If anyone could point me in the right direction to fix this, it would be much appreciated! Thanks!
Link to Plugin: https://atelierrgss.wordpress.com/rmz-battle-hud/
I toggled the Battle HUD and Battle Core on and off to determine which plugin is causing the issue, and it seems that Battle HUD is the culprit (the name appears in the correct font when Battle Core is running alone, and in the incorrect font when Battle HUD is running either alone or with Battle Core). I also went through the Battle HUD plugin code and found the following sections that appear to reference font size, etc., but none that explicitly reference the font. I played around with disabling certain parts of them, but I couldn't figure out the cause of the issue.
JavaScript:
// NAME POSITION
Moghunter.bhud_name_visible = String(Moghunter.parameters['Name Visible'] || true);
Moghunter.bhud_name_font_size = Number(Moghunter.parameters['Name Font Size'] || 20);
Moghunter.bhud_name_font_bold_size = Number(Moghunter.parameters['Name Bold Size'] || 4);
Moghunter.bhud_name_font_italic = String(Moghunter.parameters['Name Font Italic'] || false);
Moghunter.bhud_name_align = Number(Moghunter.parameters['Name Align'] || 1);
Moghunter.bhud_name_pos_x = Number(Moghunter.parameters['Name X-Axis'] || -25);
Moghunter.bhud_name_pos_y = Number(Moghunter.parameters['Name Y-Axis'] || 65);
...
//==============================
// * Create Name
//==============================
Battle_Hud.prototype.create_name = function() {
if (String(Moghunter.bhud_name_visible) != "true") {return};
this.removeChild(this._name);
if (!this._battler) {return};
this._name = new Sprite(new Bitmap(200,48));
this._name.x = this._pos_x + Moghunter.bhud_name_pos_x;
this._name.y = this._pos_y + Moghunter.bhud_name_pos_y;
this._name.bitmap.fontSize = Number(Moghunter.bhud_name_font_size);
if (String(Moghunter.bhud_name_font_italic) === "true") {this._name.bitmap.fontItalic = true};
this._name.bitmap.outlineWidth = Number(Moghunter.bhud_name_font_bold_size);
this.addChild(this._name);
this.refresh_name();
};
//==============================
// * Refresh Name
//==============================
Battle_Hud.prototype.refresh_name = function() {
this._name.bitmap.clear();
var align = "left"
if (Moghunter.bhud_name_align === 1) {
var align = "center"
} else if (Moghunter.bhud_name_align === 2) {
var align = "right"
};
this._name.bitmap.drawText(this._battler._name, 0, 0, this._name.bitmap.width, this._name.bitmap.height,align);
};
If anyone could point me in the right direction to fix this, it would be much appreciated! Thanks!