Flint Particle System Forum - Use a circle as a mask Sat, 26 May 2012 06:53:42 +0100 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher Use a circle as a mask http://flintparticles.org/forum/comments.php?DiscussionID=546&Focus=1838#Comment_1838 http://flintparticles.org/forum/comments.php?DiscussionID=546&Focus=1838#Comment_1838 Tue, 20 Dec 2011 14:06:17 +0000 torpedete
I´m trying to make a really simple effect, just snow inside the tipical glass ball, so I need a circle mask, I tried to create a circled mask inside the IDE and apply it to the renderer but it doesn´t work. Does anyone know how can I set this? I don´t know if maybe I must change the type of renderer...

I used this:

renderer = new DisplayObjectRenderer();
renderer.addEmitter( emitter );
mcMask.x = e.currentTarget.x;
mcMask.y = e.currentTarget.y;
renderer.mask = mcMask; ]]>
Use a circle as a mask http://flintparticles.org/forum/comments.php?DiscussionID=546&Focus=1875#Comment_1875 http://flintparticles.org/forum/comments.php?DiscussionID=546&Focus=1875#Comment_1875 Sun, 08 Jan 2012 15:25:45 +0000 Richard