Bars with Variables

Hi everyone, I'm looking for a Plugin that is more similar to Kuro's Any Bar, but updated as a plugin for MV. The idea is that bars can be created to be read of values you input or read with variables. They would also be customized for size, color, background, opacity, x, y, and z. I want to make a survival RPG game and this is very crucial for me to have inorder to make a display Hub of my own, to read vitals for such things as hunger, thirst, sleep, and well really anything.
If it is similar to an existing script, please post a link to it.
This is the Link for the RPG Maker VX Ace Script by Kuro: http://forums.rpgmakerweb.com/index.php?/topic/40919-kuro-any-bar/?hl=kuro
Hi everyone, I'm looking for a Plugin that is more similar to Kuro's Any Bar, but updated as a plugin for MV. The idea is that bars can be created to be read of values you input or read with variables. They would also be customized for size, color, background, opacity, x, y, and z. I want to make a survival RPG game and this is very crucial for me to have inorder to make a display Hub of my own, to read vitals for such things as hunger, thirst, sleep, and well really anything.
How you should manage junger, sleep and such things?
Bump
Similar to this?

Spoiler
Dash_zpsn5lhru61.png


bars_zpsukufpiiz.png
You would have to supply what variables you want to display though.

Here is to hoping someone else is making this script so I don't have to finish it.
I would hate to make this and then someone posts one right when I'm done.
Yes, that's exactly the type im looking for to be able to get the bars to display, read, and update as in your 2nd picture, so i can just draw a Hud of my own to display around it, unless you can have it add to read the values next to it such as Var1 / Var2 or var1 / set value such as "100"
Something like this?

I am a little confused.

Spoiler
sleep_zpsx4fbnqrk.png
My apologies I meant to have it display next to the bar the variables values, such as if variable 1 = 76 and variable 2 = 100, then the display next to the bar will display var1 / var2 so it would read 76/100 and the bar would look 3/4 filled, if that helps describes it a little more
Something like this?

Spoiler
bars2_zpsyl2ywfb6.png
Or more like this?

Spoiler
bars4_zpsiim6pgr3.png
Edit 2: And make the bars height and width custom too?

Spoiler
bar6_zpsgaywujle.png
Exactly like the 2nd edit, sorry for the long wait I was at work, But yes that is really close to what the original script was, is the text customizable more so that you can you can control the X and y for the text and the bars for location?
Ok, so I might have made what you wanted. I guess I could ass it so there can be up to a certain number of bars.
Only problem is that you have to supply the variable. I have no what of know what variable you want or where it is saved in the database. So that part is left up to the user.
Take a look at these screen shots please. Let me know what you think

Purple bar in the middle left of the screen.

Spoiler
mega1_zps532ayy8j.png
Spoiler
mega2_zpswn8ugktc.png
Red bar bottom middle.

Spoiler
mega3_zpsr5az9f8u.png
Spoiler
mega4_zpslgcwjgvr.png
The variable part I figured out on the last one, and could probably find the call to set it as that, and then I use a parallel processed event to keep the variable up to date at all times, so the bar should change accordingly I believe. But I believe you have made what it was I was looking for.
Here is the current script.
If you need help or troubleshooting let me know.

If a bar isn't displaying then it is probably being drawn off screen! You have to take into account the padding.

http://pastebin.com/GmmqPB6n

Again if there is any bugs or you want things expanded or explained let me know. Especially the part where you put in your own variables.

Thanks,
I tried creating the JS file for this and I try clicking new game to test and I keep getting "Failed to execute 'getImageData' on 'CanvasRenderingContext2D': float parameter 1 is non-finite. Anything I've tried changing for the values on drawing the bar doesn't change it 🙁
I will check on this in the morning and get back with you.
Sounds wonderful 🙂
Jeremy, would it be possible for you to add an option where the bar only displays during battle scenes, only displays during map scenes, or displays during both?

Also, how does the bar behave when the variable starts going into negative numbers?
Ok, I loaded it on  a new project and it works just fine. This is a new project with only my plugin on. I need you to turn yours off one by one to see which one is causing an issue. This is with the default parameters.

Original thread: https://forums.rpgmakerweb.com/threads/bars-with-variables.47119/