How can i write a vertical text??
can someone help me???
How can i write a vertical text??
can someone help me???
Do you want to rotate the text so that the letters are sideways or do you want something more like:
T
H
I
S
???
For the first, just simply use the .rotation attribute:
local myText = display.newText(“Hello World”, 0, 0, native.systemFontBold, 20)
myText.rotation = 90
myText.x = 100
myText.y = 100
For the latter, you can use multi-line text and the newline character:
local myText = display.newText(“H\ne\nl\nl\no\n \nW\no\nr\nl\nd\n”, 0, 0, 20, 0, native.systemFontBold, 20)
This post might have the answer for second kind
http://forums.coronalabs.com/topic/37855-textfx-coming-soon/#entry197092
thanks
Do you want to rotate the text so that the letters are sideways or do you want something more like:
T
H
I
S
???
For the first, just simply use the .rotation attribute:
local myText = display.newText(“Hello World”, 0, 0, native.systemFontBold, 20)
myText.rotation = 90
myText.x = 100
myText.y = 100
For the latter, you can use multi-line text and the newline character:
local myText = display.newText(“H\ne\nl\nl\no\n \nW\no\nr\nl\nd\n”, 0, 0, 20, 0, native.systemFontBold, 20)
This post might have the answer for second kind
http://forums.coronalabs.com/topic/37855-textfx-coming-soon/#entry197092
thanks