Fork me on GitHub
Not signed in (Sign In)

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

    • CommentAuthortorpedete
    • CommentTimeDec 20th 2011 edited
     
    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 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;
    • CommentAuthorRichard
    • CommentTimeJan 8th 2012
     
    I would expect this to work. Maybe the mask is not correctly positioned. What is "e" in your code?