勾选动画清理导出后换装图片会不正常扭曲,
不勾选则会丢图。就算我去掉所有图片的mesh 再导出也是一样。
不正常部分是换图部分,非导出的三个文件之一,如下图,导出的图里面包含050100,后面三张图是替换
这个有可能是因为coco creator没有运行库的原因么,因为在2018年我就用过这种方式在cocos2dx上实现过,
spine3.8.99 - cocos creator3.8.2,换装问题
3.8 is very old, we haven't made fixes to it for many years. It could be a bug in 3.8.
Does it work correctly if you don't use animation clean up?
Coco Creator must have a runtime, else Spine skeletons couldn't be displayed at all. If you are using a runtime that came with it, maybe you can replace their runtime with ours, like could be done with cocos2d-x. If not, then it may be a bug in Coco Creator or the runtime it uses.
Nate 我找到原因了,
Please don't post Chinese as an image, it's hard to translate. Here is your text in English, for others:
Today I studied the spine animation of cocos creator. When I change the spine given by the artist, I always cannot change the clothes successfully. 1. When I change the spine given by the artist, I always cannot change the clothes successfully. Later I found out that in fact, the static clothes are The replacement is successful, but once the animation is played, the costume will be changed back to the original one. Solution: Check whether there is an "attachment" keyframe in the animation file. If there is, just delete it. flow)
If you manually change the skeleton, then apply animations, the animations may make changes that override what you originally changed. One solution is the apply animations, then make your change afterward. You'll need to do this every frame.