rivelle

Villager
Member
Joined
Jan 16, 2023
Messages
26
Reaction score
2
First Language
English
Primarily Uses
RMMZ
Is there a way to change their colors?
I know it's not in the parameters, but I was hoping someone knows if I can code them in somehow?

I'm talking about this plugin:
 

Attachments

  • PrettySleekGauges.js
    36.3 KB · Views: 0

ATT_Turan

Forewarner of the Black Wind
Regular
Joined
Jul 2, 2014
Messages
12,574
Reaction score
11,040
First Language
English
Primarily Uses
RMMV
Just a couple of notes:
1 - If you have a question about a specific plugin, it always makes sense to post in the thread for that plugin. That's where you're going to possibly contact the author(s) and any users who are following the thread because they use the plugin.

2 - You should generally link to the thread or other download site rather than repost the plugin in your own thread. Many authors have rules in their terms of use that prohibit others distributing their work.

If you open the plugin in a text editor, the colors used are defined in the drawStaticGauge and drawAnimatedGauge functions. If you search for it, you'll find for example line 487:
Code:
this.drawStaticGauge(x, y, width, rate, this.textColor(0), this.textColor(8), "exp");

You can see the 5th and 6th arguments are the start and end colors the gradient is made from. If you use the textColor function like that, it's referencing the colors in your Window.png file.

All of the different gauges are right around there, you can scroll up a screen and see drawing HP, MP, etc.
 

Shaz

Keeper of the Nuts
Global Mod
Joined
Mar 2, 2012
Messages
46,153
Reaction score
16,970
First Language
English
Primarily Uses
RMMV

I've moved this thread to Plugin Support. Thank you.



I also confirm points 1 and 2 in the answer above.
 

Latest Threads

Latest Profile Posts

Screenshot saturday!

Granny's home

Happy weekend all

home.png
Would an older woman be eligible for Blondus points?
Or is that a privilege exclusive to the youngsters?
Lindsey-Neutral.png
Another One.gif
Sometimes screenshot saturday is just a new enemy
Update: Coworker sabotaged the truck's mirrors by applying a threadlocking compound to the bolts used to adjust the mirrors. Now NO ONE can adjust them. So I filed a legit report of sabotage of equipment to leadership and declared that I cannot safely operate the vehicle if I can't see what needs to be seen. So the truck has to go to the shop for repair, and we need a substitute vehicle. Nice work, dude :p
1701524304115.png
Part of growing up is finding out that love hurts.
"I signed up for this heartbreak."

Forum statistics

Threads
136,687
Messages
1,268,776
Members
180,394
Latest member
Shaltai
Top