Flint Particle System Forum - ColorChange not working Sun, 26 Dec 2010 18:36:24 +0000 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher ColorChange not working http://flintparticles.org/forum/comments.php?DiscussionID=217&Focus=800#Comment_800 http://flintparticles.org/forum/comments.php?DiscussionID=217&Focus=800#Comment_800 Fri, 05 Jun 2009 14:24:21 +0100 biasot I modified Rain.as from examples:
addInitializer( new ImageClass( RadialDot, 6, 0x000000 ) );
addInitializer( new Position( new LineZone( new Point( 0, 0 ), new Point( 0, 130 ) ) ) );
addInitializer( new Velocity( new LineZone( new Point( 0, 0 ), new Point( 270, 0 ) ) ) );
// addInitializer( new ColorInit( 0xFF000000, 0xFFFFFFFF ) );
addAction(new MutualGravity(2, 10));
addInitializer(new Lifetime(0.3, 1));
addAction(new ColorChange(0xff000000,0xffffffff));
addAction(new Fade());
addAction(new Age());
addAction( new Move() );
addAction( new DeathZone( new RectangleZone( -10, -10, 270, 130 ), true ) );
addAction( new RotateToDirection() );
ColorChange is not working, regardless of ColorInit; if Fade is used then I got faded particles, if Fade is not used, then I got no visible particles :(
what I doing wrong?! ;-) ]]>
ColorChange not working http://flintparticles.org/forum/comments.php?DiscussionID=217&Focus=815#Comment_815 http://flintparticles.org/forum/comments.php?DiscussionID=217&Focus=815#Comment_815 Wed, 10 Jun 2009 07:43:30 +0100 Richard
addInitializer( new ImageClass( RadialDot, 6, 0xFFFFFF ) ); ]]>