View Full Version : [as3] Explosions attempt no.2

11-23-2009, 02:43 AM
Well animating frame by frame explosions was a failure... so I decided to try and code some in actionscript. Let me know what you think, and provide details on how I may improve on it. Thanks.


It may run slow for some of you, since each puff of smoke launches it's own event listeners. This will be optimized.

Update (version 2) : http://www.*************/open/1259037581

11-23-2009, 06:48 AM
Wooah. That's pretty sweet. Nice job.

11-23-2009, 10:37 AM
why not try and make the flash/fire also in as3? the smoke is good but the flash is kinda ugly and too fast

11-23-2009, 11:18 PM
why not try and make the flash/fire also in as3? the smoke is good but the flash is kinda ugly and too fast

Kay. Lemme know what you think.

Also just observed that using trace statements affects performance, even outside of the flash compiler/output thing...strange.

11-24-2009, 03:07 AM
The white stuff in the first one looked bad.. And there's too much yellow stuff in the second one.. or it lasts too long imo. Really neat though.

11-24-2009, 12:05 PM
Nooooo it's fire not yellow stuff lol. I'll tweak it sumore.

11-24-2009, 12:12 PM
I like it, but it lags after three or four explosions.

11-24-2009, 12:22 PM
Yeah I know because the swf I uploaded doesn't delete old explosions and stuff. I fixed everything up here in the fla so it runs without hiccups

11-24-2009, 10:33 PM
Alright, this is probably as good as it's going to get. Added white out when explode and reduced life of yellow stuff.


Please tell me if you experience any performance issues. The timer at the top left can be used to tell, if it slows down then it's laggin.

11-25-2009, 10:28 PM
I don't know, I kind of liked the first blast. The yellow looks like flying gunpowder or something.. Doesn't look bad, though.

11-26-2009, 01:31 AM
The problem with this explosion is that there is no expanding. It just suddenly emerges out of nowhere then dissipates. Really great for AS though.

11-26-2009, 06:45 PM
The problem is that the "yellow stuff" is supposed to be the flare. You don't see the flare for more than .8 seconds, yours obviously doesn't care. If it's supposed to be fire, it looks nothing like fire. Needs more detail.

The smoke is decent. Although it branches out strangely sometimes, making it look odd.

11-27-2009, 12:27 AM
lol, yellow stuff.