jjzjj

SetTexture

全部标签

android - SetTexture 和 Sprites 没有按预期工作! (LibGDX)

我在互联网上搜索和广泛搜索,但我还没有找到答案。我有一个名为GameIcon的对象,它扩展了Sprite。关于它的一切都很好,除了质地。这是我的GameIcon类代码。packagecom.xx4everPixelatedxx.gaterunner.sprites;importcom.badlogic.gdx.Gdx;importcom.badlogic.gdx.graphics.Texture;importcom.badlogic.gdx.graphics.g2d.Sprite;importcom.badlogic.gdx.graphics.g2d.SpriteBatch;impor