Closed ssalvate closed 3 years ago
Check this This may work:
image.save_png("user://path/filename")
So on first start of the game I create a directory, no error, load an image, save_png("user://newDir/ImageName.png)" no error But when I try to then grab it I am running into trouble, $TextureRect.texture = load(path to img) does not work, neither does $TextureRect.texture = path. I think load should work, but do you see something I am missing?
Nevermind, got it, had to turn it into a texture from image, thanks
Was wondering if you have learned how to store this image, i.e save it into the game so that image can be loaded when the game is closed and started again? Another idea is if you can gain access to the path var, store the path when saving, and use this to load the images again at runtime?