Andengine奇怪的纹理问题
我正在尝试使用 Andengine 开发游戏。自从我上次使用 andengine 以来已经有一段时间了,所以我下载了最新的 andengine.jar。 Texture 类更改为 BitmapTextureAtlas 所以我用BitmapTextureAtlas代替纹理。除了纹理的质量发生了变化之外,一切都很好。虽然使用纹理很好,但使用 BitmapTextureAtlas 时,它有一些奇怪的像素状边框,每次开始时都会出现不同的情况。有时或多或少
这是纹理外观图像的链接:
我尝试了不同的方法但它不去。当我使用 Texture 时没有出现这个问题 我希望任何人都知道如何解决这个问题。
I'm trying to develop a game using Andengine. It's been a while since I last worked with andengine, so I downloaded the latest andengine.jar.
The Texture class changed to BitmapTextureAtlas
So I used BitmapTextureAtlas instead of texture. Everything was fine except the quality of textures are changed. While using Texture its fine but using BitmapTextureAtlas, its has some weird pixel like border which appears different on every start. Sometimes more or less
Heres the link to the image of how the texture looks:
I've tried different things but it doesnt go. This problem wasn't seen when i was using Texture
I hope anybody has an idea how this can be solved.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为当前的 AndEngine 版本在互联网上没有
.jar
文件。它可能是旧版本。尝试自己克隆 AndEngine,这样您将拥有最新版本。
I don't think that the current AndEngine version has a
.jar
file in the internet. It might be an older version.Try cloning AndEngine on your own, so you will have the most updated version.