im using the standard score.lua thats been around for a while.
when i goto my next scene im using:
scoreText = score.init({fontSize =20, font= “Helvetica”, x=180, y = 12, maxDigits=6,leadingZeros=true,filename=“scorefile.txt”})
but the score is always zero even though i can see in the scorefile.txt that it is not zero
ive tried score.load, score.get and they all print with my score using the print statement
but the scores are never displayed.
should i not be using :
scoreText = score.init({fontSize =20, font= “Helvetica”, x=180, y = 12, maxDigits=6,leadingZeros=true,filename=“scorefile.txt”})
to do this? this seems to just reset the score to zero although it doesnt make sense to me because there is a number in the scorefile.txt