Yanfly's Battle system - Changing the size of health/mana bars?

sv4tiPU.png


I would just like to change their size, push them to the bottom of their respective area and such.
Perhaps a quick mock up would help, as it's not totally clear what you mean by being at the bottom of "their respective area".  They are already at the bottom of the face image.  And by how much do you want to change their size?
Sorry, I should have had better wording and an image to show what I want already:

25z8EU5.png


Basically I would like something like that, making it more visually distinctive and also shows more of the portrait.
Maybe you want the HP and MP bars resized?

If it is that, find the YEA-Battle -> Window_BattleStatus -> draw_actor_hp and YEA-Battle -> Window_BattleStatus -> draw_actor_mp methods.

The first line should be something like :

draw_gauge(..., width, ...)

Replace that with

draw_gauge_with_height(..., width, 4, ...)

And do that in both methods.

And then add the following lines before both of the methods :

  def draw_gauge_with_height(x, y, width, height, rate, color1, color2)    fill_w = (width * rate).to_i    gauge_y = y + line_height - 8    contents.fill_rect(x, gauge_y, width, height, gauge_back_color)    contents.gradient_fill_rect(x, gauge_y, fill_w, height, color1, color2)  endThat should work.

You can change the height of the HP and MP bars by changing that 4 to anything you want

However, this does not allow you to resize the font of the "HP" and "MP" text.
thank you, that works.

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-battle-system-changing-the-size-of-health-mana-bars.43230/