Hi everyone,
I'm looking into implementing a costume customization feature. After a bit of research, I learned that this can be achieved by using skins. What I'm curious about is, we would want to have 100+ options for each part of a costume, can Spine handle this large amount of resources? We would have about 50 characters with customed costumes on the same scene, same screen. Performance wise, it this going to work well?
Thanks!
Page 1 of 1
wkzhou.1988
2 months ago
- wkzhou.1988
- Posts: 3
Misaki
Yes, it is possible. Instead of always loading all images, only those used in that skin can be repacked at runtime and organized the texture into only the images needed. See the Runtime Repacking section of the spine-unity documentation for more information:What I'm curious about is, we would want to have 100+ options for each part of a costume, can Spine handle this large amount of resources?
spine-unity 运行时文档: Combining Skins
To determine that, you need to test it on your target devices. If you have not yet purchased a Spine license, you can download the spine-unity runtime for evaluation purposes and test it using example skeletons included with it:We would have about 50 characters with customed costumes on the same scene, same screen. Performance wise, it this going to work well?
spine-unity Download
For your information, common measures to improve performance are described in the Spine User Guide and in the runtime documentation:
指标视图 - Spine用户指南
spine-unity 运行时文档: Performance
2 months ago
-
Misaki - Posts: 1163
wkzhou.1988
[quote="Misaki"][/quote]
Great! I'll definitely try that. It seems to me that it all depends on the repacking performance, since we're gonna have different characters entering the same room. If every time someone enters, a repacking is required, it definitely needs to taken into account.
Great! I'll definitely try that. It seems to me that it all depends on the repacking performance, since we're gonna have different characters entering the same room. If every time someone enters, a repacking is required, it definitely needs to taken into account.
2 months ago
- wkzhou.1988
- Posts: 3
Misaki
Yes, your guess is correct. Harald answered in this thread about how to improve the performance of repacking:It seems to me that it all depends on the repacking performance, since we're gonna have different characters entering the same room. If every time someone enters, a repacking is required, it definitely needs to taken into account.
Change skin of spine cause FPS drop
2 months ago
-
Misaki - Posts: 1163
Mark topic unread
• Page 1 of 1
Return to Unity
- All times are UTC