2016-06-21 3 views

답변

1

예, 가능합니다. 게임이 실행되는 동안
전체 화면 OG 변경 창 크기를 변경하려면 :

 Gdx.graphics.setDisplayMode(int width, int height, boolean fullscreen) 

[편집]
SRY, 내가 이전 버전에서이를 기억해 냈습니다.

지금이다 :

Gdx.graphics.setWindowedMode(int x, int y) 

Gdx.graphics.setFullscreenMode(Gdx.graphics.getDisplayMode()) 
+0

IntelijIdea는 말한다 : 방법을 확인할 수 없습니다. libgdx 버전은 무엇입니까? 나는 최신 있습니다. – Kapparino

+1

Gdx.graphics.setWindowedMode (int x, int y) 및 setFullscreenMode (boolean fullscreen)를 대신 사용해보십시오. – IronMonkey

+0

'Gdx.graphics.setWindowedMode (int x, int y)'이것은 시원하고 효과적입니다. 그러나, setFullScreenMode하려면 true/false와 같이 전체 화면으로 설정하는 대신 부울 값을 취하지 않고 DisplayMode의 인스턴스와 width/height 매개 변수를 사용합니까? 다른 생각? – Kapparino

관련 문제