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
Veteran
Joined
Jul 2, 2014
Messages
8,718
Reaction score
6,537
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
45,990
Reaction score
16,776
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

Ooops ended up trying out making my own A2 tile page instead of testing doors everywhere. Went well so far I think.
I guess I'm done making a blue squirrel's life difficult for posting new threads on different forums.
That's just for today so don't get used to this, squirrel-ish friend! :p
Got new hard drive, now trying to install the softwares I lost to the dead drive, and more than half of them won't install because they're already installed on the dead drive, and uninstallers won't run because they can't find where their programs are installed. So I take it having a drive die on you screws you in more ways than just data loss. >:\
PC got fixed finally. Back online again. Turns out I have no business trying to self repair pcs because it was getting to like 176F / 80C. Shop installed a totally new cooling system and now it runs fine and is super quiet.
When you're making major progress, but have to stop to go to work.

Forum statistics

Threads
131,487
Messages
1,220,216
Members
173,225
Latest member
ZecaVn
Top