Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. game.CAMERA_WIDTH = 20f;
  2. game.CAMERA_HEIGHT = game.CAMERA_WIDTH * Gdx.graphics.getHeight() / Gdx.graphics.getWidth();
  3. game.camera.setToOrtho(false, game.CAMERA_WIDTH, game.CAMERA_HEIGHT);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement