the viewport resolution: 854x480
I have about 8 stars (background sprite) in the game but only 1 is shown on each level.
stars range from 600x600 and larger - largest one is 1024x1024
currently I have each frame of the 8 stars in one sprite (frame speed 0) and I just flip to the correct frame for the level the player is on.
I assume this is wildly inefficient because the other frames are in memory taking up space when they aren't needed.
In the past I dynamically switched (using the URL loader) the star image but sometimes the loading lagged and you the player saw the switch happen which was no good.
any suggestions on how I should handle this?