Stamina bar

I want to make a stamina bar, i know how to do the logic in javascript, but i have almost no experience in drawing graphic.

So, any ideas on where i should start?
Where will the stamina bar be displayed? On the map screen or in battle?
Oh, it is on the map. I will use it to limit the amount of time you can dash. 
Well you need to make a variable that is a part of Game_Party because the whole party will share this.

Set that to 100 or so that would be the staring value.

Then every time you dash you lower this value each second until 0.

Once zero then disable dash.

Make sure the party can regen stamina or they will never be able to dash again.

Once they reach a certain stamina say max then re-enable dash.

I would take a look at how the game draws the health and mana bars and use that as a boiler plate to make the stamina bar.
Thanks, i have done all the variable manipulation, i just need to draw graphics, i will look into how the health bar and see what i find out!
In this post I am helping this guy make the dash amount appear, you might want to check it out too!

http://forums.rpgmakerweb.com/index.php?/topic/48700-howto-make-a-basic-window/
Dash_zpsn5lhru61.png


Something like this?

Original thread: https://forums.rpgmakerweb.com/threads/stamina-bar.48070/