Flint Particle System Forum - Use a circle as a mask2012-05-26T06:58:09+01:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
Use a circle as a maskhttp://flintparticles.org/forum/comments.php?DiscussionID=546&Focus=1838#Comment_18382011-12-20T14:06:17+00:002011-12-20T16:26:58+00:00torpedetehttp://flintparticles.org/forum/account.php?u=583
Hi everybody!
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 ...
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 maskhttp://flintparticles.org/forum/comments.php?DiscussionID=546&Focus=1875#Comment_18752012-01-08T15:25:45+00:002012-05-26T06:58:09+01:00Richardhttp://flintparticles.org/forum/account.php?u=1
I would expect this to work. Maybe the mask is not correctly positioned. What is "e" in your code?