jeremyfa / spine-hx

Spine runtime for Haxe automatically converted from the official Java/libgdx runtime
Other
56 stars 15 forks source link

Make SkeletonClipping work #7

Open jeremyfa opened 6 years ago

jeremyfa commented 6 years ago

SkeletonClipping doesn't seem to work as expected. That's not a problem as long as we don't use clipping, but as we seek parity with original spine runtime, we should investigate what makes clipping fail.

Best strategy so far to find the issue is to run the same animation (with clipping) on both spine-libgdx and spine-hx and compare the output and values.

rainyt commented 4 years ago

Hi,Is there any good news

jeremyfa commented 4 years ago

Nope! Not my priority to make it work at the moment unfortunately. Maybe SkeletonClipping code is fine, I just didn’t manage to make it work in the renderer I am using.

rainyt commented 3 years ago

https://github.com/rainyt/openfl-spine/blob/master/src/spine/openfl/SkeletonSprite.hx

I've added mask support for openfl-spine and haven't modified spine-hx, so SkeletonClipping should work properly. I think rendering failure may be caused by arrays.

jeremyfa commented 3 years ago

That’s good to know, thanks for the feedback!