Hi,
So in my game there's a little hero avatar picture appearing one screen multiple times at once.
The avatar is composed of replaceable parts (hair, eyes, nose etc) -- the user creates it when first starting the game. It doesn't change ingame.
I feel it would be way more memory efficient and generally better to have a static image for this avatar instead of spawning multiple (up to 200-300) copies consisting of ~10 elements pinned together.
I was wondering what would be the best approach to just spawn the avatar once, then flatten it and use the image?
Probably the way to do it would be to screenshot the avatar and create a sprite based on the image? I searched the forums and found that to screenshot part of the screen I'd need to resize the canvas back and forth which feels a bit clunky and I'm not sure if it's not noticeable for the user?
Or maybe someone could suggest a better way?
Thanks!