How bad is Spine animation perfomance in Cocos?

How bad is Spine animation perfomance in Cocos?
0

Hi guys!

I’m new to Cocos (I used to work with lua-based engines before). I’m thinking about diving into Cocos, how faster it is practically?
Can you please help me to compare perfomance?

Here’s my benchmark objects: spine json, traditional spritesheet and my compiled apk:


(lua source code: https://github.com/Apollo144/spine_vs_spritesheet_animations/blob/master/main.lua )

Would you be so kind to compile a similar simple 1280x720 apk in Cocos, and check how many Spine objects can be rendered with 60fps? And how many old-style frame-based animations can be rendered?

Currently I’m limited to ~60-70 animated Spine objects on screen. If I add more, FPS starts dropping to less than 60 (on my Xiaomi 4X hardware).
Frame-based animations perform better (I can have ~350-400 frame-based objects on screen with 60fps)

Can’t wait for your results!
Many thanks!

George.

If you mean Cocos Creator - It is possible bad because of outdated spine runtime - Update spine to spine.ts?

thx!
But what about Cocos2d-x?
Guys, can somebody pls compile a simple apk with spine objects spawned on scene?
How many spine objects can be rendered before fps starts dropping below 60?
(I’ve already attached spine png&json, you just have to spawn them on scene)

Thanks!!

In cocos2d-x it’s perfect way to do animations in your game i think.
You can try it by yourself https://github.com/EsotericSoftware/spine-runtimes/tree/3.6/spine-cocos2dx/example