Flint Particle System Forum - return to initial position? Sun, 11 Dec 2011 09:37:04 +0000 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher return to initial position? http://flintparticles.org/forum/comments.php?DiscussionID=375&Focus=1255#Comment_1255 http://flintparticles.org/forum/comments.php?DiscussionID=375&Focus=1255#Comment_1255 Fri, 23 Jul 2010 00:57:14 +0100 figure8 i've been creating particles by hand and adding them with the appropriate addExistingParticles method to the emitter. this completely works fine, i can add any initializer or action to them. but: is there any way to tween them back into their initial positions after being moved by an action?

what i'm aiming to is sth. like that: click!, which i've written once by myself. i'm trying to convert that into a flint-based one to use some amazing features of it. but yet i haven't found a way to let the emitter remember which particle was set on which position. shall i try storing them on a complete own action which somehow iterates the particle-dictionary to move then them?

thanks in advance,
marvin. ]]>
return to initial position? http://flintparticles.org/forum/comments.php?DiscussionID=375&Focus=1263#Comment_1263 http://flintparticles.org/forum/comments.php?DiscussionID=375&Focus=1263#Comment_1263 Sat, 24 Jul 2010 18:23:02 +0100 Richard
The particle object contains a dictionary property. This is intended for custom actions, initializers or any other custom code to store additional properties in the particle and would be the appropriate place to store the initial position of the particle so you can use it later. ]]>
return to initial position? http://flintparticles.org/forum/comments.php?DiscussionID=375&Focus=1265#Comment_1265 http://flintparticles.org/forum/comments.php?DiscussionID=375&Focus=1265#Comment_1265 Mon, 26 Jul 2010 12:31:13 +0100 figure8 thanks - i've stumbled upon one post here as well which shows the use of the particles' dictionary. i'll give it a try soon. ]]>