Flint Particle System Forum - Speed up particles2011-12-13T08:04:36+00:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
Speed up particleshttp://flintparticles.org/forum/comments.php?DiscussionID=340&Focus=1155#Comment_11552010-04-04T17:05:36+01:002011-12-13T08:04:36+00:00Achtunghttp://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 particleshttp://flintparticles.org/forum/comments.php?DiscussionID=340&Focus=1156#Comment_11562010-04-05T19:18:26+01:002011-12-13T08:04:36+00:00Achtunghttp://flintparticles.org/forum/account.php?u=346
Nevermind this one; got it all working.
Speed up particleshttp://flintparticles.org/forum/comments.php?DiscussionID=340&Focus=1163#Comment_11632010-04-06T17:18:40+01:002011-12-13T08:04:36+00:00Richardhttp://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]]>