Closed macpooh closed 7 years ago
pixi-spine is up-to-date with spine-ts, but pixi implementation lacks masks. I'm gonna add them soon if you are able to test them :)
It would be highly appreciated. just let me know if u need something further.
@ivanpopelyshev I have just run into this issue and I have created very simple test case if that helps:
https://codepen.io/michalochman/pen/PjVjRr?editors=0010
This is how it looks like:
This is how it should like:
That'll help me to debug, thank you!
OK, so I studied their clipping algorithm and understood that we need better clipping handling in pixi first. Probably as a separate plugin. With current implementation its not easy.
@michalochman please check the latest version. Also I didnt make special tests, but I hope there are no stupid errors.
I implemented clipping through PIXI.Graphics, it must work with Canvas2d too.
@ivanpopelyshev I have updated my test case on CodePen, seems to be working!
Great, thanks!
hey. It works, but if its static. though DeformTimeline seems working, vertices keep updating on each frame, but its have no visual representation. I'm debugging right now, but if you have any suggests - would be cool) animation used in attachment clip_animation.zip
link to pen clipping not updated, as you can see here.
OK, then its a bug, good test. Will look at it soon.
Fixed in 1.5.3
@macpooh please test it!
It works fine! thanks a lot
Some time ago Spine introduced clipping masks for spines. Does support of this feature scheduled in nearest future?