Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
libGDX 应用程序必须实现 .resize(int width, int height) 方法,所以我认为调整 libGDX 应用程序的大小并不是什么大问题,但我发现无法制作实际的应用程序 JFrame 或任何与 JFrame 一样可拖动的应用程序。可调整大小(真)。这对 libGDX 来说是不可能的吗?
如果您在桌面应用程序中使用 gdx-backend-lwjgl,那么您可以使用:
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); config.resizable = true; new LwjglApplication(new YourGame(), config);
使用来自 SVN 中继的最新源。