HOME | DD

mx-chronos — Flash - Simple Particle Engine

Published: 2008-03-12 06:38:39 +0000 UTC; Views: 1296; Favourites: 9; Downloads: 62
Redirect to original
Description Okay, it might be a bit of a stretch to call this art, but I am quite proud of my progress learning ActionScript 3.0, so I figured I would post it. This is an exercise based on a video lesson from the lynda tutorial site. I did not follow the code line by line, but instead watched to get the general idea and then recreated it by myself. The main change I have implemented here was to simulate the particles changing colors as they age, from yellow to red to gray. Using the Sprite class essentially limits your particle graphic to one frame, so there is no animation for this aging, just a trick use of the resolution.

So of course the basic interactivity is just to generate particles based on the current mouse location. I played around with a few other variants, such as giving the particles momentum based on the speed/direction of the mouse, and replacing the mouse with a welder's torch that would generate sparks and a scorch effect when clicked. In the end, however, I decided to just upload this first stage of progress, as it is simpler and a little more elegant. ActionScript 3.0 has been a bit of a struggle to learn, but I really feel like I am starting to get the hang of it now, so hopefully I will be posting some more interactives soon.
Related content
Comments: 3

sh1h [2008-03-16 03:21:48 +0000 UTC]

dude, thats pretty slick

👍: 0 ⏩: 0

ADigitalArtist [2008-03-16 02:35:33 +0000 UTC]

I don't think this is a stretch at all. A lot of people post their particle engines here. Browsing the interactive category in DeviantArt, you'll find a lot. You did a great job.

👍: 0 ⏩: 1

mx-chronos In reply to ADigitalArtist [2008-03-16 20:59:12 +0000 UTC]

Thank you for the kind words I hope to have something more substantial than a particle engine to post here eventually, but for the time being I definitely appreciate the encouragement.

👍: 0 ⏩: 0