fix: increased zoom range

This commit is contained in:
Laureηt 2021-05-29 13:28:59 +02:00
parent 87b2207ae2
commit 89d5c39504

View file

@ -185,7 +185,7 @@ public class GameScreen extends BaseScreen implements InputProcessor {
gameCam.zoom -= dt;
}
// clamp zoom
gameCam.zoom = MathUtils.clamp(gameCam.zoom, 1f, 3f);
gameCam.zoom = MathUtils.clamp(gameCam.zoom, 1f, 5f);
// Pause Menu
if (Gdx.input.isKeyPressed(Keys.ESCAPE)) {