How to show text on center of screen ?
I was trying something like this:
local centarX = display.contentWidth / 2
local centarY = display.contentHeight / 2
local myText = display.newText( "Hello, World", 0, 0, "Helvetica", 40 )
myText.isVisible = false
myText.x = centarX - (myText.contentWidth / 2)
myText.y = centarY - (myText.contentHeight / 2)
myText.isVisible = true
But with no success [import]uid: 101665 topic_id: 18031 reply_id: 318031[/import]