This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

polle presents ...


Birds And Trees

Based on the boids scenario, but with some obstacles added. Makes it a bit more interesting to watch.

10268 views / 1542 in the last 7 days

10 votes | 0 in the last 7 days

Tags: simulation with-source boids

This scenario is a member of: Scenario showcase, Game AI

open in greenfoot
Your browser does not support the canvas tag.
A new version of this scenario was uploaded on Mon Sep 29 14:33:48 UTC 2008


I really like this. I can also definitely see myself stealing the code to use in one of my own scenarios.


Cool. Really nice to play with this. I case people haven't noticed: when the scenario is paused, you can drag the trees around and make your own layout, to make it a little more difficult for the birds, or to chase them around a particular path...


When we did the Greenfoot competition at JavaOne (last year?) someone actually created a nice game based on this. The goal of the game was to herd sheep into an enclosure by using the mouse to move a big red button that the sheep apparently didn't like. Unfortunately I think we might have lost that scenario because it was created with the very first version of Gallery (when it was still called MyGame)


Cool. I have made a race track and they are going around in circles :) Very nicely implemented.
:O I like it. I think I will take a good look at it.


Is the original boids scenario still available somewhere? I used it long ago to make a bird hunter game, but can no longer find either. I am starting a pi robot club project that introduces swarm robotics into robotics, and want to both use the boids example scenario as a common classical algorithm, as well as a way to introduce Greenfoot as a good modeling tool. Are there other existing scenarios that I should also consider (the ant/pheromone scenario comes to mind, for instance)

Want to leave a comment? You must first log in.

Who likes this?

thisfreakz birdy nooby123 itotto limefortheworld marla onemind sjf36 mik JL235