在LibGDX中缩放位图字体 [英] Scale a Bitmapfont in LibGDX
本文介绍了在LibGDX中缩放位图字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在LibGDX中缩放Bitmapfont对象?似乎setScale方法不再可用.
How can I scale a Bitmapfont object in LibGDX? It seems the method setScale is no longer available.
推荐答案
不建议缩放Bitmap字体,因为放大时它看起来像是像素化的(我认为这很丑)
It is not recommended to scale Bitmap font, because it looks pixlated when enlarged(which I believe is ugly)
建议使用 freetype generator 调整字体大小
如果仍然要使用bitmapFont Tenfour04是正确的
If you still want use bitmapFont Tenfour04 is correct
这篇关于在LibGDX中缩放位图字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文