更新时间:2023-11-02 10:29: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/Viewports
Libgdx 相机/缩放问题
拍照与Android的问题(垂直相机|人像)
Libgdx相机/缩放问题
旋转相机时的OpenGL照明问题
iPad相机弹出预览错误旋转和缩放
相机位置的数据绑定问题
没有轨迹球控件或其他相机控制库的threeJS中的缩放相机
缩放过渡后,“相机"捕捉回到变焦之前的位置
SurfaceView放大和缩小功能,使用定制的相机
Windows 10中的Android AVD模拟器缩放问题