Listing all results (72)

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

Java programming with Greenfoot: object interaction (a second look)

This video tutorial explores an essential element of object oriented programming – getting objects to interact.  This is modelled by integrating a counter object into a scenario – in this case, a simple paddle and ball breakout game.  The tutorial uses a previously created score counter and shows a method to...

Java programming with Greenfoot: classes and objects

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: finally some code

In this video tutorial students begin programming in Greenfoot Java.  The concepts of inheritance and parameters are explained and demonstrated and syntax details are introduced, including the use of brackets.  This is demonstrated by the creation of a simple game using turtles moving around the screen.

...

Pages

View all publishers