Join for FREE | Take the Tour Lost Password?
Shop deviantART for the
holidays and save BIG!
Click here! :holly:
[x]

deviantART

 

As3 Particle Effects by ~voidSkipper:iconvoidSkipper:


©2009 ~voidSkipper
:iconvoidskipper:

Artist's Comments

(Click to create!)

About a year and a half ago, I submitted [link]

I noticed today, working on this particle system, how far I'd come - that previous deviation would struggle to push 400 particles.

Now, in AS3 using bitmapData objects and object oriented programming, I have thousands of particles running ever so smoothly.

Tens of thousands if I disable the pretty background effects, but who wants that?

Comments


love 0 0 joy 0 0 wow 0 0 mad 0 0 sad 0 0 fear 0 0 neutral 0 0
:iconwaltzy:
It took some severe mouse mashing but i managed to get 16500 Particles, it looks really nice, and ike you said, no choke. GJ.

--
on(Read){ gotoAndWatch(" [link] ") }
~Don't make me understand you.
:weed: ~70.83ep :weed:
:icongirlflash:
massive spawning resulted in next to no change in the fps. shame the fps started out at 10 though, I need a new pc :noes:

--
as for being pants, I too was pants once, however if you practice, you too can take off your pants!

:iconpaco-mexicano:
This is indeed quite an awesome effect. And I love the physics of the particles bouncing off the edges of the frame.
It's very neat.

I'm just surprised you can do this all with Flash. Even with the persistence of a days work, all I could get out of Actionscript was a button function. :XD:

--
E-Man Wuz Hear
:iconangelblackroses:
nice > :D

--
Comics i make - :iconinvertedcomic:
Sonic art i make - :iconangelathehedghog1995:

im aware i misspelled hedghog
:iconclangersrock:
The framerate actually went up as I created more. This is amazing!!

--
Guillaume Badgereaux

Pwnd up the arse, once again.
:iconken1171:
Oh yes, I also realized that particle systems in Flash work better in raster than vector because of the overhead involved, and also the fact that AS will rely on unpredictable garbage collection to clear up memory. I changed my own particle systems to rasterize the vector graphics and performance improved tremendously. :D

--
Website: [link]
"Whoever thinks that I am not smart enough to do the job is not underestimating well." (George W. Bush)
:iconpervysage:
thats huuuwwwt.

--
i moved account to [link] check it out.
:iconvoidskipper:
I initially had it so that all of the movement and position values were integers rather than floats. It quite happily pushed 80,000.

I'm wondering if it's worth changing to a linked list.. currently it just uses a vector to iterate.

Also thanks.
:iconvoidskipper:
10! My dad's pentium 3 runs it faster than that! Your computer must be made of wood :X

At least it's consistant, though, right?
:iconvoidskipper:
Thanks, E.

Actionscript tutorials are bloody awful. It would probably be worth reading a book on C++ or Java, then applying it to AS3.

Details

March 30
5.6 KB
39.5 KB
209×201

Statistics

61
22 [who?]
1,724 (0 today)
90 (0 today)

Share

Link
Embed
Thumb

Site Map