Thanks DonaldDuck. This was originally a Greenfoot demo I did at a SIGCSE conference in Milwaukee; I created the scenario, added the kangaroo, made it jump, and then inverted it. The audience liked it too.
Sorry, I have lost the code. As I mentioned in the comment above I created this scenario as part of a demo at a conference - it took only 10 minutes to write the code and talk about it as I did so. The basic principle of the jumping is the same as in the jumping tutorial video (from the Greenfoot website).
2011/1/6
2011/1/6
2011/4/28
2011/7/8
2011/7/11
2014/11/19
2014/11/19