odd problem with custom font for game score..

slevslev Member Posts: 99
edited March 2012 in Working with GS (Mac)
ive been having trouble with using a custom font for the game score for a while now.

The problem im having is the custom font score wont update during the scene, if i have a test actor on screen with

display text: game.score

that will update but the custom font score wont... whats even odder is that if i change the attribute game.score in the attributes panel to say 100, the custom font score will be 100 BUT during game play it wont update it just stays at 100, while the test actor i have displaying the score will change..

any ideas what might be going on here ? it seems really odd its as if the scores wont refresh / date mid scene ?

any helps much appreciated, cheers

Comments

  • butterbeanbutterbean Member Posts: 4,315
    edited March 2012
    You have to use the constrain attribute behavior for the custom fonts if you want it to continue to update...

    So constrain attribute: self.image to: (put your rules in here for custom fonts)

    Hope this helps!
  • butterbeanbutterbean Member Posts: 4,315
    Good point! Was going to say, too many constraints wouldn't be good for performance.

    Thanks! :)
Sign In or Register to comment.