PDA

View Full Version : AS Fire



pom
December 26th, 2004, 05:05 PM
A little piece of Actionscript that will create a nice fire effect :)

width=200 height = 250

Krilnon
December 26th, 2004, 05:48 PM
That's pretty awesome!

unikrl8
December 30th, 2004, 05:13 AM
cool! :-)

GreenLantern
December 31st, 2004, 02:36 AM
That's pretty cool, is it in use anywhere?

GW02
December 31st, 2004, 02:43 AM
Haha, I don't know where it would be used, but if it were that'd be awesome.

jerez_z
January 5th, 2005, 03:16 PM
well done. I tried doing one of those a while back but I kept getting an alpha glitch that made it look like crap....

ramo_integ
January 29th, 2005, 05:22 PM
i tried to add th2 code with the MC to an existing movie and it bright red dot bouncing around....any ways on how to add this to an existing movie...??

e-sarbak
February 4th, 2005, 03:59 AM
interesting and genious

mlk
February 4th, 2005, 11:36 AM
If you tweak it a bit it can be used as vapour out of a mouth, i've seen it in several website.. extremely nice but right now my mac is trying to commit suicide =)

exorxist
February 4th, 2005, 05:41 PM
looks awesome! :thumb:

lunatic
February 4th, 2005, 06:10 PM
Wow cool! I've been trying to find a way to implement steam and I think with some color modification and transparency this could be the ticket! Thanks pom! :thumb:

alzor
February 6th, 2005, 01:03 AM
useful for games and animation...or animation IN games.

b.rich
February 9th, 2005, 09:08 PM
wow, nice job pom! :beer: Thanks for sharing with us.

natronp
February 10th, 2005, 01:31 PM
yeah, fire/smoke effects are cool. once you use any kind of particle system, duplicate movie clips though it gets pretty processor intensive I
found it's hard to work them into other animations and not bog down CPUs!

fire.swf

lostinbeta
February 10th, 2005, 01:34 PM
Wow cool! I've been trying to find a way to implement steam and I think with some color modification and transparency this could be the ticket! Thanks pom! :thumb:


You could also check out SmurfMXs Steam Experiment here:
http://www.deviantart.com/view/14447599/

He's a member of this forum, he may be willing to offer you the source if you ask nicely :glasses:

natronp
February 10th, 2005, 01:36 PM
okay how do you attach an .swf and have it play?

GreenLantern
February 10th, 2005, 01:47 PM
I was playing around with this last night. I was attemping to change the color to blue and make it slow turn to white as it "went up"

However, I was completely unsuccessful. How would I go about doing this?

lunatic
February 10th, 2005, 01:53 PM
I was doing that too. There are places to change the colors though the random generator in there doesn't always allow for predicting what you'll end up with. For example I changed the red to grey (to simulate steam) and ended up getting grery to yellow and then purple! :P There is a spot in the code that sets the yellow color - you can comment that out to remove one of the transitions.

I managed to get a neutral color and shrink it but I had problems with the placement. Seemed like when I changed the _x and _y (and the scale) it would start where i wanted it to but then jump to a different location for the rest of it. If you figure that out let me know!

:hr:

Marz
February 10th, 2005, 11:45 PM
Not too shabby pom... How ya been btw ? :)

cr125rider
February 16th, 2005, 10:29 PM
I moded the file POM posted. I made it follow the mouse, size have a direct relationship with the ocellation size and turned down the amplitude/ocelllation, tookout the color changer and made it inside the MC (Less computer intensive I think). :D

EDIT: Oh yeah, and made it create twice the number of particles, sorry all the overheating computers out there...

lunatic
February 17th, 2005, 12:41 AM
Sweet! :D

GreenLantern
February 17th, 2005, 08:54 AM
Wow, that is cool.

Nice job modding that.

cr125rider
February 17th, 2005, 10:20 PM
Thanks :D

pom
March 1st, 2005, 08:12 PM
Wow, that killed my computer, but it's really much better :x Car to post an MX version? :)

cr125rider
March 2nd, 2005, 01:03 AM
Here you go!