public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Changing a font color in a Plugin

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Changing a font color in a Plugin
  • Original author: Random Panda
  • Original date: August 20, 2016
  • Source thread: https://forums.rpgmakerweb.com/threads/changing-a-font-color-in-a-plugin.67123/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Learning Javascript

Summary

Hello, I'm trying to change a small section of a plugin. I would like to make the font displayed in this part a different color. I had some help changing the Font size last night and hopfully you guys can help me here as well.  My knowledge of coding is somewhere between noob and intermediate ( i know enough to understand how it works, but I don't necessarily know what to write when I need to make it do something).  If anyone can help with any ideas, advice, or relevant...

Archived First Post

Hello, I'm trying to change a small section of a plugin. I would like to make the font displayed in this part a different color. I had some help changing the Font size last night and hopfully you guys can help me here as well.  My knowledge of coding is somewhere between noob and intermediate ( i know enough to understand how it works, but I don't necessarily know what to write when I need to make it do something).  If anyone can help with any ideas, advice, or relevant tutorials I would great appreciate it. I tried the code below but it just turned it black no matter what number I use. I'm not sure if anything else would be needed for color. Any help would be greatly appreciated. I have also attached a screen shot. Thanks in advance.


BattleResult.prototype.createActorName = function() {
this._name = new Sprite(new Bitmap(140,60));
this._name.opacity = 0;
this._name.bitmap.textColor = 6;
this._name.bitmap.fontSize = 48;
this._name.bitmap.drawText(this._actor._name,0,0,140,60);
this._name.x = Moghunter.bresult_name_x;
this._name.y = Moghunter.bresult_name_y;
this.addChild(this._name);
};

Protected download

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

Referenced Images / Attachments

Untitled-1.jpg
Untitled-1.jpg
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#js-learning

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar