Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gdx usage example #5

Open
mbabuskov opened this issue Jan 29, 2014 · 3 comments
Open

Add gdx usage example #5

mbabuskov opened this issue Jan 29, 2014 · 3 comments

Comments

@mbabuskov
Copy link

Could you add an example how to use the generated files within gdx code.

If I pack multiple sizes, how do I select which size to use?

Thanks.

@xeoshow
Copy link

xeoshow commented Jan 30, 2014

Just would like to ask the same... Thanks!

@mrgame64
Copy link

mrgame64 commented Feb 1, 2014

Here's a link to an example: http://sam.mycube.co/2013/03/20/libgdx-and-bitmap-fonts/
To use different sizes, you just have to load in the code th FNT file which includes the desired size in the file name.

@xeoshow
Copy link

xeoshow commented Jul 31, 2014

But gdx-fontpack will pack the different sizes into the same fnt file, how to handle this or is it automatically handled?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants