can anybody help me...
i have made a score like this...
but can someone help me make it work and count up 10 every time my bullet hits and blows up a rock?
help will be great, thank you
public ScoreLabel (String text) { GreenfootImage img = new GreenfootImage(text.length()*10, 30); img.setColor(java.awt.Color.white); img.drawString (text, 2, 15); setImage(img);