使用spine的时候卡顿

使用auto spine = SkeletonAnimation::createWithFile(“10013.json”, “10013.atlas”);创建骨骼动画卡顿挺严重
有没有什么解决的办法,估计要自己写个缓存

SkeletonAnimation 有 createWithData方法,你可以试着预先读取spSkeletonData,保存,然后再加载,试试吧。我本来也想做的,但是一直没时间