This site requires JavaScript, please enable it in your browser!
Greenfoot back
Omfernando1@gmail.com
Omfernando1@gmail.com wrote ...

2018/5/6

How do I populate world easily?

For GCSE Computer Science we need to populate the world automatically, for example when you compile the actors stay in the world. How do I do this in the shortest amount of code possible? Thanks
danpost danpost

2018/5/6

#
You could use the Save the world feature after placing actors in the world; but then you would need to go over the generated code (in the prepare method) and condense it. Another way is the generate the code yourself. If you wish to be shown any examples of reducing code, you will have to show some code that needs reducing.
You need to login to post a reply.