Hi, I’m trying to write a paragraph on my options page, but it keeps coming out weird. The sentence won’t go across the page I tried align left, center, right, but it’s not working.
I also wrote out the code these 2 ways, no luck.
local textObj = display.newText(“The game is to get the ball from one Bar\n,”…" to the next Bar", 0, 20, native.systemFont, 17)
textObj:setFillColor(0, 0, 0)
textObj.x = display.contentCenterX + 5
textObj.y = display.contentCenterY + 50
local options =
{
text = “The game is to get the ball from one Bar\n,”…" to the next Bar",
x = 150,
y = 225,
width = 800,
font = native.systemFont,
fontSize = 17,
align = “center”,
}
local myText = display.newText( options )
myText:setFillColor( 0, 0, 0 )
What did I do wrong? Thanks