Making flex smoke!! (smoke generator for flex)

Filed under: Flash — Wrote by Campbell on Tuesday, February 27th, 2007 @ 11:57 pm

I have been away in Ruby on rails land for the past few weeks so last night I decided to jump back into flex for a play. Man I love playing in AS3. So I was looking at WonderTouch's Particle Illusion and thought that would be cool! So I whipped up a quick particle engine and made some smoke. 

The result was ok, but the engine needs tome more work/optimisiations. And unfortunately AS3 just isnt fast enough to animate it that well. I have the smoke rising at a frame rate of about 5fps. What does it look like?

I always hate releasing something that isn't finished, but that being said I hardly find the time to finish stuff when doing little play things like this. Anyway it will look alot better after I implement a few changes I came up with and then I will post the flex movie in all its CPU cooking glory. Expect eternal beta release soon!

UPDATE – I figure I might wait for Apollo (its gotta be real soon now) so I can make a flex rip off of disco Smoke and all! Muh hwa huh hahaha

8 Comments   -
  • Comment by Campbell | March 1, 2007 @ 12:48 am

    Sorry guys, My bandwidth got all chewed up, but seeing the month was going to end I thought I would wait instead of paying for more.

  • Comment by Tink | March 1, 2007 @ 2:25 am

    You should have enough power in AS 3.0 to animate it.

    take a look at http://www.finitestateautomata.org/.

    Alias’s did this in AS 2.0, so re-writing in AS 3.0 should be a bit faster. He presented this stuff for use this month at LFPUG. There’s some source here http://www.lfpug.com/smoke-fire-and-water-creating-realistic-procedural-bitmap-effects/ and the video should be up soon.

    Also just to get it straight in my mind, this has nothing to do with Flex right?

  • Comment by JesterXL | March 1, 2007 @ 4:12 am

    Yo, send me an email, I can mirror for you.

  • Comment by Josh | March 1, 2007 @ 5:47 am

    Mmmm… particles

  • Comment by Parker Kane^evof | March 1, 2007 @ 6:20 am

    Youh… I can also mirror :)

  • Comment by Campbell | March 1, 2007 @ 8:54 am

    Hahaha Tink your right, AS3 Smoke it is…..just made in flex builder….but I will put a button in there so I can use the F word! lol.

  • Comment by Campbell | March 1, 2007 @ 9:14 am

    Cheers to JesterXL and Parker for the mirror offer…..Good fullas, have emailed ya!

  • Comment by Paintball | October 14, 2007 @ 12:34 am

    Thank You! I’m smoking with… :)

Leave your comment

© Flex developer, Campbell Anderson, from New Zealand – xsive blog -