Hi there again, would somebody please be able to guide me as to how to get an actor that has an image as some text to print over more than one line?
it currently looks like this
and i would like the output to be:
Press 'r' to restart
Press'p' to pause the game
1 2 3 4 | public void act() { setImage( new GreenfootImage( "Press 'r' to restart" + /**I want to seperate the line here*/ "Press 'p' to pause the game" , 30 , Color.WHITE, new Color( 0 , 0 , 0 , 0 ))); } |