Discover Greenfoot: Download Scenarios and Learn How to Make Your Own Interactive Games and Simulations
In order to take an active part in this activity, you need access to a computer where you can install the Greenfoot software we will be using. There are versions of Greenfoot for Windows computers, Apple computers and Ubuntu/Linux. The download and installation process can take a bit of time, so please do complete these steps before the day of the activity.
We hope you have enjoyed the workshop today and gained an insight into how programming can create simulation scenarios. If you wish to see some of the actual research WMG is undertaking - 3xD Simulator in WMG gives an introduction as to how the 3xD Simulator is used in WMG.
download greenfoot scenarios
Greenfoot 3.5.4 is now released and available for download. This fixes three notable bugs: issues with freezing on Windows (especially on load), windows appearing off-screen, and the changed-on-disk dialog showing too often.
Greenfoot 3.5.3 is now released and available for download. This fixes a couple of bugs, in particular a memory leak which could occur in scenarios with large or numerous images. During prolonged use Greenfoot could run out of memory and crash. This bug is now fixed.
Greenfoot 3.5.2 is now released and available for download. This fixes a couple of bugs, in particular a memory leak which could occur in the Java editor. During prolonged use Greenfoot could run out of memory and crash. This bug is now fixed.
Greenfoot 3.5.1 is now released and available for download. This fixes various small bugs, in particular one with clicking the mouse in scenarios with worlds larger than one pixel, and a few save the world issues (including it being missing from the top menu).
Greenfoot scenarios are now automatically converted to HTML 5 when uploaded to the greenfoot.org site - this has a number of benefits, including that you can now run Greenfoot scenarios on a smartphone!
The scenarios on this website are Java applets, but some have also been converted to HTML 5 (this is a "beta" feature at the moment). The Java version is displayed by default; to run it, you must have the Java Runtime Environment (JRE) installed. The JRE includes a web browser plugin that works with major browsers (Firefox and Internet Explorer; for Chrome, see this note). However, support for the Java plugin is being phased out of browsers.
Scenarios are written by members of the Greenfoot community, many of whom are still learning to code in Java, and some of them may not be functional. If some scenarios work for you but some don't, it's possible that the not-working scenarios are incomplete or have bugs. You can try posting a comment on the scenario to encourage the author to resolve the issue.
Finally, some scenarios include an "open in Greenfoot" link. If you have Greenfoot installed, you can use the "open in Greenfoot" link to download the scenario as a file that you can open using the Greenfoot application.Obtaining the Java browser pluginYou can download the JRE (including browser plugin) from here:
How to download greenfoot scenarios from the website
Greenfoot scenarios for beginners to learn Java programming
Best greenfoot scenarios to play online or offline
Download greenfoot scenarios with source code and documentation
Greenfoot scenarios for teaching and learning computer science
How to create your own greenfoot scenarios using the editor
Greenfoot scenarios for fun and entertainment
Download greenfoot scenarios for different genres and themes
Greenfoot scenarios for advanced programmers and game developers
How to share your greenfoot scenarios with the community
Greenfoot scenarios for physics simulation and animation
Download greenfoot scenarios with sound and music
Greenfoot scenarios for testing and debugging your code
How to modify and customize existing greenfoot scenarios
Greenfoot scenarios for different platforms and devices
Download greenfoot scenarios with multiplayer and network support
Greenfoot scenarios for artificial intelligence and machine learning
How to import and export greenfoot scenarios and assets
Greenfoot scenarios for different age groups and skill levels
Download greenfoot scenarios with high-quality graphics and design
Greenfoot scenarios for educational and academic purposes
How to rate and review greenfoot scenarios on the website
Greenfoot scenarios for various subjects and topics
Download greenfoot scenarios with user-generated content and feedback
Greenfoot scenarios for exploring and experimenting with different concepts
How to install and run greenfoot scenarios on your computer
Greenfoot scenarios for developing and improving your logic and creativity
Download greenfoot scenarios with challenges and achievements
Greenfoot scenarios for collaborating and cooperating with others
How to update and maintain your greenfoot scenarios
Greenfoot scenarios for practicing and enhancing your coding skills
Download greenfoot scenarios with different languages and translations
Greenfoot scenarios for demonstrating and presenting your projects
How to find and discover new greenfoot scenarios on the website
Greenfoot scenarios for solving problems and puzzles
Download greenfoot scenarios with different difficulty levels and modes
Greenfoot scenarios for inspiring and motivating you to learn more
How to follow and subscribe to your favorite greenfoot scenario creators
Greenfoot scenarios for competing and comparing with others
Download greenfoot scenarios with different licenses and permissions
If you are using Microsoft Windows, you need to determine whether you have a 32-bit or 64-bit operating system.If you have a 32-bit version of Windows, you should download the 32-bit Java environment which is labelled as Windows x86 and named something like jre-7u51-windows-i586.exe or jdk-7u51-windows-i586.exe.
If you are using a Linux distribution, you may be able to install the Oracle JDK via your distribution's package management system - check the distribution documentation. You can however still install the JDK manually be downloading it from the Oracle website (link above). You may also need to read the installation instructions.
This tutorial uses a scenario called 'wombats' which you can download here (it is also included in the example scenarios with Greenfoot versions before 2.4.0). Open the wombats scenario in Greenfoot; you should then see this:
The large grid area that covers the majority of the window is called "theworld". Since we have a scenario here that has to dowith wombats, we see awombat world. Towards the right side of the window is the class display . Hereyou can see all Java classes that are involved in the project. The classes"World" and "Actor" will always be there -- they come with the Greenfootsystem. The other classes belong to the wombat scenario, and will be differentif you use different scenarios.
A separate download will be provided that extends this world for the remaining chapters of the book, as well as instructor materials and additional exercises that take advantage of the Greenfoot system's characteristics.
To obtain and run this simulator, first download and install the latest version of Greenfoot (3.1) from the link above. Then download the student projects from the greenroomm site: Expand the link to get a Greenfoot project and double-click on the Greenfoot icon within the resulting folder.
Archive associated with Greenfoot, a Java development environment; proprietary format of a .JAR archive; similar to a .GREENFOOT file but contains game and simulation scenarios that can be downloaded from the Greenfoot site.
As mentioned in the preface, we'll assume you have downloaded Greenfoot and have it installed. If you still haven't, do so now. Go to www.greenfoot.org for easy-to-follow instructions on downloading and installing Greenfoot. While you are there, make sure you are minimally familiar with all the tutorials provided on
This creates a new GreenfootSound object and saves a reference to it in the bkgMusic variable. You need to change the preceding code, so that instead of sounds/UFO_T-Balt.mp3, you use a string that gives the name of the music file you downloaded to play (you need to save the music in your sounds folder in your Greenfoot project's folder). We also need to declare the bkgMusic variable we are using in the constructor. To do that, you need to add a variable declaration at the top of your class, as shown in Figure 22. By declaring the variable at the top of your class, it will be accessible to all the methods in your class. This will be important when we add code to stop playing the music.
This online course includes practice exercises that you can work on to reinforce the concepts being taught. You will need to have the Java Development Kit (JDK) and Greenfoot installed on your machine. You will also need ZIP file extraction software to view the example scenarios provided in this course. Use the checklist below to ensure that your system meets the minimum system requirements for using Greenfoot.
You are now ready to continue learning about Greenfoot. You can practice all of the actions described in this course using Greenfoot. If you continue through the lessons sequentially, you can use the Greenfoot files you are creating and saving as instructed. If you want to jump to a specific lesson and practice the actions described, you will need to download the practice file provided, as many of the actions in each lesson build upon a previous lesson.
To launch Greenfoot, double-click the Greenfoot icon on your desktop. If you do not have a Greenfoot icon on your desktop, locate the Greenfoot program file in the folder in which you downloaded the Greenfoot software.
It is good practice to save a scenario frequently as you work. Each time you close Greenfoot, it saves your current work, but while working in Greenfoot it is advised to save multiple versions of scenarios.
As your scenarios become more complex, you may wish to have multiple versions of your scenario so that you can revert back to a version. You may also want to save two versions to test out different actions without impacting your original scenario.
Source code has several components that describe the class, define the actions that the class's instances will perform when the scenario is run, and describe any programmer-defined methods that you will create for the class to use. Learning what each means will help you understand how to properly write code for your scenarios.
The Greenfoot API contains a list of all of the methods available for use by the different classes in Greenfoot. You will refer to this documentation often as you try to locate methods to use in your scenarios. The Greenfoot API is located at:
I'm not referring to the Greenfoot or BlueJ textbooks (although they may be excellent textbooks). Instead, I am referring to the concept that is embodied in the Greenfoot and BlueJ IDEs, which can be downloaded for free here(Greenfoot) and here (BlueJ).
To jumpstart your OOP learning process, I strongly recommend that you download and work through the Greenfoot tutorial and the sample chapters from the Greenfoot textbook. (You can download a zip file containing the textbook scenarios here.)
Installation: You can download and install the version that is compatible with your operating system for use on your home computer. The installation of this software is similar to the installation of most other software.
Although I haven't tried to do it, you should be able to download that version and install it on your USB drive when the drive is plugged into a computer in an ACC lab that has the standard Java software installed. (If the lab on your campus doesn't have standard Java software installed, ask the lab manager to first consult with the lab staff at NRG and then install the Java software.)
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.