Quantcast
Channel: Pixi.js Latest Topics
Viewing all articles
Browse latest Browse all 3981

mask not run?

$
0
0

i create mask in my game but in some pc, it not run? Here my code

that.mask = new Sprite(TextureCache["mask"]);
        that.mask.position.set(that.size[0] / 2 - 8, that.size[1] / 2 - 12);
        that.mask.anchor.set(0.5);
        that.mainContainer.addChild(that.mask);
        that.mainContainer.mask = that.mask;

 

norrmal-with-mask.jpg

not-mask.jpg


Viewing all articles
Browse latest Browse all 3981

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>