For the past two weeks I’ve been thinking up ways to store a large amount of card images. (Think Magic the Gathering artwork on each card). Currently we have around 100 cards, the resolution for each card image is going to be around 128 wide and 256 tall, and if scaling becomes and issue maybe even bigger(Game is on mobile devices).
The player should also be able to view each card in his/her graveyard (Meaning I can dispose of the textures as soon as something dies) Combat is turn based, so I can load files during the opponents turn. My issue is mostly how to store the images. Do I have each card have its own file then load each file individually, or do I contain several large images that are then cut up into the small textures that I need.
Storing and loading each file by its self means I can load only the files I need and not waste memory, but will take longer. While loading big files would be faster but a greater waste of system space.
I’m stuck and thus have come here for help, also I’m using LibGDX and the game is targeted for mobile devices.
Thanks ahead of time.