Flint Particle System Forum - All particles have same color while ColorInit changes color in range..2011-12-13T10:04:45+00:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
All particles have same color while ColorInit changes color in range..http://flintparticles.org/forum/comments.php?DiscussionID=324&Focus=1118#Comment_11182010-02-13T19:57:52+00:002010-02-13T20:19:43+00:00xraven13http://flintparticles.org/forum/account.php?u=309
Not sure am i using it right, but all particles made by emitter have same color (color is set when emitter is made and then all particles have that color)...
So does anyone have idea how could i ...
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_11192010-02-13T20:16:22+00:002010-02-13T20:17:56+00:00xraven13http://flintparticles.org/forum/account.php?u=309
Ok i traced now particle.color in initialize method of ColorInit... It seems that colors are changing.. But why then all particles that are on the screen have the same color???
All particles have same color while ColorInit changes color in range..http://flintparticles.org/forum/comments.php?DiscussionID=324&Focus=1125#Comment_11252010-02-17T18:15:42+00:002011-12-13T10:04:45+00:00xraven13http://flintparticles.org/forum/account.php?u=309
Here is the code i am using so take a look please :
http://pastebin.com/mb01edab
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_11352010-03-02T19:46:36+00:002011-12-13T10:04:45+00:00xraven13http://flintparticles.org/forum/account.php?u=309
Please anyone.. My project is stuck because of this problem :(.. And i really can't find the solution
All particles have same color while ColorInit changes color in range..http://flintparticles.org/forum/comments.php?DiscussionID=324&Focus=1153#Comment_11532010-03-30T08:46:51+01:002011-12-13T10:04:45+00:00Richardhttp://flintparticles.org/forum/account.php?u=1
Hi
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 ...
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.