Hello my Gideros friends,
I've read a lot of docs on this subject but it's not clear what the best solution is.
First I have about 10 movieclips with an animation. Every movie clip contains
10 sprites. I want to support most possible resolutions with a maximum of
2048x1536px. I was thinking to use 2 sizes of sprite sheets (2048px for the
lower resolutions and 4096px for the iPad3). Starting with the lowest resolution,
the movieclip sprites are 324x324px so I can store about 36 sprites in one
sheet (3 sets of movieclip sprites). In that case I need at least 4 spritesheets.
To make a long story short, is it better to load the sprites directly in the movieclip
or do I need to use spritesheets? Some of the sprites have a lot of transparent
space, but they need to be exactly positioned. So I think that the total memory
usage will be almost the same when using spritesheets.
Thanks in advance,
Marc
Comments
https://www.codeandweb.com/what-is-a-sprite-sheet-performance
The spritesheet side effect is that you have to load it all when you need it, also if you need just a small region of it. Could make sense to "group" together things that you will use together.
Best regards,
Marc