LibGDX - how do I make my menu screen switch to the Game screen?

后端 未结 2 555
没有蜡笔的小新
没有蜡笔的小新 2021-01-27 10:24

When I run the application my menu screen shows, but when I click the screen to begin playing the game the game begins playing but the menu screen is still their overlaying the

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-27 10:31

    In addition to Phonbopit's answer. You should probably @Override the render function at GameScreen.

提交回复
热议问题