This commit is contained in:
Damien 2021-05-29 14:34:51 +02:00
commit af2c046ab9

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)) {