Listing all results (113)

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...

Java programming with Greenfoot: bouncy coloured balls

In this revision tutorial students create a new game that features bouncing balls.  They revisit class and field structures, modifying images and using constructors to add new balls as well as exploring using methods to change parameters.

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: dealing With errors

This video tutorial explains the different error codes that occur in Greenfoot Java and other programming languages and demonstrates how to find out exactly where the error has occurred.  This includes syntax errors (which present code from compiling as something has been typed incorrectly) and runtime errors (...

Java programming with Greenfoot: classes and objects (teacher commentary)

The fundamental concepts of object oriented programming, classes and objects, are explained to students in this video tutorial.  The correct terminology is also introduced, including referring to ‘instructions’ as ‘methods’.  Students will be able to create multiple objects within a class using the examples...

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: installing Greenfoot

In this video tutorial students are guided through the process of installing Java and the Greenfoot environment on a range of operating systems.  Common installation problems are also addressed.

More resources can be found here

Java programming with Greenfoot: return of the object interaction

This video tutorial presents an alternative approach to programming objects to interact, specifically a different structure for making the ball and counter objects cooperate in the breakout game.  The concept of ‘coupling’ is introduced – dependency/links between objects.  ‘Casting’ is also explained as a way of...

Java programming with Greenfoot: animating the image

In this video tutorial students increase the complexity of their bouncing ball game.  They are introduced to dynamically changing images by increasing their bouncing ball’s transparency as the game progresses.  This is achieved by adding ‘else’ to an ‘if’ statement.  A special keyword, ‘this’, is introduced that...

Java programming with Greenfoot: how to display text

In this video tutorial students are shown how to add text in to their games.  This may be static text that does not change, such as instructions.  It may be dynamic text that changes as the program runs; in this example it is a score counter that increases in value as the game progresses.  This latter example is...

Pages

View all publishers