cocos2d-js 3.3
CCSkeletonCanvasRenderCmd.js line 138~148
It cause some problems when a slot has serveral attachement while the attachement’s visibility changes frequently, like a sprite animation.
Modify the code , move line 139 140 142~145 of code out from the if condition brace can resolve the animation problem.
Do you have a sample code to reproduce the issue ?
I think it is nothing to do with my code, I just modify the sample “js-tests” , replace the skeleton res with mine , and modified the renderMode value to 1. My skeleton res is something special ,it is a skill effect, only has one bone , serveral attachement, run the tests, the skeleton animation only played one frame , (attachement state don’t update),transformation worked well.
So, can you provide your spine animation file ?
effect.zip (41.3 KB)
Ok ! Compare this skeleton’s result between 0 and 1 render mode.
Animation name : “animation”
Thank you, we will look into it
btw,the latest version of spine runtime version is 2.1,support ffd(free-form deformation), cocos2d-js3.3 's spine runtime is still v2.0.About the ffd , Will the ffd feature be surpported in the next version ? and is it possible surpported in the canvas2d render mode,as far as i know there is some limits because the canvas only draw rectangle image. Thank you !