I currently have this piece of code, however, whatever font name I input into the the font line, the text still looks the same
public void act() { GreenfootImage img = new GreenfootImage(500, 100); img.setColor(Color.BLACK); img.fill(); img.setColor(Color.RED); img.setFont(new Font("Arial", false, false , 100)); //font line img.drawString("YOU DIED", 10, 90); setImage(img); }