Hello, I have a problem. When I play the game it shows an error, but I don't know why.
This is the code:
private void updateText() {
GreenfootImage newImage = new GreenfootImage ("alienschip.png");
newImage.setColor (new Color(205,51,51));
newImage.setFont (new Font ("Comic Sans MS", 20));
newImage.drawString(punten + "", 40, 20);
setImage (newImage);
}
It gives the error:
java.lang.IllegalArgumentException: java.io.FileNotFoundException: Could not find file: alienschip.png
I know for sure that the files name is correct.

