Can I convert some sprites to fonts?

I’d like to use this image to create a score text:
numbers2
Can I convert them to a sprite font or is there other technique to use them easily?

If needed, I can divide them as individual images too. No problem.

  • Either split it into several images (as you mentioned)
  • Or use it in a .tilesource, define some animations, and then use the tilesource + correct animation on the sprite

Creating a bitmap font is ofc also possible, but not as easy

2 Likes

You mean some 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 animation for each digit?

yes

1 Like

I found this online tool to draw myself fonts (since those I wanted to use were easy to reproduce). It converts pixel fonts to ttf format.
I don’t really know if there is a more efficient way though.

If I understand you right, you need Bitmap fonts:

UPD: usually I use this tool for creation of bitmap fonts (needs a Flash Player): http://kvazars.com/littera/

1 Like

Or if it’s just the “look” of a pixel font, there are plenty out there in .ttf format.
Using ttf allows you to use distance field fonts, which are great if you need to scale the font in varying sizes.

Here’s one demo (source) using the Press Start font by Cody Boisclair (at http://www.dafont.com)

Ofc there are plenty online: here’s one guy promoting his work by giving away some free pixel art fonts:

2 Likes