Does Content.Load load into memory every time it's called?

I mean, I guess the answer is yes…but then wouldn’t it just mean I’d be loading multiple copies of the same image? (if whenever an enemy’s instantiated it Content.Load’s it’s spritesheet, that means for 10 enemies there are 10 copies of the same spritesheet)

Would it be better to load images in once as a static variable for that class, and then instances can just work off that?

2 Likes

No, I am sure the assets are cached, so subsequent calls are not adding to memory usage.

3 Likes

Okay awesome that really simplifies things. Thanks!