Closed lkmproject closed 3 years ago
This is to be expected and is explained in the documentation. You're literally breaking the Spine batched renderer with every Image it comes across. This is why we added the SpineContainer
Game Object, so you can batch together Spine Game Objects.
In short, do not mix them up like this. Every time Phaser hits a Spine object in the display list, it needs to completely halt all rendering and pass over to Spine. Spine will then take over control of rendering, draw the Spine object and, if there aren't any others in the list, return back to Phaser again. If you mix different object types together, you create a ping-pong effect between the renderers. This is the downside of Spine. Organise your display list more carefully to avoid it.
Version
Description
Low FPS in spine objects and image objects in the same container or in the same parent container
Example: create 15 spine objects and image objects in the same container or in the same parent container
Example Test Code
Additional Information