Merge branch 'master' of https://git.inpt.fr/tobgang/sagittarius
This commit is contained in:
commit
af2c046ab9
|
@ -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