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: introduction

This video tutorial provides students with an overview of Greenfoot Java.  It demonstrates several different game ideas and introduces the layout of the programming environment.

More resources can be found here

Java programming with Greenfoot: if statements (teacher commentary)

In this video tutorial students explore method return values in more details.  True or false (Boolean) statements are used to create if statements.  In this example an object, a turtle, is programmed to interact with the edge of the world (the screen) by using an if statement.  Students are then able to make...

Java programming with Greenfoot: adding random behaviour

This video tutorial introduces students to the Greenfoot API (application processing interface) – a collection of shortcut commands built in to the Greenfoot environment.  Students are guided through using the API to make their turtle move in a random manner by generating random numbers and inserting them into an...

Java programming with Greenfoot: make it your own

This video tutorial demonstrates to students how to change the images in their game so that they can personalise it.  This includes how to import images from sources other than Java and also how to duplicate and edit existing Greenfoot images including, for example, duplicating images but assigning them different...

Pages

Published by

Actions

Share this resource