Advertisement
Guest User

Untitled

a guest
Jun 30th, 2017
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1.  
  2. batch.begin();
  3. viewportBg.apply(true);
  4. batch.setProjectionMatrix(camera.combined);
  5. batch.draw(bgt, 0, 0, 0, 0, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
  6. batch.end();
  7.  
  8. batch.begin();
  9. viewport.apply(true);
  10. batch.setProjectionMatrix(camera.combined);
  11. board.draw(batch);
  12. batch.end();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement