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,896
Reaction score
6,699
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,035
Reaction score
16,845
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 Posts

Latest Profile Posts

This could probably be an entire thread, but it’s really interesting how replaying a game several years later can change how you relate to a character. I think Tidus from FFX got such a bad rap. I getchu. Completely different reaction as an adult now.
As you see, I still enjoy writing tutorials. Is there anything specific you want to see? (I know mapping and editing/resource making is usually popular, but those are very broad topics)
Well, I wanted to expand player battlers visually and now have 3 sheets and counting for each of my players party.
1. Regular sheet
2. The character has turned stone sheet.
3. Using potions sheet.

Technically the main hero has 4 since he starts with a wooden sword, and I felt that the battler should reflect that until he gets a metal one.

Right back to the RM game dev grind in about 15 minutes. :LZSexcite:
Days ago I gave someone the sage advice not to steer away from your main project or take up another one to abandon the first. After figuring a way that would save me years of development, I am forced to redo a lot of stuff on my own turf, near to remake half of what I have already made.
Somewhere down the line I must have crossed paths with bad karma.
:kaomad2:

Forum statistics

Threads
131,733
Messages
1,222,754
Members
173,483
Latest member
Lumaru
Top