Example showing how to show text from sprite sheet?

Example showing how to show text from sprite sheet?
0.0 0

#1

The sprite sheet has all the letters from the alphabet plus punctuations.

Is there an example showing how I can use this sprite sheet for doing a dialog ?

I want to do a role playing game and have conversations between characters using a dialog system.


#2

OK I have figured out how to make a .fnt file from a png file. This is a first step.
I put the font in a label but I have this problem.56%20AM

The text is not at the centre of the label, horizontal and vertical alignment is both at centre. Why is the text not positioned correctly?


#3

What is your anchor point?


#4

58%20PM


#5

I’m still working on this. Any other suggestions?


#6

@jare do you have any idea?


#7

Found the solution.
In the .fnt file.
I changed the line height to a lower number seem to have worked.