gpt4 book ai didi

libgdx - 桌面上的 TextureAtlas 问题,从 Eclipse 导出

转载 作者:行者123 更新时间:2023-12-01 15:26:40 24 4
gpt4 key购买 nike

从 Eclipse 运行我的应用程序时没有问题,但在桌面上导出和运行时,我的 TextureAtlas 中的所有图像都会出现故障,显示为黑色/灰色框,以及一些奇怪的东西,如 白色渐变框灯光覆盖

下面是我的意思的一些截图:

enter image description here

enter image description here

无论我想在什么地方有图像,我看到的都是一些东西。

我检查了我的 .jar 存档,看看 TextureAtlas 资源是否进入了正确的目录,这不是问题所在。

应用配置

cfg.useGL20 = true;

有人知道发生了什么事吗?

最佳答案

此问题是由于用于创建 alta 的 TexturePacker2 版本与用于加载图集的版本不匹配引起的。

关于libgdx - 桌面上的 TextureAtlas 问题,从 Eclipse 导出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20040065/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com