Hi, how do we do a line in a string with text ? I want to display a long text but it's too long for my screen so I want to add line break.
1 2 3 | String text = "Utilisez les flèches pour diriger le joueur, espace pour tirer sur les monstres" ; GreenfootImage instructions = new GreenfootImage(text, 30 , Color.BLACK, Color.WHITE); setImage(instructions); |