As this post title suggest, font of the scene become disappear when same scene call more than two time.
Following code I used for creating font.
mNumberFontTexture = new BitmapTextureAtlas(
alienAttack.getTextureManager(), 256, 256);
numberFont = new Font(alienAttack.getFontManager(), mNumberFontTexture,
Typeface.create(Typeface.DEFAULT, Typeface.BOLD), 52, true,
Color.YELLOW);
Based on requirement I load a font texture as per the following way.
public void loadLevelSelectGraphics() {
levelSelectBitmapTextureAtlas.load();
mNumberFontTexture.load();
numberFont.load();
}
public void unloadLevelSelectGraphics() {
levelSelectBitmapTextureAtlas.unload();
numberFont.unload();
}
I am using scene base approach for developing game. Please suggest me in which thing I am doing mistake. Thanks for your effort.
EDIT
Screenshot represent the problem which was occur after multiple load and unload font method.