In my previous topic, you all got to watch in suspense as I learned about build paths and how to load buffered images. Everything went well, and it did. That was a test project where the res folder consisted of one .png and there was only one source folder.
Well now I’m trying to get the image processor into the actual game, and things aren’t quite working out.
Currently I have two source folders (and I am positive that number will increase) but that hasn’t been a problem yet. My res folder has several sub folders in which I organize a bunch of different resources, but that hasn’t been a problem either (just thought I’d tell you if it was important)
One of the folders in my res folder is “levels” and in that folder I keep my .pngs of my level layouts. So I implemented my image reading class and everything should work. I put my res folder in my build path and fire up the game in eclipse. But then eclipse said that there’s an error and asks if I should “run it anyway”. Well, I run it anyway and it says that it can no longer find my main method “GameRunner”
What? Why not? This wasn’t a problem before. I take the res folder out of the build path and edit the source code so it never runs the ImageProcessor class, and it runs just as it did before I implemented that class with no problem.
What did I do wrong now?
Thanks