Need help with rolling score

aquamonkeyaquamonkey Member, PRO Posts: 36

I'm trying to create a rolling scoreboard with a custom font (attached), using interpolate, but it's not working precisely for me. In the attached file, I have buttons that should add to the score by 5, 10, 100, but the result is 1 off, e.g. add 10, result is 09, add 100, result is 99 and so on. Each time a button is pressed, I have it adding to a 'Score' attribute. There is a timer set to check every 0.1 seconds to interpolate the 'Scoreboard' attribute, used in the custom score actors, to 'Score'. Can anyone tell me what I'm missing, so the score is precise?

Comments

  • aquamonkeyaquamonkey Member, PRO Posts: 36
    edited May 2014

    It was a minor tweak in the logic. If anyone is interested in an accurate rolling score with a custom font, feel free to use the attached, but please DO NOT reuse the custom font for commercial use, because it requires permission, which I acquired, from the font designer.

Sign In or Register to comment.