Joy of code: Java programming with Greenfoot
Greenfoot is a programming environment for the coding language Java. It has been designed primarily to assist game design; featuring an introduction to object oriented programming it enables students to create 2D games with sound relatively easily whilst introducing key programming concepts.
In this series of thirty three video tutorials, Michael Kölling from King’s College, London, guides students through the process of installation, creation and improvement, using a range of games as exemplars.
In this video tutorial students are shown how to add more complexity to their game by adding more interacting elements. How objects interact is explored along with assigning a value to a variable and explaining the difference between fixed and local variables. External method calls are also explored.
In this video tutorial students are shown how to add a score counter to their game; the turtle will gain points for eating lettuces etc. This is achieved using a pre-made counter class. Subclasses are revised and changing images is also explained. The tutorial explains constructors and how these are special...
In this short video tutorial students are shown how to implement mouse controls in to their game and how to use the world act method to make their world react to something, such as mouse or key instructions.
More resources can be found here
This video tutorial explains clearly the differences and uses of internal method calls (a method called from the same class or inherited from the superclass), external method calls (when a method is called from an external source, such as a different class, mouse or keys) and static or instance methods (where...