Simple Flash Ecosystem

// September 14th, 2008 // Experiments, Source code & tutorials

Since I still don’t have a car, I spend this Friday more than 4 hours traveling to a client by train. Some people read a book or watch the landscape, I decided to create life.

The creatures I created are quite simple, they get born, swim around randomly, rest sometimes , eat green dots, breed and finally they die. With my first tests, the creatures didn’t do well, they breed to much and soon there where to many, or they died to fast and got extinguished. So I added 2 simple rules:

  1. You live longer if you eat.
  2. You have to eat before you breed.

And that did the trick. The result is a fine balanced ecosystem.

You can download the source as an FDT project, but you have to compile it with the Flex SDK, and use the SWC to access the graphics (I lost most of the graphics by a Flash crash, the last saved version of the fla is  in the source )

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

6 Responses to “Simple Flash Ecosystem”

  1. walter says:

    Very funny, and nice to watch

  2. [...] and my computer bing’s at me… I have new mail and in this mail there is a link…. http://www.neuroproductions.be/experiments/simple-flash-ecosystem/. So i go on this site, and have a look at what it is. I find it very interesting. It is a ecosystem [...]

  3. Jonas says:

    Some nice experiments. But the link of the source got lost. Would it be possible to find it again? I could learn a lot from how you handled this ecosystem programming. Thx a lot. I appreciate it very much.

  4. Kris says:

    hi Jonas,
    The link is fixed :)

  5. Jon says:

    It would be really cool if there were plants that grew, herbivores, omnivores and carnivores in one ecosystem but that might be too complicated.

Leave a Reply