View Full Version : Fireworks Experiment (not the program)
GW02
December 29th, 2004, 12:18 AM
Like fireworks fireworks, not macromedia fireworks. :P
It's extremely CPU-intensive, though... lots and lots of particles. Maybe someone can optimize if possible? I would, but I think it's at its best with my limited knowledge.
Jeff Wheeler
December 29th, 2004, 05:14 PM
I'd love for an swf (can't compile it, only live with mx)
GW02
December 29th, 2004, 06:20 PM
http://www.colonyl2.info/random/fireworks.html
:D
Jeff Wheeler
December 29th, 2004, 06:25 PM
Nice. My suggestions are to possibly sharpen it up a bit, and maybe increase the frame-rate when they're falling.
Other than that, very impressive. Much better than what I could do.
GW02
December 29th, 2004, 06:42 PM
Thanks.
The framerate's actually set to 36 fps. It's the alpha-channel processing that takes a whole load of CPU, dropping the fps.
That, and a whole lot of floating-point math.
Jeff Wheeler
December 29th, 2004, 06:45 PM
Ouch
pom
December 30th, 2004, 06:54 AM
Very nice :) One strange thing though: most of the fireworks shoot out of the visible area :P
Voetsjoeba
December 30th, 2004, 07:10 AM
Jesus Christ, that's one awesome effect ! :thumb:
I'm up for optimizing ! :)
GW02
December 30th, 2004, 10:51 PM
Heh, thanks! :D
ContinuumXLS
December 31st, 2004, 12:33 AM
Yeah, I love the effect you made! If you could make that a little smoother, I would have to say that that would be the best fireworks script ive seen!
(maybe add a color change kind of like voet's fireworks??)
GW02
December 31st, 2004, 01:05 AM
Voets is working on the smoothness, hope he can get somewhere with it. :)
pom
December 31st, 2004, 09:25 AM
Could you by any means provide an MX version? Or post the code? =)
andr.in
December 31st, 2004, 12:26 PM
wow that's nice.... on low quality it runs a bit better and doesn't look much worse
CanadianGuy
December 31st, 2004, 12:34 PM
Very cool! Where the heck were you two months ago? :lol:
Voetsjoeba
December 31st, 2004, 02:41 PM
There wasn't much to optimize really - the CPU intensivity is just because of the many alpha animations and the amount of movieclips. I had it subtract and divide instead of add and multiply where possible for a slight speed increase, but the code itself is quite fine.
Oh and, I made the alpha animations slightly faster, but not losing the effect.
GW02
December 31st, 2004, 02:47 PM
Thanks everyone! It feels so great getting complimented by all you gurus. :P
Very cool! Where the heck were you two months ago? :lol:
Buried under a mound of homework, digging myself out with a salad fork, why? :ko:
As per request, non-mx2004 version (Not voets' version, the original)
pom
January 1st, 2005, 12:00 PM
Thanks :)
smoothhabitat
January 5th, 2005, 12:44 AM
check these fireworks out though: http://www.hp.com/hpinfo/card3.html
GW02
January 5th, 2005, 11:42 PM
Whoa.
The use of the graphics API is fairly nice, but some of the movements are kinda unnatural. Once it drifted upwards!
Vexir
January 6th, 2005, 01:16 AM
I think its rather realistic. But hey thats me. Nice job GWing_02. Why is actionscript so hard for me to understand? lol
Infinitation
January 6th, 2005, 03:36 AM
Love the HP example, yet another thing to try and learn. Great job on your fireworks though, best rendition I have seen for flash thusfar. Keep up the (bad pun) stellar work!
signifer123
January 6th, 2005, 10:12 AM
Thats awesome man, just need to get that thijg fine tuned then it will just be perfect
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.