fix: increased zoom range
This commit is contained in:
parent
87b2207ae2
commit
89d5c39504
|
@ -185,7 +185,7 @@ public class GameScreen extends BaseScreen implements InputProcessor {
|
||||||
gameCam.zoom -= dt;
|
gameCam.zoom -= dt;
|
||||||
}
|
}
|
||||||
// clamp zoom
|
// clamp zoom
|
||||||
gameCam.zoom = MathUtils.clamp(gameCam.zoom, 1f, 3f);
|
gameCam.zoom = MathUtils.clamp(gameCam.zoom, 1f, 5f);
|
||||||
|
|
||||||
// Pause Menu
|
// Pause Menu
|
||||||
if (Gdx.input.isKeyPressed(Keys.ESCAPE)) {
|
if (Gdx.input.isKeyPressed(Keys.ESCAPE)) {
|
||||||
|
|
Loading…
Reference in a new issue