Help in changing the text color.

Magusalfador

Veteran
Veteran
Joined
Jun 15, 2014
Messages
209
Reaction score
36
First Language
English Spanish
Primarily Uses
Hi all!

Im using Mog Hunters Battle hud:
https://atelierrgss.wordpress.com/rmv-battle-hud/

The plug in draws the name of my actors, what I want is to change the color of the names, in this case "Keith" and "Bree".

The line that draws the name is
Code:
this._name.bitmap.drawText(this._battler._name, 0, 0, this._name.bitmap.width, this._name.bitmap.height,align);
Can you help me?

Thanks!!!
 

Attachments

Gamefall Team

Nebula Games Leader
Veteran
Joined
Jan 10, 2017
Messages
345
Reaction score
437
First Language
Italian
Primarily Uses
RMMV
Add this line before the drawText method:

Code:
this._name.bitmap.textColor = "your_hex_color";

Example:

this._name.bitmap.textColor = "#ff0000"
 

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

Latest Threads

Latest Posts

Latest Profile Posts

I hope you all are keeping safe. <3 If you need a shoulder or an ear, I have two of both and am more than willing to listen & support you! Times are weird.
My dad, super frustrated by seclusion, asking me how I live like this. I shrug. "It helps to not like what is outside."
Apparently it's not just people who are hit by corona virus. My phone has set itself to English language on its own. Not that I'm complaining... :D
I got a new computer and can't find my product activation key for MV, what do I do ;-;
buinguyenhoangtho wrote on fizzly's profile.
Hello @fizzly, i would like to use your asset/ resource for my project ( is maybe commercial ). May i have your permission? Thanks you !

Forum statistics

Threads
95,443
Messages
929,161
Members
125,681
Latest member
Diputus
Top