@MuntyScruntFundle wrote:
I know they're usually frowned upon, but I have the following problem.
I have 10 items, and each of them have 5 animated states. So for each object I have 5 sprite sheets. Pretty large sprite sheets.
That means a grid (to visualise) 10 x 5, and each cell is a sprite sheet of 360 images.
Because of the game dynamics it would be really handy if I could put these sheets in a 2d array as object 1,3 will always 'turn into' 1,4 and then 1,5.
Is storing large graphics 2048x2048 in an array as bad as storing small textures in an array? Is the memory loss diminishing with size?
Would I be better with 10 lists?
Any ideas on a postcard please!
Thanks.
Posts: 2
Participants: 2