我在使用带有libgdx的textureAtlas时遇到了如下所示的问题。我还没有找到其他人,所以我决定在这里问。
为了证明它不是与纹理相关的问题,这里的spritesheet具有与游戏屏幕相同的背景颜色:
有什么建议吗?对于草率的写作我很担心。
答案 0 :(得分:1)
Turns out the answer has to do with alpha channels and the way they were being processed. I removed transparent pixels from the edges and it works as intended now.