更新时间:2023-11-02 09:49:58
问题是你的资源与视口大小不一样。请参阅下面的链接。 Libgdx使用Viewport类来处理这个。
The problem is your asset is not the same size as the viewport. See the links below. Libgdx uses the Viewport class to handle this.
如何处理libGDX中不同的宽高比?
如何根据libgdx中不同的屏幕分辨率缩放图像
https://github.com/libgdx/libgdx/wiki/视口
Libgdx 相机/缩放问题
拍照与Android的问题(垂直相机|人像)
Libgdx相机/缩放问题
旋转相机时的OpenGL照明问题
iPad相机弹出预览错误旋转和缩放
相机位置的数据绑定问题
没有轨迹球控件或其他相机控制库的threeJS中的缩放相机
缩放过渡后,“相机"捕捉回到变焦之前的位置
SurfaceView放大和缩小功能,使用定制的相机
Windows 10中的Android AVD模拟器缩放问题