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.

 

Resources

Java programming with Greenfoot: image manipulation 1

In this brief video tutorial students are guided through changing the background colour in their game and storing it as a variable.

More resources can be found here

Java programming with Greenfoot: image manipulation 2

In this video tutorial students are shown how to change an image by either drawing their own or inputting an image file.  They are then guided through using random numbers to change the colour, transparency, direction of movement and speed of the bouncing balls in their game using constructors.

More...

Java programming with Greenfoot: refactoring for good style

This video explains good coding behaviour.  This includes an emphasis on refactoring (changing code to make its structure better so that it can later be easily changed or understood) and cohesion (ensuring that each method does only one thing).  It also explains that private methods will only apply to objects in...

Java programming with Greenfoot: refactoring for good style (teacher commentary)

This video explains good coding behaviour.  This includes an emphasis on refactoring (changing code to make its structure better so that it can later be easily changed or understood) and cohesion (ensuring that each method does only one thing).  It also explains that private methods will only apply to objects in...

Pages

Published by

Actions

Share this resource