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

2014/6/19

Making an extra level or getting the current to reset

11frendash 11frendash

2014/6/19

#
How can i make multiple levels? is a case of adding another world on "World" and using the current programming fron the first one/World????
danpost danpost

2014/6/19

#
It would really depend on how different the levels are from one another. Staying in the same world and using code to do possible actions, like (1) remove the current actors from the world (2) change the background image and (3) add the actors for this level into the world, would keep all your world fields intact (they would not be reset by starting a new world). That could be quite messy, though. As an alternative, you could have your levels extend my Super Level Support Class superworld which could be beneficial on many aspects of your program.
11frendash 11frendash

2014/6/19

#
ok cool, i will try these interesting methods. i am obvously a beginner to you guys, haha
You need to login to post a reply.