Greenfoot world documentation

broken image

Click the run button in the Controls area. If any of your classes are grey, then they haven t been compliled 1Ģ Adding Objects to Your World We will see later how we can automatically add objects to the world, but in the meantime we can add these manually when the scenario is running. Compile allows you to turn you code into machine code that the computer understands. Use these buttons to run your code once it s compiled. leaf) that you want to have in your world.

broken image

You will have to make an Actor class for each type of object (e.g. To the right we see the class and underneath we see how it looks visually. When you open this you see the following: This represents a world that we have named and created.

broken image
broken image

Choose the Scenario, then Open and select Wombat. Greenfoot creates scenarios (projects) that allow us to create a variety of programs such as games and simulations Lets open a scenario called Wombats that comes as a default when you install greenfoot. 1 Introduction to Greenfoot Greenfoot is an IDE (Integrated Development Environment) that is built on Java.

broken image