nulldesign // lars gerckens » War of the fireflies

War of the fireflies

Derived from one of my older experiments: Three different populations of fireflies are fighting for their survival. If a firefly encounters an enemy fly, it tries to convert it to their tribe. The converted fly looses lifepoints and eventually dies during conversion. For the “collision logic”, I used a slightly modified version of Grant Skinners AS3 Proximitymanager. You can download the source and play around with it here (but don’t expect beautiful code ;)).


(Space = fullscreen, as usual)

21. January 2008 | Posted in Experiments, Flash 9, Particles, Simulations, Source

6 Comments

  • 1. Fliegenkrieg&hellip  |  21. January 2008 at 15:19

    [...] Lars hat mal wieder zu viel mit Flash gespielt. Dabei heraus gekommen ist eine nette Demo in der drei Schwärme von Feuerfliegen um die Vorherrschaft der Population kämpfen. Hat Dir [...]

  • 2. Rob  |  23. January 2008 at 00:12

    looks really nice :)
    i had to laughing about your comment “beautiful code” :)

  • 3. sternchen  |  23. January 2008 at 16:23

    very nice and helpful to calm down after a long day :)

  • 4. stephan  |  23. January 2008 at 18:07

    Geil babylonisch – mir fehlen nur noch die per flash sound hack selbst erzeugten Kampfgeräusche!

  • 5. Howard Kim  |  02. March 2008 at 04:06

    I just found your site by accident…. Looks really nice! ^^

  • 6. mike  |  06. August 2008 at 02:49

    Hey, great particle code here.

    I read through the code, its very easy to understand. (probably because I’ve been writing particle stuff for a while now ;) )

    I had been struggling with the perlin noise stuff, but your code really shed some light on how it can control particles.

    Thanks a ton,

    Mike

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Trackback this post  |  Subscribe to the comments via RSS Feed

About

  • nulldesign is the company and showcase site of freelance developer Lars Gerckens who is based in Hamburg, Germany. I'm available for freelance work with focus on Flex, Flash and AIR development. I like to create dynamic user interfaces, cutting edge web experiences and innovative ways to visualize data.

    This site showcases some of my personal work and projects as well as an selection of commercial projects.

    If you are interested in my work or you have any questions, don't hesitate to drop me a line:

  • Profiles: Xing | Linkedin
  • Mail: lars [at] nulldesign [dot] de

Categories

Search