These are chat archives for pixijs/pixi.js

10th
Mar 2015
Chad Engler
@englercj
Mar 10 2015 05:52
@benny00100 So running those locally, i get the same as on your server. No errors, but the rendered bitmap font looks wrong. I also see where you had to change the bitmap font asset url to make it work. I am working on a fix now.
@ryanmcnz No, but sprite masking is implemented via a filter. The SpriteMaskFilter to be exact. Works basically like this:
var mysprite = new PIXI.Sprite(),
    mymask = new PIXI.Sprite();

mysprite.filters = [new PIXI.SpriteMaskFilter(mymask)];
Ryan
@ryanmcnz
Mar 10 2015 06:04
@englercj Wonderful, thanks for the snipplet :)
benny00100
@benny00100
Mar 10 2015 06:43
@englercj
Thanks. It's strange - that it works for you locally, too. I give it a try with a local apache installation and standard port. Strange thing is - that it worked with PixiV2.
Eemeli Kelokorpi
@ekelokorpi
Mar 10 2015 07:20
How i can set hitArea on Pixi 3?
nevermind, got it!
benny00100
@benny00100
Mar 10 2015 07:32
@englercj Ok. Using local apache installation - I got the same results like you.
Mat Groves
@GoodBoyDigital
Mar 10 2015 09:22
Hey there @ryanmcnz and @englercj
masking is even easier than that :)
var mysprite = new PIXI.Sprite(),
    mymask = new PIXI.Sprite();

mysprite.mask = mymask
Vlasenko Igor
@vlasenkoigor
Mar 10 2015 09:51
Hello
Does anyone know release date of PIXI v3?
Chad Engler
@englercj
Mar 10 2015 15:55
@vlasenkoigor There isn't a hard date.