I'm trying to load images from my project directory.
I have images in a folder, starting at the project directory:
Project/res/textures
How might I easily access these images so I can say:
"/textures/image.png"
when loading an image?
I'm trying to load images from my project directory.
I have images in a folder, starting at the project directory:
Project/res/textures
How might I easily access these images so I can say:
"/textures/image.png"
when loading an image?
You want textures
to be in the root of your class path. An easy way to do that is to mark Project/res
as a Resources Root.