Flint Particle System Forum - Speed up particles Tue, 13 Dec 2011 07:39:14 +0000 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher Speed up particles http://flintparticles.org/forum/comments.php?DiscussionID=340&Focus=1155#Comment_1155 http://flintparticles.org/forum/comments.php?DiscussionID=340&Focus=1155#Comment_1155 Sun, 04 Apr 2010 17:05:36 +0100 Achtung
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 http://flintparticles.org/forum/comments.php?DiscussionID=340&Focus=1156#Comment_1156 Mon, 05 Apr 2010 19:18:26 +0100 Achtung Speed up particles http://flintparticles.org/forum/comments.php?DiscussionID=340&Focus=1163#Comment_1163 http://flintparticles.org/forum/comments.php?DiscussionID=340&Focus=1163#Comment_1163 Tue, 06 Apr 2010 17:18:40 +0100 Richard Thanks
Richard ]]>