0

I simply want to calculate a score that increments by one each time.

function calcScore(event:Event):void{ 
    if(MainChar.hitTestObject(thecoin)) { 
        coinScore += 1;
        coinScoreLabel.text = String(coinScore);
    } 
}

I made coinScore global.

Now when I run the game there are no errors and I don't see the label showing anything at all it just stays blank and wont display a number.

Marco Aurélio Deleu
  • 4,279
  • 4
  • 35
  • 63

1 Answers1

0

I thing the problem is font embedding.

Embed the font and will work.

tziuka
  • 545
  • 1
  • 6
  • 23