libgdx game doesn't load textures on return to the app from "recent apps menu" -


i noticed bug in libgdx game. every time user presses devices button, app exits, , on return app "recent apps menu", app doens't load textures. textures should be, black squares appear. noticed on launch loading time shorter. have here experienced similar problem

you can load textures in gamescreen. when create new gamescreen, load resources. example:

public gamescreen(yourgameclass game) { this.game=game; resources = resources.getinstance(); resources.loadgame(); 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

android - Keyboard hides my half of edit-text and button below it even in scroll view -