Can't draw a ninepatch image and stage at the same time
问题 Whenever I try to draw a ninepatch image and a stage the last thing that's called is being drawn. I have tried to use a orthographic camera but didn't succeed. What I have tried: batch.setProjectionMatrix(camera.combined); ninePatch.draw(batch, xPos, yPos, width, height); stage.act(delta); stage.draw(); camera = new OrthographicCamera(Gdx.graphics.getWidth(), Gdx.graphics.getHeight()); stage.setCamera(camera) EDIT: The code The CreateQuiz class public class CreateQuiz implements Screen{