Issue with Custom Fonts, Please Help

Hey guys, so here is an issue that i am butting my head on. I have a coin system which i want to use my own font that i created for the numbers. I know how to do the font to custom font, but the only issue is that, i also have a star system which has already taken up the 0 1 2 3 numbers, and inorder for me to use the custom fonts in the order of 0 1 2 3 4 5 6 7 8 9, i cant because the numbers 0 1 2 3 are already taken with the star images. Please is there another way i can use the custom fonts, besides having to label them like 1 2 3 4 5 6 7 8 9 0? Inorder for them to change?

Thanks in advance

Comments

  • BBEnkBBEnk Member Posts: 1,764
    if you have your images named like 0.png, 1.png, etc you can also name them 1A.png, 2A.png, etc or 1B.png and so on, so just in your constraint add "A.png" or "B.png and it will use 1A.png or 1B.png so you can have all the custom number you want.
  • DaGreatnessDaGreatness Member Posts: 82
    edited November 2013
    @BBenk, i added the .."A.png" to the files from 0-9 but for some reason it still is reference the stars that i had setup. I am constraining the way Tshirtbooth did in the video tutorial. but i am not sure why its not reference the "A.png" its keep going back to the 1.png which is the stars, its not hitting 1A.png which are the numbers
  • BBEnkBBEnk Member Posts: 1,764
    edited November 2013
    should look like this.

    floor(( game.Fuel % self.Div )/( self.Div /10)).."A.png"
  • DaGreatnessDaGreatness Member Posts: 82
    @BBenk, yes that is correct i have 0A.png 1A.png 2A.png 3A.png and so forth all the way upto 9. Still its not referencing that, it keeps going back to the stars which is labeled 0.png

    It still is stuck
  • BBEnkBBEnk Member Posts: 1,764
    I edited what I said.
  • DaGreatnessDaGreatness Member Posts: 82
    @BBenk ok the thing that was the issue was, i had { instead of (, it through off the validation. THANKS BBENK!!!! IT works now
  • BBEnkBBEnk Member Posts: 1,764
    Your Welcome.
Sign In or Register to comment.