【发布时间】:2019-09-21 16:51:40
【问题描述】:
所以我正在更新我的旧 android 游戏,但我遇到了一些字体问题。我不得不放大我的位图字体,现在它变得模糊了。因此,我想知道我在哪里可以获得更高分辨率的位图字体以及我必须将它放在哪个文件夹中?有人可以帮助我吗?
yourBitmapFontName = new BitmapFont();
batch.begin();
yourBitmapFontName.getRegion().getTexture().setFilter(Texture.TextureFilter.Linear, Texture.TextureFilter.Linear);
yourBitmapFontName.getData().setScale(7f);
yourBitmapFontName.setColor(com.badlogic.gdx.graphics.Color.WHITE);
yourBitmapFontName.draw(batch, Score, Gdx.graphics.getWidth()/2-6,130);
batch.end();
【问题讨论】:
标签: java android libgdx bitmap-fonts