Hi,
got the bar from scenario 4114. I've tried to subtract the health when a bullet makes impact with the hero but it doesn't seem to work. Could someone take a look: http://www.greenfoot.org/scenarios/5799


the boss object: Boss boss = ....; // the thing you want to stick to the boss: setLocation(boss.getX(), boss.getY() -boss.getImage().getWidth() /2 -20);