pencil_love Posted April 5, 2020 Share Posted April 5, 2020 Ask help about my web app,.And everything become right after I remove the sprite's mask (camera hole),I guess maybe caculate false boundingbox of sprite when extract or canvas(target)? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted April 5, 2020 Share Posted April 5, 2020 (edited) try it in dev. pixijs.download/dev/pixi.js or pixijs.download/dev/pixi-legacy.js If it doesnt work, please post the demo, because there are so many bugs with masks and there were so many fixed, I really dont have idea what can be wrong in your case. Yes, there can be a problem with bounds and moving stuff for extract. If switching to dev doesnt work - I recommend to render it in texture and then use extract, like i mentioned here: https://github.com/pixijs/pixi.js/issues/6498#issuecomment-604397290 (referenced in pixijs wiki, so its a valid doc) Nice picture btw! Edited April 5, 2020 by ivan.popelyshev pencil_love 1 Quote Link to comment Share on other sites More sharing options...
pencil_love Posted April 6, 2020 Author Share Posted April 6, 2020 (edited) 5 hours ago, ivan.popelyshev said: try it in dev. pixijs.download/dev/pixi.js or pixijs.download/dev/pixi-legacy.js If it doesnt work, please post the demo, because there are so many bugs with masks and there were so many fixed, I really dont have idea what can be wrong in your case. Yes, there can be a problem with bounds and moving stuff for extract. If switching to dev doesnt work - I recommend to render it in texture and then use extract, like i mentioned here: https://github.com/pixijs/pixi.js/issues/6498#issuecomment-604397290 (referenced in pixijs wiki, so its a valid doc) Nice picture btw! It run perfect after using renderTexture,thanks!Sorry for my bad search skill.I did not thought the answer is in pixi wiki Edited April 6, 2020 by pencil_love Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted April 6, 2020 Share Posted April 6, 2020 4 hours ago, pencil_love said: It run perfect after using renderTexture,thanks!Sorry for my bad search skill.I did not thought the answer is in pixi wiki Yeah, wiki is not advertised properly, but its the only place I can add stuff fast, without commits and reviews 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.