Flint Particle System Forum - Pixel Curtain effect Tue, 13 Dec 2011 15:22:13 +0000 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher Pixel Curtain effect http://flintparticles.org/forum/comments.php?DiscussionID=303&Focus=1052#Comment_1052 http://flintparticles.org/forum/comments.php?DiscussionID=303&Focus=1052#Comment_1052 Mon, 18 Jan 2010 20:49:37 +0000 tschemmer
Just starting off here with Flint, and I'm trying to come up with a solution for a pizel curtain effect with a bitmap. Essentially this would have pixels fly in from left and right and "build" the image the pixels are made of.

not sure how to start this process. Any help and idas would be fantastic.

Thanks. ]]>
Pixel Curtain effect http://flintparticles.org/forum/comments.php?DiscussionID=303&Focus=1068#Comment_1068 http://flintparticles.org/forum/comments.php?DiscussionID=303&Focus=1068#Comment_1068 Sun, 24 Jan 2010 19:08:37 +0000 Richard
The closest to what you need is to use the TweenToZone action. However this doesn't build the shape exactly, it will just tween all the particles to random points within the shape.

What you really need is a custom action. Something similar to the createPixelParticlesFromBitmapData method to define the particles to match the bitmap. However, this method sets the start point for the particle's movement to the point in the bitmap, and you need to set the end point instead.

With the right custom action, Flint will do everything else for you.

Richard ]]>