Flint Particle System Forum - Speed up particles 2011-12-13T08:04:36+00:00 http://flintparticles.org/forum/ Lussumo Vanilla & Feed Publisher Speed up particles http://flintparticles.org/forum/comments.php?DiscussionID=340&Focus=1155#Comment_1155 2010-04-04T17:05:36+01:00 2011-12-13T08:04:36+00:00 Achtung http://flintparticles.org/forum/account.php?u=346 Heya, I've just recently started out with Flint. I've followed some tutorials but still am struggling with something that, at least I would think, should be very simple. How would I speed up ...
How would I speed up particles?

I have an Emitter class that handles snow particles. Inside the class I have the following function:


public function setSpeed(nValue:int):void
{
nSpeed += nValue;

//addInitializer( new Velocity( new PointZone( new Point( 0, nSpeed) ) ) );
//addAction(new Accelerate(0, nSpeed));

for (var i:int = 0; i < particles.length; i++)
{
particles[i].velY = nSpeed;
}
}

Tried things back and forth but not getting a desirable result. I am calling the setSpeed function from a Background class; when it speeds up so should the particles. Is there not a way to update all particles in the Emitter on the spot with a given value?

Thanks in advance.]]>
Speed up particles http://flintparticles.org/forum/comments.php?DiscussionID=340&Focus=1156#Comment_1156 2010-04-05T19:18:26+01:00 2011-12-13T08:04:36+00:00 Achtung http://flintparticles.org/forum/account.php?u=346 Nevermind this one; got it all working. Speed up particles http://flintparticles.org/forum/comments.php?DiscussionID=340&Focus=1163#Comment_1163 2010-04-06T17:18:40+01:00 2011-12-13T08:04:36+00:00 Richard http://flintparticles.org/forum/account.php?u=1 Glad you got it sorted. Your solution might be useful to others, if you have the time to post it here. Thanks Richard Thanks
Richard]]>