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

2015/12/15

New Background

ironphoenix20 ironphoenix20

2015/12/15

#
I'm doing a program where if I go to a door, the background switches. After that, I want all of the objects from the previous background to be removed except for the hero. How do I do this?
danpost danpost

2015/12/15

#
ironphoenix20 wrote...
How do I do this?
Just save the hero, the world it is in and the coordinates within the world it is at in local variables. Then remove all objects, change the background and add the hero back in at the saved coordinates.
ironphoenix20 ironphoenix20

2015/12/15

#
OK, Ill try that.
You need to login to post a reply.