![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | danielhernandez |
I’m working on the character creation scene for my game. I have designed some controls to let the user customize the character avatar a little bit:
The 4 controls load images from 3 different PNG files (loaded as atlas textures, since each file has 160 images). I want to store the player selection and I think the most efficient way would be to combine what they can see (including the frame, which I’m loading as a TextureRect) and save it into a PNG file that I can then load into the level scene.
This is the Node structure:
MarginContainer
CenterContainer
CharacterBanner (TextureRect)
Control
CharacterBg (TextureRect)
CharacterFrame (TextureRect)
CharacterFace (Sprite)
CharacterEyes (Sprite)
CharacterHair (Sprite)
The question is: how can I combine the images?
I’ve seen how to save a Texture as a PNG file, but I need to save several textures and I need them to work like layers in a PSD file.
PS: It seems that images are not working here, that’s why I posted the link directly…