您好,我想为我的游戏禁用或启用垂直同步,我找到了这个链接 https://github.com/libgdx/libgdx/wiki/Fullscreen-&-vsync
因此我能够更改我的应用程序桌面版的设置。我的问题是,当我在 Android 上运行它时,这是否也会改变一些事情?据我所知,它似乎不起作用,在 androidlauncher 而不是配置的 LwjglApplicationConfiguration 中,它具有 AndroidApplicationConfiguration。
那么有没有办法为 android 做这个?
最佳答案
无法在 libgdx 中的移动设备上禁用 Vsync。我认为 Android 设置为自动执行 GLSurfaceViews 的后台缓冲区管理,因此只能在设备或 ROM 级别进行管理。
关于android - Libgdx 为 Android 而不是桌面禁用 Vsync,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32357962/