This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

danpost
danpost presents ...

2012/2/5

Progress bar/Health bar class

Bar class with no editing required. All needed methods are available to suit most needs.

Download, and while NOT running, right click on the bar and experiment with some (or all) of the methods provided.

Also, check out some sub-classes you can use with the bar (to allow it to be adjustable; to make a switch; or to make a timer display) located in the following scenario:

http://www.greenfoot.org/scenarios/5677

22804 views / 57 in the last 7 days

25 votes | 0 in the last 7 days

Tags: demo with-source bar danpost progress-bar support-class health-bar

This scenario is a member of: Support Classes by danpost


open in greenfoot
Your browser is ignoring the <APPLET> tag.
SullyFishSullyFish

2014/5/14

nvm sorry I found it
A new version of this scenario was uploaded on 2017-01-20 23:18:50 UTC
A new version of this scenario was uploaded on 2017-10-16 02:02:20 UTC
Nate2002Nate2002

2018/11/29

This is pretty cool
data17data17

2019/1/9

public Bar useFul = new Bar("danpost", "thank you!", 100, 100); // easy peasy :-)
AbwattsAbwatts

2019/4/1

Thanks! Super easy and simple to use! Respect =]
A new version of this scenario was uploaded on 2020-11-02 13:39:40 UTC
Roshan123Roshan123

2021/4/16

I have a question I added some tags in one of my scenario before 2-3 weeks and now I noticed that my all tags are removed except 2 I chaged my tags in mobile and after that i updated the same scenario in computer After 2-3 week i noticed its not their except 2 How is it possible??? Is my account is being used by any other user or its not something like i m thinking abt
danpostdanpost

2021/4/16

@Roshan123, how is this related to this scenario? ... start a new discussion thread under "Other". If I have anything to say about it, I will respond there.
Roshan123Roshan123

2021/4/17

@danpost...ok i created it

See all comments

Want to leave a comment? You must first log in.

Who likes this?

BavarianLP Sonal data17 tjoepapke JerHowden Ariadia hugtvy SPower arinb kikumaru818 FlyingRabidUnicornPig dianefayeparajes Poli solokeh rhddpcks Cocky davemib123 erdelf limefortheworld SkyLark