• Editor
  • How to Optimize Spine Files

Related Discussions
...

Hi, i have a question. Do you have any tips on how we can optimize our spine files? currently our coders detected that one that greatly affects the performance are the vertix count. So we performed a test on how much vertix we are going to limit. In the end its around 800 vertices for each character. But we on the animators side are having a problem because this limit works on simple characters but not on multi pose characters. Thanks .

Also make sure you don't have vertices influenced by more than 4-5 bones. Using many deform keys on meshes with many vertices weighted to many bones is a sure way to bloat the size of your animation data.

Thanks guys. Does a character having 2778 vertex transform and a 1180 vertex count too big for a pc metroidvania sidescrolling game ?

From what I saw, 600 vertices per skin and 0 direct deformations is a good situation even for mobile. Would it be possible for you to use bones instead of direct mesh deformations for your animations?
By the way, you might find this thread interesting, they happen to have a similar problem too: Editor frame rate performance issues

Thank you for the helpful info. we'll try using bones instead of direct deformations. Also we started pruning some of our animations and the performance lightens up a bit. 🙂

BTW, in 3.7.35-beta Prune got some enhancements!