Custom Font Tutorial. Not Working.

CaptFinnCaptFinn Member Posts: 1,828
edited July 2012 in Working with GS (Mac)
I followed the COOKBOOK Tutorial that TSB made about custom fonts for your score to a T. But when i start the scene. my 0s are all white boxes.

Best Answer

  • JohnPapiomitisJohnPapiomitis Posts: 6,256
    Accepted Answer
    It was the missing bracket that did it. You can type in floor and the other functions, you dont have to select them.

Answers

  • HapiappsHapiapps Member Posts: 373
    Did you put the numbers 0-9 in and are they named 1.png, 2.png… or whoever the name is in the expression.
  • CaptFinnCaptFinn Member Posts: 1,828
    Yep I did the expression wrong. I typed in the word floor instead of clicking it. Plus I forgot a bracket. Everything is working now. But now when I hit a bad guy and -150 to score. 00000 goes to 99850. I think this is because im using a integer and now a real? I know one of them can do negative numbers. But what if in this case I need the numbers to go negative and say -00150. Still using these custom fonts. And using a custom - font

    I knew it wasnt working the first time because of something I did.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    If you knew then why did you say you followed it to a T as you didn't. Lol
  • dominiconlinedominiconline Member Posts: 5
    I followed it to a t, but got nothing as well the numbers show up, i have the div intriguer, and constrain attribute self.image to floor(( game.score % self.div )/( self.div /10)) ..".png" but the numbers don't change, i have a display text version too and that works fine, just no joy for the custom fonts...
Sign In or Register to comment.