I'm running Spine in Solar2D (formerly Corona SDK), and found that when my animations were fading, there was an alpha blending issue
a sort of blackness that appears when the animation fades out. The issue is shown in this video: Fading problem. I have found that when I comment this line from the lua runtime:
mesh:setFillColor(color.r, color.g, color.b)
in the spine/spine.lua file, it fixes the issue, so the same animation looks like this: Hack fix
However, commenting out this line means we can't hue the colors in a spine animation anymore, which is a big drawback, and makes this a bad workaround
but it's better to be able to fade things out nicely than it is to color them, for my use case. Is there a way to fix this problem without removing the
setFillColor
call, and have the good, clean-looking fading?
I've uploaded a copy of the file that I modified to fix the issue, for clarity. It's here:
https://drive.google.com/file/d/1TCLlFlSheWpq5ZvtRBkILYi_xJAUtbhV/view?usp=sharing