I have a high score text at the bottom of my screen and I am having a problem.
I have “High Score” and next to it I have t the number. T seems to move around by itself. I have tried with and without the x & y Scale. I have tried everything I can think of.
[lua]local scoretext = display.newText(“High Score:”,(_W/6),(_H*.94),“Helvetica”,20*2)
–scoretext.x = (_W*.35); scoretext.y = (_H*.97);
scoretext.xScale=0.5;scoretext.yScale=0.5;
scoretext:setReferencePoint(display.CenterReferencePoint)
scoretext:setTextColor(255,255,255,255);
menu:insert(scoretext);
local t = display.newText( ‘’,(scoretext.x+75),(_H*.94),“Helvetica”,20*2);
t:setReferencePoint(display.CenterReferencePoint)
–t.x = _W *.50; t.y = _H*.97;
t.xScale=0.5;t.yScale=0.5;
t:setTextColor(255,255,255,255);
menu:insert(t)
t.text=score – update t to the score
[import]uid: 17539 topic_id: 16254 reply_id: 316254[/import]