So if a card sprite sheet is 60 cards. Each card is say 150px X 300px. I make a blank sheet big enough to hold all the card image frames. I can load the card sprite sheet frames from the .png files using NWjs. We've discussed that. I can System.Create an instance of the card sprite sheet dynamically, then based on the card name from Xml data, choose the correct frame to display. I understand how all of this works so I'm good up to this point.
My question now is about how much RAM will this require? Internally, does a the full sprite sheet get loaded into memory every time a card instance is created?
EDIT...
Ok from the C2 Sprite documentation...
All instances of Sprite objects share their animations. In other words, there is a single set of images comprising the animations which belongs to the object type, and these images are referenced by instances.
This sounds like just one sprite sheet gets loaded and all instances use this one sheet for it's frames. This makes me smile