Flint Particle System Forum - All particles have same color while ColorInit changes color in range.. Tue, 13 Dec 2011 10:26:25 +0000 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher All particles have same color while ColorInit changes color in range.. http://flintparticles.org/forum/comments.php?DiscussionID=324&Focus=1118#Comment_1118 http://flintparticles.org/forum/comments.php?DiscussionID=324&Focus=1118#Comment_1118 Sat, 13 Feb 2010 19:57:52 +0000 xraven13 So does anyone have idea how could i make that each time particle is made that random color is set for him.. I don't want that color of particle is changed after, only once when its born ( or maybe just after its born )

p.s. i did set 2 different intervals , i tried many values but same results.. ]]>
All particles have same color while ColorInit changes color in range.. http://flintparticles.org/forum/comments.php?DiscussionID=324&Focus=1119#Comment_1119 http://flintparticles.org/forum/comments.php?DiscussionID=324&Focus=1119#Comment_1119 Sat, 13 Feb 2010 20:16:22 +0000 xraven13 All particles have same color while ColorInit changes color in range.. http://flintparticles.org/forum/comments.php?DiscussionID=324&Focus=1125#Comment_1125 http://flintparticles.org/forum/comments.php?DiscussionID=324&Focus=1125#Comment_1125 Wed, 17 Feb 2010 18:15:42 +0000 xraven13 http://pastebin.com/mb01edab ]]> All particles have same color while ColorInit changes color in range.. http://flintparticles.org/forum/comments.php?DiscussionID=324&Focus=1135#Comment_1135 http://flintparticles.org/forum/comments.php?DiscussionID=324&Focus=1135#Comment_1135 Tue, 02 Mar 2010 19:46:36 +0000 xraven13 All particles have same color while ColorInit changes color in range.. http://flintparticles.org/forum/comments.php?DiscussionID=324&Focus=1153#Comment_1153 http://flintparticles.org/forum/comments.php?DiscussionID=324&Focus=1153#Comment_1153 Tue, 30 Mar 2010 08:46:51 +0100 Richard
Sorry for the delay - lots of work plus speaking at 360Flex and going on holiday means I haven't been around for a while. The ColorInit initializer selects from a range of colors by interpolating between the two colors you give it. If you give it black and white as those colours, you will get something between black and white - i.e. a shade of grey. Not a fully random colour. To get a fully random colour you'll need to create a custom initializer. Alternatively, you could use the ColorsInit initializer (note the s) which takes an array of colors and will pick one of those colors at random.

I hope this isn't too late to help.
Richard ]]>