3
\$\begingroup\$

I've started working on my first game in Unity; It's very simple, there's a spinning block in the middle, and there are spinning blocks coming from all sides. When they hit the middle block, you lose a life. You have 3 lives. I've hit a bit of a brick wall, here, though; I can't seem to find anywhere how to use a sprite atlas as a font, or at least be able to sprite my own font. Does anyone know how to do this?

\$\endgroup\$

1 Answer 1

2
\$\begingroup\$

If you don't need fancy texture in your fonts, Unity supports True Type fonts, so you can render your text easily using the GUI system (for instance, drawing a Label).

In order to use Bitmap fonts you'll have to write the code yourself to translate the characters into sprites, or use one of the libraries available, like NGUI or Daikon Forge.

\$\endgroup\$
1
  • \$\begingroup\$ Thanks, I was going to use a sprited font, just cause it fit better, but I decided it looked fine the way it was anyway. I thought unity had a BMF thing in in, but I guess I was wrong. \$\endgroup\$ Commented Jul 17, 2014 at 16:47

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.