This site requires JavaScript, please enable it in your browser!
Greenfoot back
landry
landry wrote ...

2013/5/30

Quick concern

landry landry

2013/5/30

#
CAN someone help plz ? How can I change the background of my game , once it has ended ?
danpost danpost

2013/5/30

#
Before your 'Greenfoot.stop()' statement, add the statement to change the world background.
// if in the world class
setBackground("endBackground.jpg");
Greenfoot.stop();
//if in an actor class
getWorld().setBackground("endBackground.jpg");
Greenfoot.stop();
You need to login to post a reply.