I'm mainly posting this because I couldn't find the post I was reading regarding this the other day... [Searched through 10 pages.]
So I'm working on a CocoonJS game and things have been going great. I'm working on designing my backgrounds and I had some questions:
- I'm looking at having each level have 4 backgrounds, each on it's own layer. [Only one layer will be displayed at a time but I know that doesn't change much performance wise.] Each background image will be approximately 1300x800 px. Are these dimensions fairly reasonably and is this a decent plan to move forward with? Other levels will be created with tiled backgrounds.
- Each image so far is taking up 700MB to 1.8MB. I know this doesn't make a difference other than package size because of how they are loaded into memory? In that other post someone mentioned how much space an image would take up in memory. Could someone provide me with that? It would be super helpful in figuring out how much wiggle room I have.
Here's a concept example for reference:
I know if I follow this design I should have space for ~6 levels if I want to fit music and a few other assets in. Let me know if i'm way off base.