I've spent a few days now trying to get a very bare minimum framework for the game started. As is my manner I coded a fair amount of the setup stage of the game before I attempted to run it. Of course it crashed as I mentioned in my last post. To debug that crash I gradually commented out more and more code until all I had left in the project was the engine setup code and an instruction to put a single sprite on the screen. It still didn't work.
There was a lot of head scratching, researching of the Eclipse debugging tools and general background reading in search of a solution. No matter what I did, nothing showed up on the screen when the game was executed.
I finally found the problem. In my code I referred to a subdirectory called "textures" and on disk that folder was named "Textures". The hardest to find problems are often the simplest ones. On a positive note I'm now a lot more comfortable with debugging using Eclipse.
There was a lot of head scratching, researching of the Eclipse debugging tools and general background reading in search of a solution. No matter what I did, nothing showed up on the screen when the game was executed.
I finally found the problem. In my code I referred to a subdirectory called "textures" and on disk that folder was named "Textures". The hardest to find problems are often the simplest ones. On a positive note I'm now a lot more comfortable with debugging using Eclipse.