0

I'm trying to access some assets (pictures and sounds, .png and .wav) in my jar. They are located in separate folders (Textures and Sounds). What is the path to them, or how could I access them?

Moshu
  • 11
  • 1
  • Sub folders are relative, so add a slash `/` when getting the path, for example `URL resource = getClass().getClassLoader().getResource("Textures/yourImage.png");` – sorifiend Jan 20 '22 at 22:56

0 Answers0