Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

get width and height of screen libgdx

// Width and Height of Client's screen
int width = Gdx.graphics.getWidth();
int height = Gdx.graphics.getHeight();
 
PREVIOUS NEXT
Tagged: #width #height #screen #libgdx
ADD COMMENT
Topic
Name
8+3 =