Hello, I am relatively new to Slick and have been working with it to see if I can start a basic game using it, but I have already gotten myself stuck. When working on making some classes for my game, I started working on a basic Actor class that could be inserted into the game world and move around and such. This class has an image associated with it, and the engine loops through all game Actors and has each one draw it's object onto the screen. Whenever I directly create Images in my Basic Game class, calling the draw(x,y) method for them successfully draws them onto the canvas. Unfortunately whenever I have the Actors draw their images, nothing appears.
I do know that the methods are being called properly, so it isn't a case of other code preventing the draw() method from running. I do not, however, know what Slick means when it outputs this to the console:
Code:
Sun Mar 18 17:08:59 PDT 2012 INFO:Offscreen Buffers FBO=true PBUFFER=true PBUFFERRT=false
Sun Mar 18 17:08:59 PDT 2012 DEBUG:Creating FBO 297x171
I imagine it has to do with image initialization, but despite my searching I haven't managed to figure out if it is the result of an error or incompatibility of some sort. This text is *not* output whenever I initialize my Images using the regular Image(name) constructor inside of my Basic Game class, but the text *does* appear whenever my image is initialized in my Actor constructor. Are there certain conditions for initialization that I am not meeting?
Any help is appreciated
