[for a commercial game] More HP colors!



Hey thanks for the plugin! However it doesn't seem to work too well with Pretty Gauges. Also is there any way to get it affect Yanfly's Visual HP Gauges?

bar_Color_Test.jpg
@StarWarrior00,


It wasn't intended to work with either of them, but I'll take a look at it little later.
@StarWarrior00,


It wasn't intended to work with either of them, but I'll take a look at it little later.


So you can get it to work that way then? If you can, please do! I'd appreciate it! 😀
@Mr. Trivel

Hey, have you looked into this yet?
Bump
Bump
@StarWarrior00,


I looked at it, and there's no easy way to alias the methods I need for my plugin to work with pretty gauges.


Instead, I just edited the Pretty Gauges themselves, hope @Rocketmancer won't mind.


And here's the result:


[IMG]http://puu.sh/o8snB/234805f7b1.png[/IMG]


Colors used in example:


HP: #ff0000 #f1913c #dffc1d #3bbd48 #1f8304


MP: #f19aea #dab5eb #7f85fe #3800a9


TP: #ffffff #7a7a7a #000000


Set colors in Plugin Parameters:


[IMG]http://puu.sh/o8sLH/fb133e760f.png[/IMG]


Plugin link:


http://puu.sh/o8sMU/95a7490252.txt
@Mr. Trivel

Works perfectly, thanks!

Now what about Yanfly's Visual HP Gauges? It still doesn't have any effect on that.
@StarWarrior00,


Right, add this method at the end of the end of the file:


Window_VisualHPGauge.prototype.drawGauge = function(dx, dy, dw, rate, color1, color2) {
this._color3 = hpColor1.split(' ');
Window_Base.prototype.drawGauge.call(this, dx, dy, dw, rate, color1, color2, this._color3);
this._color3 = null;
};


Example:


[IMG]http://puu.sh/o8uq9/41d01c66f2.png[/IMG]


And make sure Pretty Gauges plugin is below Yanfly's Enemy HP plugin.
@Mr. Trivel Done, works perfectly thanks!

Now just one question. What are the "Color 2" options for?
@StarWarrior00,


With my changes - they only do stuff when there's a single color in hpColor1/mpColor1/tpColor1.

Original thread: https://forums.rpgmakerweb.com/threads/for-a-commercial-game-more-hp-colors.54781/