I have a question about memory usage.
If I use one image several times in the same scene, will it weight as one image in the memory?
Examples:
1- Backgrounds:
In a very wide scene (10000x1080px), I use a repeated image for the background.
My background image is 1000x1080px and is repeated 10 times.
When the scene is loaded, does it load the background image only 1 time, even if it's used 10 times?
Is my scene as light as if it was only 1000x1080px, or as heavy as if it was 10000x1080px?
2- Actors:
My game takes place in Japan so my character is supposed to take off her shoes everytime she enters a house.
My idea is to have 2 main actors loaded in the game.
The first actor has naked feet.
The second actor's sprites reuse the same frames as the first actor. And I add small subframes for the shoes.
So my question is:
If I have 2 actors using the same frames (plus small subframes for the second one), will it be loaded in the computer's memory as 2 actors (loading the frames 2 times) or as 1 actor (loading the frames one time for the 2 actors + subframes)?
I hope my question isn't too muddled... It was difficult to explain in English.
Thank you!