Thanks for the reply!
However, when ever I run it, it returns an error “cannot load texture”.
from scene import * Path = '/private/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/PythonistaProjects/OnScreenControls/transparentDark01.png' class test(Scene): def setup(self): self.testIMG = SpriteNode(Path, parent = self, position = (500, 500)) run(test())
I’m not sure if it is something in the code that is wrong, or what.
My images are located in a file called “PythonistaProjects”, and in that file I have another file, called “OnScreenControls”, which contains my pictures. The “transparentDark01’ is the name of the photo that I want to add, and the png is added because the image is a png file. It doesn’t seem to matter if “png” is capitalized or not. The file is located in my iCloud Drive.
I’m looking to make a game in Pythonista using tons of assets, which I downloaded to the files app on IOS. I’m wondering if I can add a custom photo library, so that whenever I click the “plus” button, I’ll be able to access those photos without having to put them in the current file I’m in.
That is, is it possible to create some similar to “Platformer Art” or “Puzzle Game Art”, and use my own pictures?