Hello everyone! I finally got around to the topic of project optimization and came across an interesting point that I don’t know how to solve yet.
My personal project, which I wrote about here, is a visual novel with a lot of backgrounds animated in Spine 2D. Now they are all downloaded from the server as resources and weigh quite a lot, one episode is 50 to 70 mb, which players with slow internet complain about.
To reduce the weight of the downloaded content, I wanted to upload all the art as png files and add it to the atlas dynamically. As far as I know, it is now possible to create an atlas dynamically, as well as modify an existing atlas. And all this would work fine if my backgrounds were just sprites.
For the Spine scene, it is imperative to specify an atlas with images involved in the animation. The idea of loading 1px images into the atlas and then replacing them with normal images didn’t work because you can’t change the size of the atlas at runtime.
Dynamic creation of spine models and scenes is also impossible as far as I know.
Art in png weighs 2-3 times less and would be an ideal solution, but how to add it to Spine I have no idea.
That’s why I would like to ask for help and advice from the Defold community
How can I optimize the size of the uploaded content in my case study?
Any help or advice would be greatly appreciated