Java LibGDX BitmapFont setScale method not working

醉酒当歌 提交于 2019-12-03 04:22:59

This method doesn't exist anymore in the BitmapFont class.

An API change for the Bitmap* classes has been introduced with LibGDX 1.5.6 (released in April 2015) as explained in this libgdx team blog post. The tutorial you followed is probably now outdated.

Long story short, with the latest libgdx version, you should be able to do :

font.getData().setScale(.25f,.25f);
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!