Problem when scaling game screen in Libgdx
- by Nicolas Martel
Currently, I'm able to scale the screen by applying this bit of code onto an OrthographicCamera
Camera.setToOrtho(true, Gdx.graphics.getWidth() / 2, Gdx.graphics.getHeight() / 2);
But something quite strange is happening with this solution, take a look at this picture of my game below
Seems fine right? But upon further investigation, many…