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

Report as inappropriate.

danpost presents ...


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:

22467 views / 38 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 does not support the canvas tag.


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


This is pretty cool


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


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


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


@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.


@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