Hi,
Is there a way I can align text to be in the middle of a circle automatically. the text will contain number and the number can be 1 figure, 2 figures or 3 figures.
[lua]
local circle1 = display.newCircle( 100, 100, 60 )
local circle2 = display.newCircle( 300, 100, 60 )
circle1.alpha = 0.5
circle2.alpha = 0.5
local num1 = display.newText( “1”, 130, 130, native.systemFont, 40 )
local num1 = display.newText( “12”, 330, 130, native.systemFont, 40 )
[/lua]