How to draw smooth text in libgdx?

前端 未结 10 1293
暖寄归人
暖寄归人 2020-12-01 00:01

I try to draw simple text in my android game on libgdx, but it\'s look sharp. How to make text look smooth in different resolutions? My Code:



        
10条回答
  •  孤街浪徒
    2020-12-01 00:40

    Bitmap fonts are textures and if you want to make smaller textures look smoother when you are resizing them to bigger sizes you need to make sure you use the right texture filter.

    This blog post deals with such issues

提交回复
热议问题