Hi, I'm making a flash webpage for a friend. And They have a Steam Pipe coming down and would like to have steam coming out of the pee trap. my question is how would i do this to make it look like real steam.
Anything like steam is really hard to simultate in Flash because it's not really powerful enough to create a particle system like Director or Lightwave.
The closest I've ever managed is to create a single smoke/steam "particle" with a radial gradient filled circle with the alpha set to 0% at the edges then duplicate it with duplicateMovieClip() and give it some general direction to go in but with a bit of randomness thrown in.
I was looking for the .fla but couldn't find it but if this is close to what you want let me know and I'll do a quick'n'dirty version of the code for you. Slainte
Here's some code - place it in a control clip and have a radial gradient filled clip offstage called "steam" to get it running.
This definitely needs a quick processor to look good, keeping the "parent" particle reasonably small helps a lot because drawing semi transparent images is one of the heaviest loads on the CPU and the less faded pixels it has to draw the better.
This runs pretty well for me at 25fps with about 40 particles on a P4 1.4GHz PC, drop "amount" if you have something slower and push it up if you have this year's model...
Hi KillBuzz,
Just noticed the request for some steam, I hope this might help, just play around with the fill effects as demo. I should have used the alpha instead of the black fill,this would stop the black incursion, but it may give you some ideas.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.