Help with kerning (spacing) display text

I'm having trouble getting the text to fit within the area designed for it. I messed with the actors .xml file but had no luck. Does anyone know a way to solve this maybe using code or something? Thanks!

Best Answer

  • RowdyPantsRowdyPants Posts: 465
    Accepted Answer

    @8bitninja

    Using text I would do it this way:

    In the actor showing the score variable create a self.Divisor attribute (integer). Drag out 3 instances of that actor where you want your 3 numbers. Go into each instance change its self.Divisor to '10' for the 10th's place digit, '100' for the 100th's place digit, and so on.

    This VIDEO shows how to do it using images (for a custom font look)

    Hope this helps :)

Answers

Sign In or Register to comment.