How many images can a single animation group hold?

That is very large!

1867 * 1044=1,949,148 pixels
At 4 bytes per pixel you have 1,949,148 * 4 = 7,796,592 bytes
69 images of that size would be 7,796 592 * 69 = 537,964,848 bytes (0.5 GB)

Basically all GPUs on desktop will be able to handle 8k textures. That is 8192*8192 = 67,108,864 pixels or 268,435,456 bytes
Many GPUs can handle 16k textures or 268,435,456 pixels or 1,073,741,824 bytes (1 GB)

Images of size 1867 * 1044 pixels won’t be able to be packed perfectly into an 8 or 16k texture which means that the texture size you need for your 69 images will be even larger.

Conclusion: You need to come up with a different approach if you want people to be able to play your game.

You should answer this question first. There’s probably a better approach than creating a mega image. First of all, will you show all 69 images at once? Or one by one? If it is one by one then why not load and unload them as you go. You will save a ton of memory.

1 Like