title: Organizing Resources for a Java Game
body: <p>I'm currently writing a Java game for PC, and I have a question about where the resources (images, sounds, data, ect.) should be located. For most PC games, the game's main directory looks something like this:</p>
  
  <pre><code>GameName
   ├─ Resource Directory
   │   └── ...
   ├─ More Resources
   │   └── ...
   .
   .
   └── GameName.exe
  </code></pre>
  
  <p>The resources are organized into different directories, with the game's main <code>.exe</code> file, and possibly a few other files, in the game's main directory. However, in my Intellij project, I have put all my resources in the project's <code>resources</code> directory. It's my understanding that, when I build my game into a <code>.jar</code> file, all of the resources in the <code>resources</code> directory will be packed into the <code>.jar</code> file as well. </p>
  
  <p>So, is there any reason why I would want to separate all my resources into different subdirectories within the game's main directory, rather than simply keeping them all contained within the game's <code>.jar</code> file? If so, how do I keep Intellij from packing all the resources into the <code>.jar</code>?</p>