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

2013/1/29

Adding levels

bbwf bbwf

2013/1/29

#
Hey I've posted this before but got nothing. How do I have levels so if I get to the right side of "level 1" it goes on to "level 2" and so on....
danpost danpost

2013/1/29

#
If direction of movement is to the right and x-location is the right edge then set level to 2 (from within level 1).
bbwf bbwf

2013/1/29

#
Yes, but would I make the level a picture or a world or an actor?
danpost danpost

2013/1/29

#
It would certainly not be an actor. You could either remove all actors, reset the world background image for each new level, and add the main actor back into the world at the appropriate edge, or you could create a new world sub-class for each new level and add the main actor into each new world.
You need to login to post a reply.