Hello, I have a scene composed of several Node2Ds. Each of them are parent of several Sprites. The goal of my scene is to add variety by randomly showing a Sprite for each Node2D, and hiding the others.
Here is an example :
I would like to save the result as a texture, to repeat in a Polygon2D from my main scene.
However, I don't want to show the scene, then I cannot use
Do you have any idea on how to save the result as a texture ?
If I can't figure out a way, I will launch the scene and take several screenshots to reuse them afterwhile, but I'd like to do it by code ;)
Thank you :)