只在三星Galaxy盛大的游戏画面中获得白色屏幕。只有在一个手机中才会出现其他问题,遇到问题。任何人都可以帮我解决。 使用的代码:
AnswersDownBtnImage.addListener(new InputListener() {
public boolean touchDown (InputEvent event, float x, float y, int pointer, int button) {
playSound(buttonClickSound);
if (inventorySelectObj1 == KeySofaToCashCounterImage) {
// HintHndlr();
Table1.removeActor(InventorySofaKeyHintImage);
HintPanel.removeActor(Table1);
Table1.addActor(InventoryAnswersSofaKeyImage);
HintPanel.addActor(Table1);
SaveData("KeySofaToCashCounterImage", "used");
} else if (inventorySelectObj1 == WeighingkeyImage) {
Table2.removeActor(InventoryWeighingScaleHintImage);
Table2.addActor(InventoryAnswersWeighingscaleKeyImage);
HintPanel.addActor(Table2);
} else if (inventorySelectObj1 == AxeImage) {
Table3.removeActor(InventoryAxeHintImage);
Table3.addActor(InventoryAnswersAxeImage);
HintPanel.addActor(Table3);
}
}
答案 0 :(得分:0)
我发现一些慢处理移动设备在加载更多图像时遇到问题。所以我使用了一个libgdx纹理打包器(https://code.google.com/p/libgdx-texturepacker-gui/),通过减少图像数量来解决我的问题。