Flint Particle System Forum - Move a Emitter and affect particles movement? Sun, 11 Dec 2011 09:31:10 +0000 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher Move a Emitter and affect particles movement? http://flintparticles.org/forum/comments.php?DiscussionID=463&Focus=1561#Comment_1561 http://flintparticles.org/forum/comments.php?DiscussionID=463&Focus=1561#Comment_1561 Fri, 25 Feb 2011 19:00:52 +0000 felipegm
The effect I look is the same as http://d2fhka9tf2vaj2.cloudfront.net/tuts/001_flintParticles/Tutorial/SWFs/BurningFuse.html but using TweenMax to move the MC.

Any help on this will be great! thanks ]]>
Move a Emitter and affect particles movement? http://flintparticles.org/forum/comments.php?DiscussionID=463&Focus=1567#Comment_1567 http://flintparticles.org/forum/comments.php?DiscussionID=463&Focus=1567#Comment_1567 Sun, 27 Feb 2011 13:24:12 +0000 Richard
1. Create a custom activity to position the emitter using TweenMax...

package
{
import org.flintparticles.common.activities.ActivityBase;
import org.flintparticles.common.emitters.Emitter;
import org.flintparticles.twoD.emitters.Emitter2D;

public class CustomActivity extends ActivityBase
{
override public function update( emitter : Emitter, time : Number ) : void
{
var e:Emitter2D = Emitter2D( emitter );
// Use TweenMax and time to set e.x and e.y
// N.B. time is the time since the previous update
}
}
}


2. Use the FollowDisplayObject activity to make the emitter follow a DisplayObject. Then use TweenMax to update the position of the display object. ]]>