Retri Posted May 29, 2015 Share Posted May 29, 2015 Instead of giving me the sprite to mask with, it uses the entire sprite sheet. If I just add the sprite it works, it cuts it out as expected and it looks great. Am I doing it wrong? Quote Link to comment Share on other sites More sharing options...
xerver Posted May 29, 2015 Share Posted May 29, 2015 Using a sprite from a sheet as a mask is not yet supported https://github.com/GoodBoyDigital/pixi.js/issues/1569 Retri 1 Quote Link to comment Share on other sites More sharing options...
Retri Posted May 29, 2015 Author Share Posted May 29, 2015 I see. Thanks Xerver. Could I just render it to a canvas and load the canvas as a texture and use that? Quote Link to comment Share on other sites More sharing options...
xerver Posted May 29, 2015 Share Posted May 29, 2015 You can! That is definitely a workaround that should work fine. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.