Dead simple problem and I know it’s been answered before because I’ve stumbled upon the ‘script’ that deals with it… Damn me to hell for not pressing cmd+D when I saw it.
It’s a question of scoring… I’ve used "Score = display.newText( “Score: " … scoreTotal, 0, 0, native.systemFont, 28 )” - as a simple scoring system (to start with, like everyone does). The problem is the reference point. When I “Score = Score + 500”, my score ‘moves’ as if it’s centrally justified. I’ve tried including setReferencePoint into different parts of the code and it’s pertinent event calls/handlers but I can’t seem to get the Score to stop justifying itself when it’s updated.
If someone knows where ‘that tutorial’ is, that shows you how to avoid this issue, a pointer would be nice.
NOTE FOR THE CORONA TEAM:
Did you know… If you use “display.newEmbossedText” with the above ‘simple scoring system’, that it doesn’t update at all? - Strange but true.
Thanks by the way, to anyone who can help with my issue.
Mark [import]uid: 176868 topic_id: 35585 reply_id: 335585[/import]
