Inscrit le: 26 Avr 2018
|Posté le: Mer 6 Juin - 14:01 (2018) Sujet du message: Slick2d not loading graphics when reopening
I am making a project where you launch it in swing and then when your die(in the game) you return to the swing frame. I have all this working but when I re enter the game it doesnt load the graphics it puts white boxes instead. I am using AppGameContianer.exit() to go back to the swing application and just making a new AppGameContainer(agc) when entering the game. The swing application just runs a method which creates a new instance of the agc and then sets the display settings then goes agc.start(). The code for the project is very long so it is probably not good to put it in here.
I didn't find the right solution from the Internet.
IT Security animated Video