Flint Particle System Forum - Particles to pre-determined destination 2011-10-16T21:25:10+01:00 http://flintparticles.org/forum/ Lussumo Vanilla & Feed Publisher Particles to pre-determined destination http://flintparticles.org/forum/comments.php?DiscussionID=502&Focus=1678#Comment_1678 2011-07-25T19:01:31+01:00 2011-10-16T21:25:10+01:00 dooley http://flintparticles.org/forum/account.php?u=522 /*Derp*/ emitter.addAction(new TweenToZone(new RectangleZone(movieclip_mc.x, movieclip_mc.y, movieclip_mc.x+1, movieclip_mc.y+1 ))); The code validates and everything compiles, music plays, ... emitter.addAction(new TweenToZone(new RectangleZone(movieclip_mc.x, movieclip_mc.y, movieclip_mc.x+1, movieclip_mc.y+1 )));

The code validates and everything compiles, music plays, fanfares blare. Nothing moves.
Do I HAVE to use bitmap data in a tweentozone?
Do I HAVE to use the tweentozone to have particles move towards a movieclip?
What if my movieclip animates?

The system is awesome, and the tutorials are great. Documentation is robust and most appreciated.]]>
Particles to pre-determined destination http://flintparticles.org/forum/comments.php?DiscussionID=502&Focus=1685#Comment_1685 2011-07-31T18:29:37+01:00 2011-10-16T21:25:10+01:00 Richard http://flintparticles.org/forum/account.php?u=1 You can use any Zone with the TweenToZone action. So using a RectangleZone is fine. However, TweenToZone is linked to the energy of the particle, so you need to set a Lifetime initializer and an Age ... Lifetime initializer and an Age action on the emitter or the tween won't happen.\

The tween is based on the zone, and the destination for the tween is set when the particle is created, so it won't update if your movie clip moves.]]>