Flint Particle System Forum - How do the ARGB uint values for ColorChange look like?2011-12-11T05:29:19+00:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
How do the ARGB uint values for ColorChange look like?http://flintparticles.org/forum/comments.php?DiscussionID=51&Focus=248#Comment_2482008-07-16T14:35:02+01:002008-07-18T12:26:15+01:00Philliphttp://flintparticles.org/forum/account.php?u=44
I'm totally confused here. How are the ARGB uint values for ColorChange supposed to look???
Like 255255255 for white? ... 255255255 works, but it doesn't show white. With what formula do I ...
Like 255255255 for white? ... 255255255 works, but it doesn't show white. With what formula do I calculate the required uint values? Or is it an Object containing 3/4 values? 0xffffff doesn't work at all (it makes the particles black/invisible) The docs would to good in giving an example or two for a ARGB uint ColorChange value ...
I'm gratefull for any help.
Thanks, Phillip]]>
How do the ARGB uint values for ColorChange look like?http://flintparticles.org/forum/comments.php?DiscussionID=51&Focus=249#Comment_2492008-07-16T17:41:38+01:002011-12-11T05:29:19+00:00Philliphttp://flintparticles.org/forum/account.php?u=44
I found out.
Here's the answer:
An exampel would be "0xFFAABBCC" as a Hex representative of the required value. Which is practical since the 1st 2 digits represent the Value in the ...
Here's the answer: An exampel would be "0xFFAABBCC" as a Hex representative of the required value. Which is practical since the 1st 2 digits represent the Value in the Alpha channel (here: Transparency) and the other 3 digit-pairs the RGB values. Hence ARGB. If you're, as I was, wondering why ColorChange has no effect, it's because your particles need a Lifetime *and* have to be aging (Age) aswell.
Thanks, Phillip]]>
How do the ARGB uint values for ColorChange look like?http://flintparticles.org/forum/comments.php?DiscussionID=51&Focus=1277#Comment_12772010-07-29T08:20:08+01:002011-12-11T05:29:19+00:00Ubuntuhttp://flintparticles.org/forum/account.php?u=387
I am immensly confused.... I have 2 Color Picker Components
The following works on a BitmapRenderer:
var color1:uint;
var color2:uint;
color1 = colorcomponent1.selectedColor;
color2 = ...
The following works on a BitmapRenderer: var color1:uint; var color2:uint; color1 = colorcomponent1.selectedColor; color2 = colorcomponent2.selectedColor; emitter.addInitializer( new ColorInit( color1, color2));
The following DOESNT work on a Pixelrenderer: var color1:uint; var color2:uint; color1 = colorcomponent1.selectedColor; color2 = colorcomponent2.selectedColor; emitter.addInitializer( new ColorInit( color1, color2));
I think it has something to do with the difference between ARGB and uint or something. How can I convert "colorcomponent1.selectedColor" into a value that the pixelrenderer will allow.]]>
How do the ARGB uint values for ColorChange look like?http://flintparticles.org/forum/comments.php?DiscussionID=51&Focus=1281#Comment_12812010-08-03T08:23:26+01:002010-08-03T08:25:30+01:00Richardhttp://flintparticles.org/forum/account.php?u=1
BitmapRenderer and PixelRenderer use the same type of value for the ARGB color so a color that works for one should work for the other. Could you provide more code so I can see what you're doing to ...
How do the ARGB uint values for ColorChange look like?http://flintparticles.org/forum/comments.php?DiscussionID=51&Focus=1283#Comment_12832010-08-05T08:04:10+01:002011-12-11T05:29:19+00:00Ubuntuhttp://flintparticles.org/forum/account.php?u=387
Yay I finally fixed it. Surprisingly the fade() action that was used on my bitmaprenderer, had to be added to my pixelrenderer in order to make my color changes work. Thank you for reassuring me that ...